GESTextOverlayClip

Renders text onto the next lower priority stream using textrender.

GESTextOverlayClip

GObject
    ╰──GInitiallyUnowned
        ╰──GESTimelineElement
            ╰──GESContainer
                ╰──GESClip
                    ╰──GESOperationClip
                        ╰──GESOverlayClip
                            ╰──GESTextOverlayClip

Members

parent (GESOverlayClip) –
No description available

Class structure

GESTextOverlayClipClass


Constructors

ges_text_overlay_clip_new

GESTextOverlayClip *
ges_text_overlay_clip_new ()

Creates a new GESTextOverlayClip

Returns ( [transfer: floating][nullable])

The newly created GESTextOverlayClip, or NULL if there was an error.


Methods

ges_text_overlay_clip_get_color

const guint32
ges_text_overlay_clip_get_color (GESTextOverlayClip * self)

Get the color used by source.

Parameters:

self

a GESTextOverlayClip

Returns

The color used by source.


ges_text_overlay_clip_get_font_desc

const gchar *
ges_text_overlay_clip_get_font_desc (GESTextOverlayClip * self)

Get the pango font description used by self.

Parameters:

self

a GESTextOverlayClip

Returns ( [nullable])

The pango font description used by self.


ges_text_overlay_clip_get_halignment

GESTextHAlign
ges_text_overlay_clip_get_halignment (GESTextOverlayClip * self)

Get the horizontal aligment used by self.

Parameters:

self

a GESTextOverlayClip

Returns

The horizontal aligment used by self.


ges_text_overlay_clip_get_text

const gchar *
ges_text_overlay_clip_get_text (GESTextOverlayClip * self)

Get the text currently set on self.

Parameters:

self

a GESTextOverlayClip

Returns ( [nullable])

The text currently set on self.


ges_text_overlay_clip_get_valignment

GESTextVAlign
ges_text_overlay_clip_get_valignment (GESTextOverlayClip * self)

Get the vertical aligment used by self.

Parameters:

self

a GESTextOverlayClip

Returns

The vertical aligment used by self.


ges_text_overlay_clip_get_xpos

const gdouble
ges_text_overlay_clip_get_xpos (GESTextOverlayClip * self)

Get the horizontal position used by source.

Parameters:

self

a GESTextOverlayClip

Returns

The horizontal position used by source.


ges_text_overlay_clip_get_ypos

const gdouble
ges_text_overlay_clip_get_ypos (GESTextOverlayClip * self)

Get the vertical position used by source.

Parameters:

self

a GESTextOverlayClip

Returns

The vertical position used by source.


ges_text_overlay_clip_set_color

ges_text_overlay_clip_set_color (GESTextOverlayClip * self,
                                 guint32 color)

Sets the color of the text.

Parameters:

self

the GESTextOverlayClip* to set

color

The color self is being set to


ges_text_overlay_clip_set_font_desc

ges_text_overlay_clip_set_font_desc (GESTextOverlayClip * self,
                                     const gchar * font_desc)

Sets the pango font description of the text

Parameters:

self

the GESTextOverlayClip*

font_desc ( [nullable])

the pango font description


ges_text_overlay_clip_set_halign

ges_text_overlay_clip_set_halign (GESTextOverlayClip * self,
                                  GESTextHAlign halign)

Sets the horizontal aligment of the text.

Parameters:

self

the GESTextOverlayClip* to set horizontal alignement of text on

halign

GESTextHAlign


ges_text_overlay_clip_set_text

ges_text_overlay_clip_set_text (GESTextOverlayClip * self,
                                const gchar * text)

Sets the text this clip will render.

Parameters:

self

the GESTextOverlayClip* to set text on

text ( [nullable])

the text to render. an internal copy of this text will be made.


ges_text_overlay_clip_set_valign

ges_text_overlay_clip_set_valign (GESTextOverlayClip * self,
                                  GESTextVAlign valign)

Sets the vertical aligment of the text.

Parameters:

self

the GESTextOverlayClip* to set vertical alignement of text on

valign

GESTextVAlign


ges_text_overlay_clip_set_xpos

ges_text_overlay_clip_set_xpos (GESTextOverlayClip * self,
                                gdouble position)

Sets the horizontal position of the text.

Parameters:

self

the GESTextOverlayClip* to set

position

The horizontal position self is being set to


ges_text_overlay_clip_set_ypos

ges_text_overlay_clip_set_ypos (GESTextOverlayClip * self,
                                gdouble position)

Sets the vertical position of the text.

Parameters:

self

the GESTextOverlayClip* to set

position

The vertical position self is being set to


Properties

color

“color” guint

The color of the text

Flags : Read / Write / Construct


font-desc

“font-desc” gchar *

Pango font description string

Flags : Read / Write / Construct


halignment

“halignment” GESTextHAlign *

Horizontal alignment of the text

Flags : Read / Write / Construct


text

“text” gchar *

The text to diplay

Flags : Read / Write / Construct


valignment

“valignment” GESTextVAlign *

Vertical alignent of the text

Flags : Read / Write / Construct


xpos

“xpos” gdouble

The horizontal position of the text

Flags : Read / Write / Construct


ypos

“ypos” gdouble

The vertical position of the text

Flags : Read / Write / Construct


Constants

GES_TYPE_OVERLAY_TEXT_CLIP

#define GES_TYPE_OVERLAY_TEXT_CLIP ges_text_overlay_clip_get_type()

The results of the search are