Tizen 2.0 Release
[framework/multimedia/gst-plugins-good0.10.git] / docs / plugins / html / gst-plugins-good-plugins-cairotextoverlay.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
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">
13 </head>
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">
16 <tr valign="middle">
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>
22 </tr>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#gst-plugins-good-plugins-cairotextoverlay.synopsis" class="shortcut">Top</a>
25                    | 
26                   <a href="#gst-plugins-good-plugins-cairotextoverlay.description" class="shortcut">Description</a>
27                    | 
28                   <a href="#gst-plugins-good-plugins-cairotextoverlay.object-hierarchy" class="shortcut">Object Hierarchy</a>
29                    | 
30                   <a href="#gst-plugins-good-plugins-cairotextoverlay.properties" class="shortcut">Properties</a>
31 </td></tr>
32 </table>
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>
36 <td valign="top">
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>
39 </td>
40 <td valign="top" align="right"></td>
41 </tr></table></div>
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>;
45 </pre>
46 </div>
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
54 </pre>
55 </div>
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
69 </pre>
70 </div>
71 <div class="refsect1">
72 <a name="gst-plugins-good-plugins-cairotextoverlay.description"></a><h2>Description</h2>
73 <div class="refsynopsisdiv">
74 <h2>Synopsis</h2>
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">
79 <tbody>
80 <tr>
81 <td><p><span class="term">plugin</span></p></td>
82 <td>
83             <a class="link" href="gst-plugins-good-plugins-plugin-cairo.html#plugin-cairo">cairo</a>
84           </td>
85 </tr>
86 <tr>
87 <td><p><span class="term">author</span></p></td>
88 <td>David Schleef &lt;ds@schleef.org&gt;</td>
89 </tr>
90 <tr>
91 <td><p><span class="term">class</span></p></td>
92 <td>Filter/Editor/Video</td>
93 </tr>
94 </tbody>
95 </table></div>
96 </div>
97 <hr>
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">
102 <tbody>
103 <tr>
104 <td><p><span class="term">name</span></p></td>
105 <td>text_sink</td>
106 </tr>
107 <tr>
108 <td><p><span class="term">direction</span></p></td>
109 <td>sink</td>
110 </tr>
111 <tr>
112 <td><p><span class="term">presence</span></p></td>
113 <td>always</td>
114 </tr>
115 <tr>
116 <td><p><span class="term">details</span></p></td>
117 <td>text/plain</td>
118 </tr>
119 </tbody>
120 </table></div>
121 <div class="variablelist"><table border="0">
122 <col align="left" valign="top">
123 <tbody>
124 <tr>
125 <td><p><span class="term">name</span></p></td>
126 <td>video_sink</td>
127 </tr>
128 <tr>
129 <td><p><span class="term">direction</span></p></td>
130 <td>sink</td>
131 </tr>
132 <tr>
133 <td><p><span class="term">presence</span></p></td>
134 <td>always</td>
135 </tr>
136 <tr>
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>
139 </tr>
140 </tbody>
141 </table></div>
142 <div class="variablelist"><table border="0">
143 <col align="left" valign="top">
144 <tbody>
145 <tr>
146 <td><p><span class="term">name</span></p></td>
147 <td>src</td>
148 </tr>
149 <tr>
150 <td><p><span class="term">direction</span></p></td>
151 <td>source</td>
152 </tr>
153 <tr>
154 <td><p><span class="term">presence</span></p></td>
155 <td>always</td>
156 </tr>
157 <tr>
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>
160 </tr>
161 </tbody>
162 </table></div>
163 </div>
164 </div>
165 <p>
166 </p>
167 </div>
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>
173 <p>
174 </p>
175 </div>
176 </div>
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>
184 </div>
185 <hr>
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>
191 </div>
192 <hr>
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>
198 </div>
199 <hr>
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>
205 </div>
206 <hr>
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>
212 </div>
213 <hr>
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>
219 </div>
220 <hr>
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>
226 </div>
227 <hr>
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>
233 </div>
234 <hr>
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>
240 </div>
241 <hr>
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>
247 </div>
248 </div>
249 </div>
250 <div class="footer">
251 <hr>
252           Generated by GTK-Doc V1.18</div>
253 </body>
254 </html>