GESTitleClip

GESTitleClip — Render stand-alone titles in GESLayer.

Functions

Properties

guint background Read / Write / Construct
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

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GESTimelineElement
            ╰── GESContainer
                ╰── GESClip
                    ╰── GESSourceClip
                        ╰── GESTitleClip

Implemented Interfaces

GESTitleClip implements GESExtractable and GESMetaContainer.

Includes

#include <ges/ges.h>

Description

Renders the given text in the specified font, at specified position, and with the specified background pattern.

Functions

ges_title_clip_new ()

GESTitleClip *
ges_title_clip_new (void);

Creates a new GESTitleClip

Returns

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

[transfer floating][nullable]


ges_title_clip_get_text ()

const gchar *
ges_title_clip_get_text (GESTitleClip *self);

ges_title_clip_get_text is deprecated and should not be used in newly-written code.

use ges_track_element_get/set_children_properties on the underlying GESTrackElement instead

Get the text currently set on self .

Parameters

self

a GESTitleClip

 

Returns

The text currently set on self .

Types and Values

GESTitleClip

typedef struct _GESTitleClip GESTitleClip;

Render stand-alone titles in GESLayer.

Property Details

The “background” property

  “background”               guint

The background of the text

GESTitleClip:background is deprecated and should not be used in newly-written code.

use ges_track_element_get/set_children_properties on the underlying GESTrackElement instead

Flags: Read / Write / Construct

Default value: 4294967295


The “color” property

  “color”                    guint

The color of the text

GESTitleClip:color is deprecated and should not be used in newly-written code.

use ges_track_element_get/set_children_properties on the underlying GESTrackElement instead

Flags: Read / Write / Construct

Default value: 4294967295


The “font-desc” property

  “font-desc”                gchar *

Pango font description string

GESTitleClip:font-desc is deprecated and should not be used in newly-written code.

use ges_track_element_get/set_children_properties on the underlying GESTrackElement instead

Flags: Read / Write / Construct

Default value: "Serif 36"


The “halignment” property

  “halignment”               GESTextHAlign

Horizontal alignment of the text

GESTitleClip:halignment is deprecated and should not be used in newly-written code.

use ges_track_element_get/set_children_properties on the underlying GESTrackElement instead

Flags: Read / Write / Construct

Default value: GES_TEXT_HALIGN_CENTER


The “text” property

  “text”                     gchar *

The text to diplay

GESTitleClip:text is deprecated and should not be used in newly-written code.

use ges_track_element_get/set_children_properties on the underlying GESTrackElement instead

Flags: Read / Write / Construct

Default value: ""


The “valignment” property

  “valignment”               GESTextVAlign

Vertical alignent of the text

GESTitleClip:valignment is deprecated and should not be used in newly-written code.

use ges_track_element_get/set_children_properties on the underlying GESTrackElement instead

Flags: Read / Write / Construct

Default value: GES_TEXT_VALIGN_BASELINE


The “xpos” property

  “xpos”                     gdouble

The horizontal position of the text

GESTitleClip:xpos is deprecated and should not be used in newly-written code.

use ges_track_element_get/set_children_properties on the underlying GESTrackElement instead

Flags: Read / Write / Construct

Allowed values: [0,1]

Default value: 0.5


The “ypos” property

  “ypos”                     gdouble

The vertical position of the text

GESTitleClip:ypos is deprecated and should not be used in newly-written code.

use ges_track_element_get/set_children_properties on the underlying GESTrackElement instead

Flags: Read / Write / Construct

Allowed values: [0,1]

Default value: 0.5