A Wrapper for the textrender plugin. More...
Public Member Functions | |
virtual | ~TextRender () |
GstTextRender* | gobj () |
Provides access to the underlying C GObject. | |
const GstTextRender* | gobj () const |
Provides access to the underlying C GObject. | |
GstTextRender* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
Glib::PropertyProxy < Gst::TextRenderHAlign > | property_halignment () |
Horizontal alignment of the text. | |
Glib::PropertyProxy_ReadOnly < Gst::TextRenderHAlign > | property_halignment () const |
Horizontal alignment of the text. | |
Glib::PropertyProxy < Gst::TextRenderVAlign > | property_valignment () |
Vertical alignment of the text. | |
Glib::PropertyProxy_ReadOnly < Gst::TextRenderVAlign > | property_valignment () const |
Vertical alignment of the text. | |
Glib::PropertyProxy < Gst::TextRenderLineAlign > | property_line_alignment () |
Alignment of text lines relative to each other. | |
Glib::PropertyProxy_ReadOnly < Gst::TextRenderLineAlign > | property_line_alignment () const |
Alignment of text lines relative to each other. | |
Glib::PropertyProxy< int > | property_xpad () |
Horizontal paddding when using left/right alignment. | |
Glib::PropertyProxy_ReadOnly< int > | property_xpad () const |
Horizontal paddding when using left/right alignment. | |
Glib::PropertyProxy< int > | property_ypad () |
Vertical padding when using top/bottom alignment. | |
Glib::PropertyProxy_ReadOnly< int > | property_ypad () const |
Vertical padding when using top/bottom alignment. | |
Glib::PropertyProxy_WriteOnly < Glib::ustring > | property_font_desc () |
Pango font description of font to be used for rendering. | |
Static Public Member Functions | |
static Glib::RefPtr< TextRender > | create () |
Creates a new textrender plugin with a unique name. | |
static Glib::RefPtr< TextRender > | create (const Glib::ustring& name) |
Creates a new textrender plugin with the given name. | |
Protected Member Functions | |
TextRender () | |
TextRender (const Glib::ustring& name) | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< Gst::TextRender > | wrap (GstTextRender* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
A Wrapper for the textrender plugin.
Please note that, though using the underlying GObject is fine, using its C type is not guaranteed to be API stable across releases because it is not guaranteed to always remain the same. Also, not all plug-ins are available on all systems so care must be taken that they exist before they are used, otherwise there will be errors and possibly a crash.
virtual Gst::TextRender::~TextRender | ( | ) | [virtual] |
Gst::TextRender::TextRender | ( | ) | [protected] |
Gst::TextRender::TextRender | ( | const Glib::ustring & | name ) | [explicit, protected] |
static Glib::RefPtr<TextRender> Gst::TextRender::create | ( | ) | [static] |
Creates a new textrender plugin with a unique name.
static Glib::RefPtr<TextRender> Gst::TextRender::create | ( | const Glib::ustring & | name ) | [static] |
Creates a new textrender plugin with the given name.
const GstTextRender* Gst::TextRender::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
Reimplemented from Gst::Element.
GstTextRender* Gst::TextRender::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
Reimplemented from Gst::Element.
GstTextRender* Gst::TextRender::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Reimplemented from Gst::Element.
Glib::PropertyProxy_WriteOnly<Glib::ustring> Gst::TextRender::property_font_desc | ( | ) |
Pango font description of font to be used for rendering.
See documentation of pango_font_description_from_string for syntax.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Gst::TextRenderHAlign> Gst::TextRender::property_halignment | ( | ) |
Horizontal alignment of the text.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Gst::TextRenderHAlign> Gst::TextRender::property_halignment | ( | ) | const |
Horizontal alignment of the text.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Gst::TextRenderLineAlign> Gst::TextRender::property_line_alignment | ( | ) |
Alignment of text lines relative to each other.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Gst::TextRenderLineAlign> Gst::TextRender::property_line_alignment | ( | ) | const |
Alignment of text lines relative to each other.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Gst::TextRenderVAlign> Gst::TextRender::property_valignment | ( | ) |
Vertical alignment of the text.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Gst::TextRenderVAlign> Gst::TextRender::property_valignment | ( | ) | const |
Vertical alignment of the text.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<int> Gst::TextRender::property_xpad | ( | ) |
Horizontal paddding when using left/right alignment.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gst::TextRender::property_xpad | ( | ) | const |
Horizontal paddding when using left/right alignment.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<int> Gst::TextRender::property_ypad | ( | ) |
Vertical padding when using top/bottom alignment.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gst::TextRender::property_ypad | ( | ) | const |
Vertical padding when using top/bottom alignment.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::RefPtr< Gst::TextRender > wrap | ( | GstTextRender * | object, |
bool | take_copy = false |
||
) | [related] |
A Glib::wrap() method for this object.
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |