![]() |
![]() |
![]() |
GStreamer Editing Services 1.2.1 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
#include <ges/ges.h> GESTextOverlay; GESTextOverlay * ges_text_overlay_new (void
); void ges_text_overlay_set_text (GESTextOverlay *self
,const gchar *text
); void ges_text_overlay_set_font_desc (GESTextOverlay *self
,const gchar *font_desc
); void ges_text_overlay_set_halignment (GESTextOverlay *self
,GESTextHAlign halign
); void ges_text_overlay_set_valignment (GESTextOverlay *self
,GESTextVAlign valign
); void ges_text_overlay_set_color (GESTextOverlay *self
,guint32 color
); void ges_text_overlay_set_xpos (GESTextOverlay *self
,gdouble position
); void ges_text_overlay_set_ypos (GESTextOverlay *self
,gdouble position
); const gchar * ges_text_overlay_get_text (GESTextOverlay *self
); const char * ges_text_overlay_get_font_desc (GESTextOverlay *self
); GESTextHAlign ges_text_overlay_get_halignment (GESTextOverlay *self
); GESTextVAlign ges_text_overlay_get_valignment (GESTextOverlay *self
); const guint32 ges_text_overlay_get_color (GESTextOverlay *self
); const gdouble ges_text_overlay_get_xpos (GESTextOverlay *self
); const gdouble ges_text_overlay_get_ypos (GESTextOverlay *self
);
GObject +----GInitiallyUnowned +----GESTimelineElement +----GESTrackElement +----GESOperation +----GESTextOverlay
GESTextOverlay * ges_text_overlay_new (void
);
Creates a new GESTextOverlay.
Returns : |
The newly created GESTextOverlay or NULL if something went
wrong. |
void ges_text_overlay_set_text (GESTextOverlay *self
,const gchar *text
);
Sets the text this track element will render.
|
the GESTextOverlay* to set text on |
|
the text to render. an internal copy of this text will be made. |
void ges_text_overlay_set_font_desc (GESTextOverlay *self
,const gchar *font_desc
);
Sets the pango font description of the text this track element will render.
|
the GESTextOverlay |
|
the pango font description |
void ges_text_overlay_set_halignment (GESTextOverlay *self
,GESTextHAlign halign
);
Sets the horizontal aligment of the text.
|
the GESTextOverlay* to set text on |
|
The GESTextHAlign defining the horizontal alignment
of the text render by self . |
void ges_text_overlay_set_valignment (GESTextOverlay *self
,GESTextVAlign valign
);
Sets the vertical aligment of the text.
|
the GESTextOverlay* to set text on |
|
The GESTextVAlign defining the vertical alignment
of the text render by self . |
void ges_text_overlay_set_color (GESTextOverlay *self
,guint32 color
);
Sets the color of the text.
|
the GESTextOverlay* to set |
|
The color self is being set to |
void ges_text_overlay_set_xpos (GESTextOverlay *self
,gdouble position
);
Sets the horizontal position of the text.
|
the GESTextOverlay* to set |
|
The horizontal position self is being set to |
void ges_text_overlay_set_ypos (GESTextOverlay *self
,gdouble position
);
Sets the vertical position of the text.
|
the GESTextOverlay* to set |
|
The vertical position self is being set to |
const gchar * ges_text_overlay_get_text (GESTextOverlay *self
);
Get the text currently set on source
.
|
a GESTextOverlay |
Returns : |
The text currently set on source . |
const char * ges_text_overlay_get_font_desc (GESTextOverlay *self
);
Get the pango font description currently set on source
.
|
a GESTextOverlay |
Returns : |
The pango font description currently set on source . |
GESTextHAlign ges_text_overlay_get_halignment (GESTextOverlay *self
);
Get the horizontal aligment used by source
.
|
a GESTextOverlay |
Returns : |
The horizontal aligment used by source . |
GESTextVAlign ges_text_overlay_get_valignment (GESTextOverlay *self
);
Get the vertical aligment used by source
.
|
a GESTextOverlay |
Returns : |
The vertical aligment used by source . |
const guint32 ges_text_overlay_get_color (GESTextOverlay *self
);
Get the color used by source
.
|
a GESTextOverlay |
Returns : |
The color used by source . |
const gdouble ges_text_overlay_get_xpos (GESTextOverlay *self
);
Get the horizontal position used by source
.
|
a GESTextOverlay |
Returns : |
The horizontal position used by source . |
const gdouble ges_text_overlay_get_ypos (GESTextOverlay *self
);
Get the vertical position used by source
.
|
a GESTextOverlay |
Returns : |
The vertical position used by source . |