Class

ClutterPageTurnEffect

Description [src]

final class Clutter.PageTurnEffect : Clutter.DeformEffect {
  /* No available fields */
}

ClutterPageTurnEffect is an opaque structure whose members can only be accessed using the provided API.

Available since:1.4

Constructors

clutter_page_turn_effect_new

Creates a new ClutterPageTurnEffect instance with the given parameters.

Available since: 1.4

Instance methods

clutter_page_turn_effect_get_angle

Retrieves the value set using clutter_page_turn_effect_get_angle()

Available since: 1.4

clutter_page_turn_effect_get_period

Retrieves the value set using clutter_page_turn_effect_get_period()

Available since: 1.4

clutter_page_turn_effect_get_radius

Retrieves the value set using clutter_page_turn_effect_set_radius()

Available since: 1.4

clutter_page_turn_effect_set_angle

Sets the angle of the page curling, in degrees.

Available since: 1.4

clutter_page_turn_effect_set_period

Sets the period of the page curling, between 0.0 (no curling) and 1.0 (fully curled)

Available since: 1.4

clutter_page_turn_effect_set_radius

Sets the radius of the page curling.

Available since: 1.4

Methods inherited from ClutterDeformEffect (5)
clutter_deform_effect_get_back_material

Retrieves the handle to the back face material used by effect.

Available since: 1.4

clutter_deform_effect_get_n_tiles

Retrieves the number of horizontal and vertical tiles used to sub-divide the actor’s geometry during the effect.

Available since: 1.4

clutter_deform_effect_invalidate

Invalidates the effect‘s vertices and, if it is associated to an actor, it will queue a redraw.

Available since: 1.4

clutter_deform_effect_set_back_material

Sets the material that should be used when drawing the back face of the actor during a deformation.

Available since: 1.4

clutter_deform_effect_set_n_tiles

Sets the number of horizontal and vertical tiles to be used when applying the effect.

Available since: 1.4

Methods inherited from ClutterOffscreenEffect (5)
clutter_offscreen_effect_create_texture

Calls the create_texture() virtual function of the effect.

Available since: 1.4

clutter_offscreen_effect_get_pipeline

Retrieves the pipeline used as a render target for the offscreen buffer created by effect.

Available since: 1.4

clutter_offscreen_effect_get_target_size

Retrieves the size of the offscreen buffer used by effect to paint the actor to which it has been applied.

Available since: 1.8

clutter_offscreen_effect_get_texture

Retrieves the texture used as a render target for the offscreen buffer created by effect.

Available since: 1.10

clutter_offscreen_effect_paint_target

Calls the paint_target() virtual function of the effect.

Available since: 1.4

Methods inherited from ClutterEffect (1)
clutter_effect_queue_repaint

Queues a repaint of the effect. The effect can detect when the ‘paint’ method is called as a result of this function because it will not have the CLUTTER_EFFECT_PAINT_ACTOR_DIRTY flag set. In that case the effect is free to assume that the actor has not changed its appearance since the last time it was painted so it doesn’t need to call clutter_actor_continue_paint() if it can draw a cached image. This is mostly intended for effects that are using a %CoglOffscreen to redirect the actor (such as %ClutterOffscreenEffect). In that case the effect can save a bit of rendering time by painting the cached texture without causing the entire actor to be painted.

Available since: 1.8

Methods inherited from ClutterActorMeta (5)
clutter_actor_meta_get_actor

Retrieves a pointer to the ClutterActor that owns meta.

Available since: 1.4

clutter_actor_meta_get_enabled

Retrieves whether meta is enabled.

Available since: 1.4

clutter_actor_meta_get_name

Retrieves the name set using clutter_actor_meta_set_name()

Available since: 1.4

clutter_actor_meta_set_enabled

Sets whether meta should be enabled or not.

Available since: 1.4

clutter_actor_meta_set_name

Sets the name of meta.

Available since: 1.4

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Clutter.PageTurnEffect:angle

The angle of the page rotation, in degrees, between 0.0 and 360.0

Available since: 1.4

Clutter.PageTurnEffect:period

The period of the page turn, between 0.0 (no curling) and 1.0 (fully curled)

Available since: 1.4

Clutter.PageTurnEffect:radius

The radius of the page curl, in pixels.

Available since: 1.4

Properties inherited from ClutterDeformEffect (3)
Clutter.DeformEffect:back-material

A material to be used when painting the back of the actor to which this effect has been applied.

Available since: 1.4

Clutter.DeformEffect:x-tiles

The number of horizontal tiles. The bigger the number, the smaller the tiles.

Available since: 1.4

Clutter.DeformEffect:y-tiles

The number of vertical tiles. The bigger the number, the smaller the tiles.

Available since: 1.4

Properties inherited from ClutterActorMeta (3)
Clutter.ActorMeta:actor

The ClutterActor attached to the ClutterActorMeta instance.

Available since: 1.4

Clutter.ActorMeta:enabled

Whether or not the ClutterActorMeta is enabled.

Available since: 1.4

Clutter.ActorMeta:name

The unique name to access the ClutterActorMeta.

Available since: 1.4

Signals

Signals inherited from GObject (1)
GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct ClutterPageTurnEffectClass {
  /* no available fields */
}