1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>cairotextoverlay</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="GStreamer Good Plugins 0.10 Plugins Reference Manual">
8 <link rel="up" href="ch01.html" title="gst-plugins-good Elements">
9 <link rel="prev" href="gst-plugins-good-plugins-cacasink.html" title="cacasink">
10 <link rel="next" href="gst-plugins-good-plugins-cairotimeoverlay.html" title="cairotimeoverlay">
11 <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17 <td><a accesskey="p" href="gst-plugins-good-plugins-cacasink.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18 <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20 <th width="100%" align="center">GStreamer Good Plugins 0.10 Plugins Reference Manual</th>
21 <td><a accesskey="n" href="gst-plugins-good-plugins-cairotimeoverlay.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#gst-plugins-good-plugins-cairotextoverlay.synopsis" class="shortcut">Top</a>
26 <a href="#gst-plugins-good-plugins-cairotextoverlay.description" class="shortcut">Description</a>
28 <a href="#gst-plugins-good-plugins-cairotextoverlay.object-hierarchy" class="shortcut">Object Hierarchy</a>
30 <a href="#gst-plugins-good-plugins-cairotextoverlay.properties" class="shortcut">Properties</a>
33 <div class="refentry">
34 <a name="gst-plugins-good-plugins-cairotextoverlay"></a><div class="titlepage"></div>
35 <div class="refnamediv"><table width="100%"><tr>
37 <h2><span class="refentrytitle"><a name="gst-plugins-good-plugins-cairotextoverlay.top_of_page"></a>cairotextoverlay</span></h2>
38 <p>cairotextoverlay — Adds text strings on top of a video buffer</p>
40 <td valign="top" align="right"></td>
42 <div class="refsynopsisdiv">
43 <a name="gst-plugins-good-plugins-cairotextoverlay.synopsis"></a><h2>Synopsis</h2>
44 <a name="GstCairoTextOverlay"></a><pre class="synopsis">struct <a class="link" href="gst-plugins-good-plugins-cairotextoverlay.html#GstCairoTextOverlay-struct" title="struct GstCairoTextOverlay">GstCairoTextOverlay</a>;
47 <div class="refsect1">
48 <a name="gst-plugins-good-plugins-cairotextoverlay.object-hierarchy"></a><h2>Object Hierarchy</h2>
49 <pre class="synopsis">
50 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
51 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html">GstObject</a>
52 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>
53 +----GstCairoTextOverlay
56 <div class="refsect1">
57 <a name="gst-plugins-good-plugins-cairotextoverlay.properties"></a><h2>Properties</h2>
58 <pre class="synopsis">
59 "<a class="link" href="gst-plugins-good-plugins-cairotextoverlay.html#GstCairoTextOverlay--deltax" title='The "deltax" property'>deltax</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Write
60 "<a class="link" href="gst-plugins-good-plugins-cairotextoverlay.html#GstCairoTextOverlay--deltay" title='The "deltay" property'>deltay</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Write
61 "<a class="link" href="gst-plugins-good-plugins-cairotextoverlay.html#GstCairoTextOverlay--font-desc" title='The "font-desc" property'>font-desc</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Write
62 "<a class="link" href="gst-plugins-good-plugins-cairotextoverlay.html#GstCairoTextOverlay--halign" title='The "halign" property'>halign</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Write
63 "<a class="link" href="gst-plugins-good-plugins-cairotextoverlay.html#GstCairoTextOverlay--shaded-background" title='The "shaded-background" property'>shaded-background</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Write
64 "<a class="link" href="gst-plugins-good-plugins-cairotextoverlay.html#GstCairoTextOverlay--text" title='The "text" property'>text</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Write
65 "<a class="link" href="gst-plugins-good-plugins-cairotextoverlay.html#GstCairoTextOverlay--valign" title='The "valign" property'>valign</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Write
66 "<a class="link" href="gst-plugins-good-plugins-cairotextoverlay.html#GstCairoTextOverlay--xpad" title='The "xpad" property'>xpad</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Write
67 "<a class="link" href="gst-plugins-good-plugins-cairotextoverlay.html#GstCairoTextOverlay--ypad" title='The "ypad" property'>ypad</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Write
68 "<a class="link" href="gst-plugins-good-plugins-cairotextoverlay.html#GstCairoTextOverlay--silent" title='The "silent" property'>silent</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Write
71 <div class="refsect1">
72 <a name="gst-plugins-good-plugins-cairotextoverlay.description"></a><h2>Description</h2>
73 <div class="refsynopsisdiv">
75 <div class="refsect2">
76 <a name="idp6048128"></a><h3>Element Information</h3>
77 <div class="variablelist"><table border="0">
78 <col align="left" valign="top">
81 <td><p><span class="term">plugin</span></p></td>
83 <a class="link" href="gst-plugins-good-plugins-plugin-cairo.html#plugin-cairo">cairo</a>
87 <td><p><span class="term">author</span></p></td>
88 <td>David Schleef <ds@schleef.org></td>
91 <td><p><span class="term">class</span></p></td>
92 <td>Filter/Editor/Video</td>
98 <div class="refsect2">
99 <a name="idp11057200"></a><h3>Element Pads</h3>
100 <div class="variablelist"><table border="0">
101 <col align="left" valign="top">
104 <td><p><span class="term">name</span></p></td>
108 <td><p><span class="term">direction</span></p></td>
112 <td><p><span class="term">presence</span></p></td>
116 <td><p><span class="term">details</span></p></td>
121 <div class="variablelist"><table border="0">
122 <col align="left" valign="top">
125 <td><p><span class="term">name</span></p></td>
129 <td><p><span class="term">direction</span></p></td>
133 <td><p><span class="term">presence</span></p></td>
137 <td><p><span class="term">details</span></p></td>
138 <td>video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
142 <div class="variablelist"><table border="0">
143 <col align="left" valign="top">
146 <td><p><span class="term">name</span></p></td>
150 <td><p><span class="term">direction</span></p></td>
154 <td><p><span class="term">presence</span></p></td>
158 <td><p><span class="term">details</span></p></td>
159 <td>video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
168 <div class="refsect1">
169 <a name="gst-plugins-good-plugins-cairotextoverlay.details"></a><h2>Details</h2>
170 <div class="refsect2">
171 <a name="GstCairoTextOverlay-struct"></a><h3>struct GstCairoTextOverlay</h3>
172 <pre class="programlisting">struct GstCairoTextOverlay;</pre>
177 <div class="refsect1">
178 <a name="gst-plugins-good-plugins-cairotextoverlay.property-details"></a><h2>Property Details</h2>
179 <div class="refsect2">
180 <a name="GstCairoTextOverlay--deltax"></a><h3>The <code class="literal">"deltax"</code> property</h3>
181 <pre class="programlisting"> "deltax" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Write</pre>
182 <p>Shift X position to the left or to the right. Unit is pixels.</p>
183 <p>Default value: 0</p>
186 <div class="refsect2">
187 <a name="GstCairoTextOverlay--deltay"></a><h3>The <code class="literal">"deltay"</code> property</h3>
188 <pre class="programlisting"> "deltay" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Write</pre>
189 <p>Shift Y position up or down. Unit is pixels.</p>
190 <p>Default value: 0</p>
193 <div class="refsect2">
194 <a name="GstCairoTextOverlay--font-desc"></a><h3>The <code class="literal">"font-desc"</code> property</h3>
195 <pre class="programlisting"> "font-desc" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Write</pre>
196 <p>Pango font description of font to be used for rendering. See documentation of pango_font_description_from_string for syntax.</p>
197 <p>Default value: ""</p>
200 <div class="refsect2">
201 <a name="GstCairoTextOverlay--halign"></a><h3>The <code class="literal">"halign"</code> property</h3>
202 <pre class="programlisting"> "halign" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Write</pre>
203 <p>Horizontal alignment of the text. Can be either 'left', 'right', or 'center'.</p>
204 <p>Default value: "center"</p>
207 <div class="refsect2">
208 <a name="GstCairoTextOverlay--shaded-background"></a><h3>The <code class="literal">"shaded-background"</code> property</h3>
209 <pre class="programlisting"> "shaded-background" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Write</pre>
210 <p>Whether to shade the background under the text area.</p>
211 <p>Default value: FALSE</p>
214 <div class="refsect2">
215 <a name="GstCairoTextOverlay--text"></a><h3>The <code class="literal">"text"</code> property</h3>
216 <pre class="programlisting"> "text" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Write</pre>
217 <p>Text to be display.</p>
218 <p>Default value: ""</p>
221 <div class="refsect2">
222 <a name="GstCairoTextOverlay--valign"></a><h3>The <code class="literal">"valign"</code> property</h3>
223 <pre class="programlisting"> "valign" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Write</pre>
224 <p>Vertical alignment of the text. Can be either 'baseline', 'bottom', or 'top'.</p>
225 <p>Default value: "baseline"</p>
228 <div class="refsect2">
229 <a name="GstCairoTextOverlay--xpad"></a><h3>The <code class="literal">"xpad"</code> property</h3>
230 <pre class="programlisting"> "xpad" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Write</pre>
231 <p>Horizontal paddding when using left/right alignment.</p>
232 <p>Default value: 25</p>
235 <div class="refsect2">
236 <a name="GstCairoTextOverlay--ypad"></a><h3>The <code class="literal">"ypad"</code> property</h3>
237 <pre class="programlisting"> "ypad" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Write</pre>
238 <p>Vertical padding when using top/bottom alignment.</p>
239 <p>Default value: 25</p>
242 <div class="refsect2">
243 <a name="GstCairoTextOverlay--silent"></a><h3>The <code class="literal">"silent"</code> property</h3>
244 <pre class="programlisting"> "silent" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Write</pre>
245 <p>Whether to render the text string.</p>
246 <p>Default value: FALSE</p>
252 Generated by GTK-Doc V1.18</div>