![]() |
![]() |
![]() |
GStreamer Editing Services 1.2.1 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
#include <ges/ges.h> GESTitleSource; void ges_title_source_set_text (GESTitleSource *self
,const gchar *text
); void ges_title_source_set_font_desc (GESTitleSource *self
,const gchar *font_desc
); void ges_title_source_set_halignment (GESTitleSource *self
,GESTextHAlign halign
); void ges_title_source_set_valignment (GESTitleSource *self
,GESTextVAlign valign
); void ges_title_source_set_text_color (GESTitleSource *self
,guint32 color
); void ges_title_source_set_background_color (GESTitleSource *self
,guint32 color
); void ges_title_source_set_xpos (GESTitleSource *self
,gdouble position
); void ges_title_source_set_ypos (GESTitleSource *self
,gdouble position
); const gchar * ges_title_source_get_text (GESTitleSource *source
); const gchar * ges_title_source_get_font_desc (GESTitleSource *source
); GESTextHAlign ges_title_source_get_halignment (GESTitleSource *source
); GESTextVAlign ges_title_source_get_valignment (GESTitleSource *source
); const guint32 ges_title_source_get_text_color (GESTitleSource *source
); const guint32 ges_title_source_get_background_color (GESTitleSource *source
); const gdouble ges_title_source_get_xpos (GESTitleSource *source
); const gdouble ges_title_source_get_ypos (GESTitleSource *source
);
GObject +----GInitiallyUnowned +----GESTimelineElement +----GESTrackElement +----GESSource +----GESVideoSource +----GESTitleSource
void ges_title_source_set_text (GESTitleSource *self
,const gchar *text
);
Sets the text this track element will render.
|
the GESTitleSource* to set text on |
|
the text to render. an internal copy of this text will be made. |
void ges_title_source_set_font_desc (GESTitleSource *self
,const gchar *font_desc
);
Set the pango font description this source will use to render the text.
|
the GESTitleSource |
|
the pango font description |
void ges_title_source_set_halignment (GESTitleSource *self
,GESTextHAlign halign
);
Sets the vertical aligment of the text.
|
the GESTitleSource* to set text on |
|
GESTextHAlign |
void ges_title_source_set_valignment (GESTitleSource *self
,GESTextVAlign valign
);
Sets the vertical aligment of the text.
|
the GESTitleSource* to set text on |
|
GESTextVAlign |
void ges_title_source_set_text_color (GESTitleSource *self
,guint32 color
);
Sets the color of the text.
|
the GESTitleSource* to set |
|
the color self is being set to |
void ges_title_source_set_background_color (GESTitleSource *self
,guint32 color
);
Sets the color of the background
|
the GESTitleSource* to set |
|
the color self is being set to |
void ges_title_source_set_xpos (GESTitleSource *self
,gdouble position
);
Sets the horizontal position of the text.
|
the GESTitleSource* to set |
|
the horizontal position self is being set to |
void ges_title_source_set_ypos (GESTitleSource *self
,gdouble position
);
Sets the vertical position of the text.
|
the GESTitleSource* to set |
|
the color self is being set to |
const gchar * ges_title_source_get_text (GESTitleSource *source
);
Get the text currently set on the source
.
|
a GESTitleSource |
Returns : |
The text currently set on the source . [transfer none]
|
const gchar * ges_title_source_get_font_desc (GESTitleSource *source
);
Get the pango font description used by source
.
|
a GESTitleSource |
Returns : |
The pango font description used by this
source . [transfer none]
|
GESTextHAlign ges_title_source_get_halignment (GESTitleSource *source
);
Get the horizontal aligment used by source
.
|
a GESTitleSource |
Returns : |
The horizontal aligment used by source . |
GESTextVAlign ges_title_source_get_valignment (GESTitleSource *source
);
Get the vertical aligment used by source
.
|
a GESTitleSource |
Returns : |
The vertical aligment used by source . |
const guint32 ges_title_source_get_text_color (GESTitleSource *source
);
Get the color used by source
.
|
a GESTitleSource |
Returns : |
The color used by source . |
const guint32 ges_title_source_get_background_color
(GESTitleSource *source
);
Get the background used by source
.
|
a GESTitleSource |
Returns : |
The background used by source . |
const gdouble ges_title_source_get_xpos (GESTitleSource *source
);
Get the horizontal position used by source
.
|
a GESTitleSource |
Returns : |
The horizontal position used by source . |
const gdouble ges_title_source_get_ypos (GESTitleSource *source
);
Get the vertical position used by source
.
|
a GESTitleSource |
Returns : |
The vertical position used by source . |