| Top |
| GESTextOverlayClip * | ges_text_overlay_clip_new () |
| void | ges_text_overlay_clip_set_text () |
| void | ges_text_overlay_clip_set_font_desc () |
| void | ges_text_overlay_clip_set_valign () |
| void | ges_text_overlay_clip_set_halign () |
| void | ges_text_overlay_clip_set_color () |
| void | ges_text_overlay_clip_set_xpos () |
| void | ges_text_overlay_clip_set_ypos () |
| const gchar * | ges_text_overlay_clip_get_text () |
| const gchar * | ges_text_overlay_clip_get_font_desc () |
| GESTextVAlign | ges_text_overlay_clip_get_valignment () |
| GESTextHAlign | ges_text_overlay_clip_get_halignment () |
| const guint32 | ges_text_overlay_clip_get_color () |
| const gdouble | ges_text_overlay_clip_get_xpos () |
| const gdouble | ges_text_overlay_clip_get_ypos () |
| guint | color | Read / Write / Construct |
| gchar * | font-desc | Read / Write / Construct |
| GESTextHAlign | halignment | Read / Write / Construct |
| gchar * | text | Read / Write / Construct |
| GESTextVAlign | valignment | Read / Write / Construct |
| gdouble | xpos | Read / Write / Construct |
| gdouble | ypos | Read / Write / Construct |
GObject
╰── GInitiallyUnowned
╰── GESTimelineElement
╰── GESContainer
╰── GESClip
╰── GESOperationClip
╰── GESOverlayClip
╰── GESTextOverlayClip
GESTextOverlayClip *
ges_text_overlay_clip_new (void);
Creates a new GESTextOverlayClip
The newly created
GESTextOverlayClip, or NULL if there was an error.
[transfer floating][nullable]
void ges_text_overlay_clip_set_text (GESTextOverlayClip *self,const gchar *text);
Sets the text this clip will render.
self |
the GESTextOverlayClip* to set text on |
|
text |
the text to render. an internal copy of this text will be made. |
void ges_text_overlay_clip_set_font_desc (GESTextOverlayClip *self,const gchar *font_desc);
Sets the pango font description of the text
void ges_text_overlay_clip_set_valign (GESTextOverlayClip *self,GESTextVAlign valign);
Sets the vertical aligment of the text.
void ges_text_overlay_clip_set_halign (GESTextOverlayClip *self,GESTextHAlign halign);
Sets the horizontal aligment of the text.
void ges_text_overlay_clip_set_color (GESTextOverlayClip *self,guint32 color);
Sets the color of the text.
void ges_text_overlay_clip_set_xpos (GESTextOverlayClip *self,gdouble position);
Sets the horizontal position of the text.
self |
the GESTextOverlayClip* to set |
|
position |
The horizontal position |
void ges_text_overlay_clip_set_ypos (GESTextOverlayClip *self,gdouble position);
Sets the vertical position of the text.
const gchar *
ges_text_overlay_clip_get_text (GESTextOverlayClip *self);
Get the text currently set on self
.
const gchar *
ges_text_overlay_clip_get_font_desc (GESTextOverlayClip *self);
Get the pango font description used by self
.
GESTextVAlign
ges_text_overlay_clip_get_valignment (GESTextOverlayClip *self);
Get the vertical aligment used by self
.
GESTextHAlign
ges_text_overlay_clip_get_halignment (GESTextOverlayClip *self);
Get the horizontal aligment used by self
.
const guint32
ges_text_overlay_clip_get_color (GESTextOverlayClip *self);
Get the color used by source
.
const gdouble
ges_text_overlay_clip_get_xpos (GESTextOverlayClip *self);
Get the horizontal position used by source
.
const gdouble
ges_text_overlay_clip_get_ypos (GESTextOverlayClip *self);
Get the vertical position used by source
.
“color” property “color” guint
The color of the text
Flags: Read / Write / Construct
Default value: 4294967295
“font-desc” property “font-desc” gchar *
Pango font description string
Flags: Read / Write / Construct
Default value: "Serif 36"
“halignment” property“halignment” GESTextHAlign
Horizontal alignment of the text
Flags: Read / Write / Construct
Default value: GES_TEXT_HALIGN_CENTER
“text” property “text” gchar *
The text to diplay
Flags: Read / Write / Construct
Default value: ""
“valignment” property“valignment” GESTextVAlign
Vertical alignent of the text
Flags: Read / Write / Construct
Default value: GES_TEXT_VALIGN_BASELINE
“xpos” property “xpos” gdouble
The horizontal position of the text
Flags: Read / Write / Construct
Allowed values: [0,1]
Default value: 0.5