Top | Description | Object Hierarchy | Properties |
ClutterColorizeEffect; ClutterEffect * clutter_colorize_effect_new (const ClutterColor *tint
); void clutter_colorize_effect_set_tint (ClutterColorizeEffect *effect
,const ClutterColor *tint
); void clutter_colorize_effect_get_tint (ClutterColorizeEffect *effect
,ClutterColor *tint
);
GObject +----GInitiallyUnowned +----ClutterActorMeta +----ClutterEffect +----ClutterOffscreenEffect +----ClutterColorizeEffect
ClutterColorizeEffect is a sub-class of ClutterEffect that colorizes an actor with the given tint.
ClutterColorizeEffect is available since Clutter 1.4
typedef struct _ClutterColorizeEffect ClutterColorizeEffect;
ClutterColorizeEffect is an opaque structure whose members cannot be directly accessed
Since 1.4
ClutterEffect * clutter_colorize_effect_new (const ClutterColor *tint
);
Creates a new ClutterColorizeEffect to be used with
clutter_actor_add_effect()
|
the color to be used |
Returns : |
the newly created ClutterColorizeEffect or NULL
|
Since 1.4
void clutter_colorize_effect_set_tint (ClutterColorizeEffect *effect
,const ClutterColor *tint
);
Sets the tint to be used when colorizing
|
a ClutterColorizeEffect |
|
the color to be used |
Since 1.4
void clutter_colorize_effect_get_tint (ClutterColorizeEffect *effect
,ClutterColor *tint
);
Retrieves the tint used by effect
|
a ClutterColorizeEffect |
|
return location for the color used. [out caller-allocates] |
Since 1.4