![]() |
![]() |
![]() |
GStreamer Editing Services 1.2.1 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#include <ges/ges.h> GESTitleClip; GESTitleClip * ges_title_clip_new (void
); void ges_title_clip_set_text (GESTitleClip *self
,const gchar *text
); void ges_title_clip_set_font_desc (GESTitleClip *self
,const gchar *font_desc
); void ges_title_clip_set_halignment (GESTitleClip *self
,GESTextHAlign halign
); void ges_title_clip_set_valignment (GESTitleClip *self
,GESTextVAlign valign
); void ges_title_clip_set_color (GESTitleClip *self
,guint32 color
); void ges_title_clip_set_background (GESTitleClip *self
,guint32 background
); void ges_title_clip_set_xpos (GESTitleClip *self
,gdouble position
); void ges_title_clip_set_ypos (GESTitleClip *self
,gdouble position
); const gchar * ges_title_clip_get_text (GESTitleClip *self
); const gchar * ges_title_clip_get_font_desc (GESTitleClip *self
); GESTextVAlign ges_title_clip_get_valignment (GESTitleClip *self
); GESTextHAlign ges_title_clip_get_halignment (GESTitleClip *self
); const guint32 ges_title_clip_get_text_color (GESTitleClip *self
); const guint32 ges_title_clip_get_background_color (GESTitleClip *self
); const gdouble ges_title_clip_get_xpos (GESTitleClip *self
); const gdouble ges_title_clip_get_ypos (GESTitleClip *self
);
GObject +----GInitiallyUnowned +----GESTimelineElement +----GESContainer +----GESClip +----GESSourceClip +----GESTitleClip
"background" guint : Read / Write / Construct "color" guint : Read / Write / Construct "font-desc" gchar* : Read / Write / Construct "halignment" GESTextHAlign : Read / Write / Construct "text" gchar* : Read / Write / Construct "valignment" GESTextVAlign : Read / Write / Construct "xpos" gdouble : Read / Write / Construct "ypos" gdouble : Read / Write / Construct
Renders the given text in the specified font, at specified position, and with the specified background pattern.
GESTitleClip * ges_title_clip_new (void
);
Creates a new GESTitleClip
Returns : |
The newly created GESTitleClip, or NULL if there was an error. |
void ges_title_clip_set_text (GESTitleClip *self
,const gchar *text
);
Sets the text this clip will render.
|
the GESTitleClip* to set text on |
|
the text to render. an internal copy of this text will be made. |
void ges_title_clip_set_font_desc (GESTitleClip *self
,const gchar *font_desc
);
Sets the pango font description of the text.
|
the GESTitleClip* |
|
the pango font description |
void ges_title_clip_set_halignment (GESTitleClip *self
,GESTextHAlign halign
);
Sets the horizontal aligment of the text.
|
the GESTitleClip* to set horizontal alignement of text on |
|
GESTextHAlign |
void ges_title_clip_set_valignment (GESTitleClip *self
,GESTextVAlign valign
);
Sets the vertical aligment of the text.
|
the GESTitleClip* to set vertical alignement of text on |
|
GESTextVAlign |
void ges_title_clip_set_color (GESTitleClip *self
,guint32 color
);
Sets the color of the text.
|
the GESTitleClip* to set |
|
The color self is being set to |
void ges_title_clip_set_background (GESTitleClip *self
,guint32 background
);
Sets the background of the text.
|
the GESTitleClip* to set |
|
The color self is being set to |
void ges_title_clip_set_xpos (GESTitleClip *self
,gdouble position
);
Sets the horizontal position of the text.
|
the GESTitleClip* to set |
|
The horizontal position self is being set to |
void ges_title_clip_set_ypos (GESTitleClip *self
,gdouble position
);
Sets the vertical position of the text.
|
the GESTitleClip* to set |
|
The vertical position self is being set to |
const gchar * ges_title_clip_get_text (GESTitleClip *self
);
Get the text currently set on self
.
|
a GESTitleClip |
Returns : |
The text currently set on self . |
const gchar * ges_title_clip_get_font_desc (GESTitleClip *self
);
Get the pango font description used by self
.
|
a GESTitleClip |
Returns : |
The pango font description used by self . |
GESTextVAlign ges_title_clip_get_valignment (GESTitleClip *self
);
Get the vertical aligment used by self
.
|
a GESTitleClip |
Returns : |
The vertical aligment used by self . |
GESTextHAlign ges_title_clip_get_halignment (GESTitleClip *self
);
Get the horizontal aligment used by self
.
|
a GESTitleClip |
Returns : |
The horizontal aligment used by self . |
const guint32 ges_title_clip_get_text_color (GESTitleClip *self
);
Get the color used by self
.
|
a GESTitleClip |
Returns : |
The color used by self . |
const guint32 ges_title_clip_get_background_color (GESTitleClip *self
);
Get the background used by self
.
|
a GESTitleClip |
Returns : |
The color used by self . |
const gdouble ges_title_clip_get_xpos (GESTitleClip *self
);
Get the horizontal position used by self
.
|
a GESTitleClip |
Returns : |
The horizontal position used by self . |
const gdouble ges_title_clip_get_ypos (GESTitleClip *self
);
Get the vertical position used by self
.
|
a GESTitleClip |
Returns : |
The vertical position used by self . |
"background"
property"background" guint : Read / Write / Construct
The background of the text
Default value: 4294967295
"color"
property"color" guint : Read / Write / Construct
The color of the text
Default value: 4294967295
"font-desc"
property"font-desc" gchar* : Read / Write / Construct
Pango font description string
Default value: "Serif 36"
"halignment"
property"halignment" GESTextHAlign : Read / Write / Construct
Horizontal alignment of the text
Default value: center
"valignment"
property"valignment" GESTextVAlign : Read / Write / Construct
Vertical alignent of the text
Default value: baseline
"xpos"
property"xpos" gdouble : Read / Write / Construct
The horizontal position of the text
Allowed values: [0,1]
Default value: 0.5
"ypos"
property"ypos" gdouble : Read / Write / Construct
The vertical position of the text
Allowed values: [0,1]
Default value: 0.5