// Generated by gmmproc 2.64.5 -- DO NOT MODIFY!
#ifndef _GSTREAMERMM_TEXTRENDER_H
#define _GSTREAMERMM_TEXTRENDER_H

#include <gstreamermmconfig.h>

#ifndef GSTREAMERMM_DISABLE_DEPRECATED


#include <glibmm/ustring.h>
#include <sigc++/sigc++.h>

// Generated by generate_plugin_gmmproc_file. Don't edit this file.


#include <gstreamermm/element.h>


#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<Gst::TextRenderHAlign> : public Glib::Value_Enum<Gst::TextRenderHAlign>
{
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<Gst::TextRenderVAlign> : public Glib::Value_Enum<Gst::TextRenderVAlign>
{
public:
  static GType value_type() G_GNUC_CONST;
};

} // namespace Glib
#endif /* DOXYGEN_SHOULD_SKIP_THIS */

namespace Gst
{


/** 
 *
 * @ingroup gstreamermmEnums
 * @par Bitwise operators:
 * <tt>%TextRenderLineAlign operator|(TextRenderLineAlign, TextRenderLineAlign)</tt><br>
 * <tt>%TextRenderLineAlign operator&(TextRenderLineAlign, TextRenderLineAlign)</tt><br>
 * <tt>%TextRenderLineAlign operator^(TextRenderLineAlign, TextRenderLineAlign)</tt><br>
 * <tt>%TextRenderLineAlign operator~(TextRenderLineAlign)</tt><br>
 * <tt>%TextRenderLineAlign& operator|=(TextRenderLineAlign&, TextRenderLineAlign)</tt><br>
 * <tt>%TextRenderLineAlign& operator&=(TextRenderLineAlign&, TextRenderLineAlign)</tt><br>
 * <tt>%TextRenderLineAlign& operator^=(TextRenderLineAlign&, TextRenderLineAlign)</tt><br>
 */
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<TextRenderLineAlign>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs)); }

/** @ingroup gstreamermmEnums */
inline TextRenderLineAlign operator&(TextRenderLineAlign lhs, TextRenderLineAlign rhs)
  { return static_cast<TextRenderLineAlign>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs)); }

/** @ingroup gstreamermmEnums */
inline TextRenderLineAlign operator^(TextRenderLineAlign lhs, TextRenderLineAlign rhs)
  { return static_cast<TextRenderLineAlign>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs)); }

/** @ingroup gstreamermmEnums */
inline TextRenderLineAlign operator~(TextRenderLineAlign flags)
  { return static_cast<TextRenderLineAlign>(~static_cast<unsigned>(flags)); }

/** @ingroup gstreamermmEnums */
inline TextRenderLineAlign& operator|=(TextRenderLineAlign& lhs, TextRenderLineAlign rhs)
  { return (lhs = static_cast<TextRenderLineAlign>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs))); }

/** @ingroup gstreamermmEnums */
inline TextRenderLineAlign& operator&=(TextRenderLineAlign& lhs, TextRenderLineAlign rhs)
  { return (lhs = static_cast<TextRenderLineAlign>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs))); }

/** @ingroup gstreamermmEnums */
inline TextRenderLineAlign& operator^=(TextRenderLineAlign& lhs, TextRenderLineAlign rhs)
  { return (lhs = static_cast<TextRenderLineAlign>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs))); }

} // namespace Gst

#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace Glib
{

template <>
class  Value<Gst::TextRenderLineAlign> : public Glib::Value_Flags<Gst::TextRenderLineAlign>
{
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<GstTextRender*>(gobject_); }

  ///Provides access to the underlying C GObject.
  const GstTextRender* gobj() const { return reinterpret_cast<GstTextRender*>(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<TextRender> create();


  /** Creates a new textrender plugin with the given name.
   */
  
  static Glib::RefPtr<TextRender> 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<Gst::TextRender> wrap(GstTextRender* object, bool take_copy = false);
}


#endif // GSTREAMERMM_DISABLE_DEPRECATED


#endif /* _GSTREAMERMM_TEXTRENDER_H */

