// Generated by gmmproc 2.50.1 -- DO NOT MODIFY! #ifndef _GSTREAMERMM_TEXTRENDER_H #define _GSTREAMERMM_TEXTRENDER_H #include #ifndef GSTREAMERMM_DISABLE_DEPRECATED #include #include // Generated by generate_plugin_gmmproc_file. Don't edit this file. #include #ifndef DOXYGEN_SHOULD_SKIP_THIS using GstTextRender = struct _GstTextRender; using GstTextRenderClass = struct _GstTextRenderClass; #endif /* DOXYGEN_SHOULD_SKIP_THIS */ #ifndef DOXYGEN_SHOULD_SKIP_THIS namespace Gst { class TextRender_Class; } // namespace Gst #endif //DOXYGEN_SHOULD_SKIP_THIS namespace Gst { /** @addtogroup gstreamermmEnums gstreamermm Enums and Flags */ /** * * @ingroup gstreamermmEnums */ enum TextRenderHAlign { TEXT_RENDER_HALIGN_LEFT, TEXT_RENDER_HALIGN_CENTER, TEXT_RENDER_HALIGN_RIGHT }; } // namespace Gst #ifndef DOXYGEN_SHOULD_SKIP_THIS namespace Glib { template <> class Value : public Glib::Value_Enum { public: static GType value_type() G_GNUC_CONST; }; } // namespace Glib #endif /* DOXYGEN_SHOULD_SKIP_THIS */ namespace Gst { /** * * @ingroup gstreamermmEnums */ enum TextRenderVAlign { TEXT_RENDER_VALIGN_BASELINE, TEXT_RENDER_VALIGN_BOTTOM, TEXT_RENDER_VALIGN_TOP }; } // namespace Gst #ifndef DOXYGEN_SHOULD_SKIP_THIS namespace Glib { template <> class Value : public Glib::Value_Enum { public: static GType value_type() G_GNUC_CONST; }; } // namespace Glib #endif /* DOXYGEN_SHOULD_SKIP_THIS */ namespace Gst { /** * * @ingroup gstreamermmEnums * @par Bitwise operators: * %TextRenderLineAlign operator|(TextRenderLineAlign, TextRenderLineAlign)
* %TextRenderLineAlign operator&(TextRenderLineAlign, TextRenderLineAlign)
* %TextRenderLineAlign operator^(TextRenderLineAlign, TextRenderLineAlign)
* %TextRenderLineAlign operator~(TextRenderLineAlign)
* %TextRenderLineAlign& operator|=(TextRenderLineAlign&, TextRenderLineAlign)
* %TextRenderLineAlign& operator&=(TextRenderLineAlign&, TextRenderLineAlign)
* %TextRenderLineAlign& operator^=(TextRenderLineAlign&, TextRenderLineAlign)
*/ enum TextRenderLineAlign { TEXT_RENDER_LINE_ALIGN_LEFT = 0, TEXT_RENDER_LINE_ALIGN_CENTER = 1, TEXT_RENDER_LINE_ALIGN_RIGHT = 2 }; /** @ingroup gstreamermmEnums */ inline TextRenderLineAlign operator|(TextRenderLineAlign lhs, TextRenderLineAlign rhs) { return static_cast(static_cast(lhs) | static_cast(rhs)); } /** @ingroup gstreamermmEnums */ inline TextRenderLineAlign operator&(TextRenderLineAlign lhs, TextRenderLineAlign rhs) { return static_cast(static_cast(lhs) & static_cast(rhs)); } /** @ingroup gstreamermmEnums */ inline TextRenderLineAlign operator^(TextRenderLineAlign lhs, TextRenderLineAlign rhs) { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } /** @ingroup gstreamermmEnums */ inline TextRenderLineAlign operator~(TextRenderLineAlign flags) { return static_cast(~static_cast(flags)); } /** @ingroup gstreamermmEnums */ inline TextRenderLineAlign& operator|=(TextRenderLineAlign& lhs, TextRenderLineAlign rhs) { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } /** @ingroup gstreamermmEnums */ inline TextRenderLineAlign& operator&=(TextRenderLineAlign& lhs, TextRenderLineAlign rhs) { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } /** @ingroup gstreamermmEnums */ inline TextRenderLineAlign& operator^=(TextRenderLineAlign& lhs, TextRenderLineAlign rhs) { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } } // namespace Gst #ifndef DOXYGEN_SHOULD_SKIP_THIS namespace Glib { template <> class Value : public Glib::Value_Flags { public: static GType value_type() G_GNUC_CONST; }; } // namespace Glib #endif /* DOXYGEN_SHOULD_SKIP_THIS */ namespace Gst { /** A Wrapper for the textrender plugin. * Please note that 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. * * @ingroup GstPlugins * @deprecated Plugins API is deprecated, and should not be used in a new code. */ class TextRender : public Gst::Element { #ifndef DOXYGEN_SHOULD_SKIP_THIS public: using CppObjectType = TextRender; using CppClassType = TextRender_Class; using BaseObjectType = GstTextRender; using BaseClassType = GstTextRenderClass; // noncopyable TextRender(const TextRender&) = delete; TextRender& operator=(const TextRender&) = delete; private: friend class TextRender_Class; static CppClassType textrender_class_; protected: explicit TextRender(const Glib::ConstructParams& construct_params); explicit TextRender(GstTextRender* castitem); #endif /* DOXYGEN_SHOULD_SKIP_THIS */ public: TextRender(TextRender&& src) noexcept; TextRender& operator=(TextRender&& src) noexcept; ~TextRender() noexcept override; /** Get the GType for this class, for use with the underlying GObject type system. */ static GType get_type() G_GNUC_CONST; #ifndef DOXYGEN_SHOULD_SKIP_THIS static GType get_base_type() G_GNUC_CONST; #endif ///Provides access to the underlying C GObject. GstTextRender* gobj() { return reinterpret_cast(gobject_); } ///Provides access to the underlying C GObject. const GstTextRender* gobj() const { return reinterpret_cast(gobject_); } ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. GstTextRender* gobj_copy(); private: protected: TextRender(); explicit TextRender(const Glib::ustring& name); public: /** Creates a new textrender plugin with a unique name. */ static Glib::RefPtr create(); /** Creates a new textrender plugin with the given name. */ static Glib::RefPtr create(const Glib::ustring& name); /** Horizontal alignment of the text. * * @return A PropertyProxy that allows you to get or set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy< Gst::TextRenderHAlign > property_halignment() ; /** Horizontal alignment of the text. * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< Gst::TextRenderHAlign > property_halignment() const; /** Vertical alignment of the text. * * @return A PropertyProxy that allows you to get or set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy< Gst::TextRenderVAlign > property_valignment() ; /** Vertical alignment of the text. * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< Gst::TextRenderVAlign > property_valignment() const; /** Alignment of text lines relative to each other. * * @return A PropertyProxy that allows you to get or set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy< Gst::TextRenderLineAlign > property_line_alignment() ; /** Alignment of text lines relative to each other. * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< Gst::TextRenderLineAlign > property_line_alignment() const; /** Horizontal paddding when using left/right alignment. * * @return A PropertyProxy that allows you to get or set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy< int > property_xpad() ; /** Horizontal paddding when using left/right alignment. * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< int > property_xpad() const; /** Vertical padding when using top/bottom alignment. * * @return A PropertyProxy that allows you to get or set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy< int > property_ypad() ; /** Vertical padding when using top/bottom alignment. * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< int > property_ypad() const; /** Pango font description of font to be used for rendering. See documentation of pango_font_description_from_string for syntax. * * @return A PropertyProxy_WriteOnly that allows you to set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_WriteOnly< Glib::ustring > property_font_desc() ; public: public: //C++ methods used to invoke GTK+ virtual functions: protected: //GTK+ Virtual Functions (override these to change behaviour): //Default Signal Handlers:: }; } // namespace Gst namespace Glib { /** A Glib::wrap() method for this object. * * @param object The C instance. * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. * @result A C++ instance that wraps this C instance. * * @relates Gst::TextRender */ Glib::RefPtr wrap(GstTextRender* object, bool take_copy = false); } #endif // GSTREAMERMM_DISABLE_DEPRECATED #endif /* _GSTREAMERMM_TEXTRENDER_H */