GraphicsLayerActor.h [plain text]
#ifndef GraphicsLayerActor_h
#define GraphicsLayerActor_h
#if USE(ACCELERATED_COMPOSITING)
#include "GraphicsLayerClutter.h"
#include <clutter/clutter.h>
#include <cogl/cogl.h>
#include <glib-object.h>
G_BEGIN_DECLS
#define GRAPHICS_LAYER_TYPE_ACTOR graphics_layer_actor_get_type()
#define GRAPHICS_LAYER_ACTOR(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj), \
GRAPHICS_LAYER_TYPE_ACTOR, GraphicsLayerActor))
#define GRAPHICS_LAYER_ACTOR_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass), \
GRAPHICS_LAYER_TYPE_ACTOR, GraphicsLayerActorClass))
#define GRAPHICS_LAYER_IS_ACTOR(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj), \
GRAPHICS_LAYER_TYPE_ACTOR))
#define GRAPHICS_LAYER_IS_ACTOR_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass), \
GRAPHICS_LAYER_TYPE_ACTOR))
#define GRAPHICS_LAYER_ACTOR_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS((obj), \
GRAPHICS_LAYER_TYPE_ACTOR, GraphicsLayerActorClass))
typedef struct _GraphicsLayerActor GraphicsLayerActor;
typedef struct _GraphicsLayerActorClass GraphicsLayerActorClass;
typedef struct _GraphicsLayerActorPrivate GraphicsLayerActorPrivate;
struct _GraphicsLayerActor {
ClutterRectangle parent;
GraphicsLayerActorPrivate *priv;
};
struct _GraphicsLayerActorClass {
ClutterRectangleClass parent_class;
};
GType graphics_layer_actor_get_type(void) G_GNUC_CONST;
GraphicsLayerActor* graphicsLayerActorNewWithClient(WebCore::GraphicsLayerClutter::LayerType, WebCore::PlatformClutterLayerClient*);
WebCore::GraphicsLayerClutter::LayerType graphicsLayerActorGetLayerType(GraphicsLayerActor*);
void graphicsLayerActorSetLayerType(GraphicsLayerActor*, WebCore::GraphicsLayerClutter::LayerType);
WebCore::PlatformClutterLayerClient* graphicsLayerActorGetClient(GraphicsLayerActor*);
void graphicsLayerActorSetClient(GraphicsLayerActor*, WebCore::PlatformClutterLayerClient*);
void graphicsLayerActorInvalidateRectangle(GraphicsLayerActor*, const WebCore::FloatRect&);
void graphicsLayerActorSetScrollPosition(GraphicsLayerActor*, float, float);
void graphicsLayerActorSetTranslateX(GraphicsLayerActor*, float);
float graphicsLayerActorGetTranslateX(GraphicsLayerActor*);
void graphicsLayerActorSetTranslateY(GraphicsLayerActor*, float);
float graphicsLayerActorGetTranslateY(GraphicsLayerActor*);
void graphicsLayerActorRemoveFromSuperLayer(GraphicsLayerActor*);
void graphicsLayerActorSetAnchorPoint(GraphicsLayerActor*, float, float, float);
void graphicsLayerActorSetDrawsContent(GraphicsLayerActor*, bool drawsContent);
void graphicsLayerActorSetFlatten(GraphicsLayerActor*, bool flatten);
void graphicsLayerActorSetMasksToBounds(GraphicsLayerActor*, bool masksToBounds);
void graphicsLayerActorSetSublayers(GraphicsLayerActor*, WebCore::GraphicsLayerActorList&);
void graphicsLayerActorSetSurface(GraphicsLayerActor*, cairo_surface_t*);
WebCore::PlatformClutterAnimation* graphicsLayerActorGetAnimationForKey(GraphicsLayerActor*, const String);
G_END_DECLS
#endif // USE(ACCELERATED_COMPOSITING)
#endif