Top | ![]() |
![]() |
![]() |
![]() |
ClutterEffect * | clutter_page_turn_effect_new () |
void | clutter_page_turn_effect_set_period () |
gdouble | clutter_page_turn_effect_get_period () |
void | clutter_page_turn_effect_set_angle () |
gdouble | clutter_page_turn_effect_get_angle () |
void | clutter_page_turn_effect_set_radius () |
gfloat | clutter_page_turn_effect_get_radius () |
ClutterEffect * clutter_page_turn_effect_new (gdouble period
,gdouble angle
,gfloat radius
);
Creates a new ClutterPageTurnEffect instance with the given parameters
period |
the period of the page curl, between 0.0 and 1.0 |
|
angle |
the angle of the page curl, between 0.0 and 360.0 |
|
radius |
the radius of the page curl, in pixels |
Since: 1.4
void clutter_page_turn_effect_set_period (ClutterPageTurnEffect *effect
,gdouble period
);
Sets the period of the page curling, between 0.0 (no curling) and 1.0 (fully curled)
Since: 1.4
gdouble
clutter_page_turn_effect_get_period (ClutterPageTurnEffect *effect
);
Retrieves the value set using clutter_page_turn_effect_get_period()
Since: 1.4
void clutter_page_turn_effect_set_angle (ClutterPageTurnEffect *effect
,gdouble angle
);
Sets the angle of the page curling, in degrees
Since: 1.4
gdouble
clutter_page_turn_effect_get_angle (ClutterPageTurnEffect *effect
);
Retrieves the value set using clutter_page_turn_effect_get_angle()
Since: 1.4
void clutter_page_turn_effect_set_radius (ClutterPageTurnEffect *effect
,gfloat radius
);
Sets the radius of the page curling
Since: 1.4
gfloat
clutter_page_turn_effect_get_radius (ClutterPageTurnEffect *effect
);
Retrieves the value set using clutter_page_turn_effect_set_radius()
Since: 1.4
typedef struct _ClutterPageTurnEffect ClutterPageTurnEffect;
ClutterPageTurnEffect is an opaque structure whose members can only be accessed using the provided API
Since: 1.4