| 1 |
// Generated by generate_plugin_gmmproc_file. Don't edit this file. |
| 2 |
|
| 3 |
|
| 4 |
#include <gstreamermm/element.h> |
| 5 |
_DEFS(gstreamermm,gst) |
| 6 |
|
| 7 |
_CONFIGINCLUDE(gstreamermmconfig.h) |
| 8 |
_IS_DEPRECATED |
| 9 |
|
| 10 |
namespace Gst |
| 11 |
{ |
| 12 |
|
| 13 |
_WRAP_ENUM(TextRenderHAlign,GstTextRenderHAlign) |
| 14 |
_CONV_ENUM(Gst,TextRenderHAlign) |
| 15 |
|
| 16 |
_WRAP_ENUM(TextRenderVAlign,GstTextRenderVAlign) |
| 17 |
_CONV_ENUM(Gst,TextRenderVAlign) |
| 18 |
|
| 19 |
_WRAP_ENUM(TextRenderLineAlign,GstTextRenderLineAlign) |
| 20 |
_CONV_ENUM(Gst,TextRenderLineAlign) |
| 21 |
|
| 22 |
/** A Wrapper for the textrender plugin. |
| 23 |
* Please note that not all plug-ins are available on all systems so care |
| 24 |
* must be taken that they exist before they are used otherwise there will |
| 25 |
* be errors and possibly a crash. |
| 26 |
* |
| 27 |
* @ingroup GstPlugins |
| 28 |
* @deprecated Plugins API is deprecated, and should not be used in a new code. |
| 29 |
*/ |
| 30 |
class TextRender |
| 31 |
: public Gst::Element |
| 32 |
{ |
| 33 |
_CLASS_GOBJECT(TextRender, GstTextRender, GST_TEXT_RENDER_GSTREAMERMM, Gst::Element, GstElement) |
| 34 |
_IS_GSTREAMERMM_PLUGIN |
| 35 |
protected: |
| 36 |
TextRender(); |
| 37 |
explicit TextRender(const Glib::ustring& name); |
| 38 |
|
| 39 |
public: |
| 40 |
/** Creates a new textrender plugin with a unique name. |
| 41 |
*/ |
| 42 |
_WRAP_CREATE() |
| 43 |
|
| 44 |
/** Creates a new textrender plugin with the given name. |
| 45 |
*/ |
| 46 |
_WRAP_CREATE(const Glib::ustring& name) |
| 47 |
|
| 48 |
_WRAP_PROPERTY("halignment", Gst::TextRenderHAlign) |
| 49 |
_WRAP_PROPERTY("valignment", Gst::TextRenderVAlign) |
| 50 |
_WRAP_PROPERTY("line-alignment", Gst::TextRenderLineAlign) |
| 51 |
_WRAP_PROPERTY("xpad", int) |
| 52 |
_WRAP_PROPERTY("ypad", int) |
| 53 |
_WRAP_PROPERTY("font-desc", Glib::ustring) |
| 54 |
}; |
| 55 |
|
| 56 |
} // namespace Gst |