| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta charset="UTF-8"> |
| 5 | <title>PopplerMovie: Poppler Reference Manual</title> |
| 6 | <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> |
| 7 | <link rel="home" href="index.html" title="Poppler Reference Manual"> |
| 8 | <link rel="up" href="ch01.html" title="Poppler"> |
| 9 | <link rel="prev" href="poppler-Poppler-Media.html" title="PopplerMedia"> |
| 10 | <link rel="next" href="PopplerStructureElement.html" title="PopplerStructureElement"> |
| 11 | <meta name="generator" content="GTK-Doc V1.35.1 (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="5"><tr valign="middle"> |
| 16 | <td width="100%" align="left" class="shortcuts"> |
| 17 | <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> |
| 18 | <a href="#poppler-Poppler-Movie.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> |
| 19 | <a href="#poppler-Poppler-Movie.object-hierarchy" class="shortcut">Object Hierarchy</a></span> |
| 20 | </td> |
| 21 | <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> |
| 22 | <td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> |
| 23 | <td><a accesskey="p" href="poppler-Poppler-Media.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> |
| 24 | <td><a accesskey="n" href="PopplerStructureElement.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> |
| 25 | </tr></table> |
| 26 | <div class="refentry"> |
| 27 | <a name="poppler-Poppler-Movie"></a><div class="titlepage"></div> |
| 28 | <div class="refnamediv"><table width="100%"><tr> |
| 29 | <td valign="top"> |
| 30 | <h2><span class="refentrytitle"><a name="poppler-Poppler-Movie.top_of_page"></a>PopplerMovie</span></h2> |
| 31 | <p>PopplerMovie — Movies</p> |
| 32 | </td> |
| 33 | <td class="gallery_image" valign="top" align="right"></td> |
| 34 | </tr></table></div> |
| 35 | <div class="refsect1"> |
| 36 | <a name="poppler-Poppler-Movie.functions"></a><h2>Functions</h2> |
| 37 | <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 38 | <colgroup> |
| 39 | <col width="150px" class="functions_proto_type"> |
| 40 | <col class="functions_proto_name"> |
| 41 | </colgroup> |
| 42 | <tbody> |
| 43 | <tr> |
| 44 | <td class="function_type"> |
| 45 | <span class="returnvalue">void</span> |
| 46 | </td> |
| 47 | <td class="function_name"> |
| 48 | <a class="link" href="poppler-Poppler-Movie.html#poppler-movie-get-aspect" title="poppler_movie_get_aspect ()">poppler_movie_get_aspect</a> <span class="c_punctuation">()</span> |
| 49 | </td> |
| 50 | </tr> |
| 51 | <tr> |
| 52 | <td class="function_type"> |
| 53 | <span class="returnvalue">guint64</span> |
| 54 | </td> |
| 55 | <td class="function_name"> |
| 56 | <a class="link" href="poppler-Poppler-Movie.html#poppler-movie-get-duration" title="poppler_movie_get_duration ()">poppler_movie_get_duration</a> <span class="c_punctuation">()</span> |
| 57 | </td> |
| 58 | </tr> |
| 59 | <tr> |
| 60 | <td class="function_type">const <span class="returnvalue">gchar</span> * |
| 61 | </td> |
| 62 | <td class="function_name"> |
| 63 | <a class="link" href="poppler-Poppler-Movie.html#poppler-movie-get-filename" title="poppler_movie_get_filename ()">poppler_movie_get_filename</a> <span class="c_punctuation">()</span> |
| 64 | </td> |
| 65 | </tr> |
| 66 | <tr> |
| 67 | <td class="function_type"> |
| 68 | <a class="link" href="poppler-Poppler-Movie.html#PopplerMoviePlayMode" title="enum PopplerMoviePlayMode"><span class="returnvalue">PopplerMoviePlayMode</span></a> |
| 69 | </td> |
| 70 | <td class="function_name"> |
| 71 | <a class="link" href="poppler-Poppler-Movie.html#poppler-movie-get-play-mode" title="poppler_movie_get_play_mode ()">poppler_movie_get_play_mode</a> <span class="c_punctuation">()</span> |
| 72 | </td> |
| 73 | </tr> |
| 74 | <tr> |
| 75 | <td class="function_type"> |
| 76 | <span class="returnvalue">gdouble</span> |
| 77 | </td> |
| 78 | <td class="function_name"> |
| 79 | <a class="link" href="poppler-Poppler-Movie.html#poppler-movie-get-rate" title="poppler_movie_get_rate ()">poppler_movie_get_rate</a> <span class="c_punctuation">()</span> |
| 80 | </td> |
| 81 | </tr> |
| 82 | <tr> |
| 83 | <td class="function_type"> |
| 84 | <span class="returnvalue">gushort</span> |
| 85 | </td> |
| 86 | <td class="function_name"> |
| 87 | <a class="link" href="poppler-Poppler-Movie.html#poppler-movie-get-rotation-angle" title="poppler_movie_get_rotation_angle ()">poppler_movie_get_rotation_angle</a> <span class="c_punctuation">()</span> |
| 88 | </td> |
| 89 | </tr> |
| 90 | <tr> |
| 91 | <td class="function_type"> |
| 92 | <span class="returnvalue">guint64</span> |
| 93 | </td> |
| 94 | <td class="function_name"> |
| 95 | <a class="link" href="poppler-Poppler-Movie.html#poppler-movie-get-start" title="poppler_movie_get_start ()">poppler_movie_get_start</a> <span class="c_punctuation">()</span> |
| 96 | </td> |
| 97 | </tr> |
| 98 | <tr> |
| 99 | <td class="function_type"> |
| 100 | <span class="returnvalue">gdouble</span> |
| 101 | </td> |
| 102 | <td class="function_name"> |
| 103 | <a class="link" href="poppler-Poppler-Movie.html#poppler-movie-get-volume" title="poppler_movie_get_volume ()">poppler_movie_get_volume</a> <span class="c_punctuation">()</span> |
| 104 | </td> |
| 105 | </tr> |
| 106 | <tr> |
| 107 | <td class="function_type"> |
| 108 | <span class="returnvalue">gboolean</span> |
| 109 | </td> |
| 110 | <td class="function_name"> |
| 111 | <a class="link" href="poppler-Poppler-Movie.html#poppler-movie-is-synchronous" title="poppler_movie_is_synchronous ()">poppler_movie_is_synchronous</a> <span class="c_punctuation">()</span> |
| 112 | </td> |
| 113 | </tr> |
| 114 | <tr> |
| 115 | <td class="function_type"> |
| 116 | <span class="returnvalue">gboolean</span> |
| 117 | </td> |
| 118 | <td class="function_name"> |
| 119 | <a class="link" href="poppler-Poppler-Movie.html#poppler-movie-need-poster" title="poppler_movie_need_poster ()">poppler_movie_need_poster</a> <span class="c_punctuation">()</span> |
| 120 | </td> |
| 121 | </tr> |
| 122 | <tr> |
| 123 | <td class="function_type"> |
| 124 | <span class="returnvalue">gboolean</span> |
| 125 | </td> |
| 126 | <td class="function_name"> |
| 127 | <a class="link" href="poppler-Poppler-Movie.html#poppler-movie-show-controls" title="poppler_movie_show_controls ()">poppler_movie_show_controls</a> <span class="c_punctuation">()</span> |
| 128 | </td> |
| 129 | </tr> |
| 130 | </tbody> |
| 131 | </table></div> |
| 132 | </div> |
| 133 | <a name="PopplerMovie"></a><div class="refsect1"> |
| 134 | <a name="poppler-Poppler-Movie.other"></a><h2>Types and Values</h2> |
| 135 | <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 136 | <colgroup> |
| 137 | <col width="150px" class="other_proto_type"> |
| 138 | <col class="other_proto_name"> |
| 139 | </colgroup> |
| 140 | <tbody> |
| 141 | <tr> |
| 142 | <td class="datatype_keyword"> </td> |
| 143 | <td class="function_name"><a class="link" href="poppler-Poppler-Movie.html#PopplerMovie-struct" title="PopplerMovie">PopplerMovie</a></td> |
| 144 | </tr> |
| 145 | <tr> |
| 146 | <td class="datatype_keyword">enum</td> |
| 147 | <td class="function_name"><a class="link" href="poppler-Poppler-Movie.html#PopplerMoviePlayMode" title="enum PopplerMoviePlayMode">PopplerMoviePlayMode</a></td> |
| 148 | </tr> |
| 149 | </tbody> |
| 150 | </table></div> |
| 151 | </div> |
| 152 | <div class="refsect1"> |
| 153 | <a name="poppler-Poppler-Movie.object-hierarchy"></a><h2>Object Hierarchy</h2> |
| 154 | <pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a> |
| 155 | <span class="lineart">╰──</span> PopplerMoviePlayMode |
| 156 | GObject |
| 157 | <span class="lineart">╰──</span> PopplerMovie |
| 158 | </pre> |
| 159 | </div> |
| 160 | <div class="refsect1"> |
| 161 | <a name="poppler-Poppler-Movie.includes"></a><h2>Includes</h2> |
| 162 | <pre class="synopsis">#include <poppler.h> |
| 163 | </pre> |
| 164 | </div> |
| 165 | <div class="refsect1"> |
| 166 | <a name="poppler-Poppler-Movie.description"></a><h2>Description</h2> |
| 167 | </div> |
| 168 | <div class="refsect1"> |
| 169 | <a name="poppler-Poppler-Movie.functions_details"></a><h2>Functions</h2> |
| 170 | <div class="refsect2"> |
| 171 | <a name="poppler-movie-get-aspect"></a><h3>poppler_movie_get_aspect ()</h3> |
| 172 | <pre class="programlisting"><span class="returnvalue">void</span> |
| 173 | poppler_movie_get_aspect (<em class="parameter"><code><a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a> *poppler_movie</code></em>, |
| 174 | <em class="parameter"><code><span class="type">gint</span> *width</code></em>, |
| 175 | <em class="parameter"><code><span class="type">gint</span> *height</code></em>);</pre> |
| 176 | <p>Returns the dimensions of the movie's bounding box (in pixels). |
| 177 | The respective PDF movie dictionary entry is optional; if missing, |
| 178 | -1x-1 will be returned.</p> |
| 179 | <div class="refsect3"> |
| 180 | <a name="poppler-movie-get-aspect.parameters"></a><h4>Parameters</h4> |
| 181 | <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 182 | <colgroup> |
| 183 | <col width="150px" class="parameters_name"> |
| 184 | <col class="parameters_description"> |
| 185 | <col width="200px" class="parameters_annotations"> |
| 186 | </colgroup> |
| 187 | <tbody> |
| 188 | <tr> |
| 189 | <td class="parameter_name"><p>poppler_movie</p></td> |
| 190 | <td class="parameter_description"><p>a <a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a></p></td> |
| 191 | <td class="parameter_annotations"> </td> |
| 192 | </tr> |
| 193 | <tr> |
| 194 | <td class="parameter_name"><p>width</p></td> |
| 195 | <td class="parameter_description"><p>width of the movie's bounding box</p></td> |
| 196 | <td class="parameter_annotations"> </td> |
| 197 | </tr> |
| 198 | <tr> |
| 199 | <td class="parameter_name"><p>height</p></td> |
| 200 | <td class="parameter_description"><p>height of the movie's bounding box</p></td> |
| 201 | <td class="parameter_annotations"> </td> |
| 202 | </tr> |
| 203 | </tbody> |
| 204 | </table></div> |
| 205 | </div> |
| 206 | <p class="since">Since: <a class="link" href="api-index-0-89.html#api-index-0.89">0.89</a></p> |
| 207 | </div> |
| 208 | <hr> |
| 209 | <div class="refsect2"> |
| 210 | <a name="poppler-movie-get-duration"></a><h3>poppler_movie_get_duration ()</h3> |
| 211 | <pre class="programlisting"><span class="returnvalue">guint64</span> |
| 212 | poppler_movie_get_duration (<em class="parameter"><code><a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a> *poppler_movie</code></em>);</pre> |
| 213 | <p>Returns the duration of the movie playback</p> |
| 214 | <div class="refsect3"> |
| 215 | <a name="poppler-movie-get-duration.parameters"></a><h4>Parameters</h4> |
| 216 | <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 217 | <colgroup> |
| 218 | <col width="150px" class="parameters_name"> |
| 219 | <col class="parameters_description"> |
| 220 | <col width="200px" class="parameters_annotations"> |
| 221 | </colgroup> |
| 222 | <tbody><tr> |
| 223 | <td class="parameter_name"><p>poppler_movie</p></td> |
| 224 | <td class="parameter_description"><p>a <a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a></p></td> |
| 225 | <td class="parameter_annotations"> </td> |
| 226 | </tr></tbody> |
| 227 | </table></div> |
| 228 | </div> |
| 229 | <div class="refsect3"> |
| 230 | <a name="poppler-movie-get-duration.returns"></a><h4>Returns</h4> |
| 231 | <p> the duration of the movie playback (in ns)</p> |
| 232 | </div> |
| 233 | <p class="since">Since: <a class="link" href="api-index-0-80.html#api-index-0.80">0.80</a></p> |
| 234 | </div> |
| 235 | <hr> |
| 236 | <div class="refsect2"> |
| 237 | <a name="poppler-movie-get-filename"></a><h3>poppler_movie_get_filename ()</h3> |
| 238 | <pre class="programlisting">const <span class="returnvalue">gchar</span> * |
| 239 | poppler_movie_get_filename (<em class="parameter"><code><a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a> *poppler_movie</code></em>);</pre> |
| 240 | <p>Returns the local filename identifying a self-describing movie file</p> |
| 241 | <div class="refsect3"> |
| 242 | <a name="poppler-movie-get-filename.parameters"></a><h4>Parameters</h4> |
| 243 | <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 244 | <colgroup> |
| 245 | <col width="150px" class="parameters_name"> |
| 246 | <col class="parameters_description"> |
| 247 | <col width="200px" class="parameters_annotations"> |
| 248 | </colgroup> |
| 249 | <tbody><tr> |
| 250 | <td class="parameter_name"><p>poppler_movie</p></td> |
| 251 | <td class="parameter_description"><p>a <a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a></p></td> |
| 252 | <td class="parameter_annotations"> </td> |
| 253 | </tr></tbody> |
| 254 | </table></div> |
| 255 | </div> |
| 256 | <div class="refsect3"> |
| 257 | <a name="poppler-movie-get-filename.returns"></a><h4>Returns</h4> |
| 258 | <p> a local filename, return value is owned by <a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a> and |
| 259 | should not be freed</p> |
| 260 | </div> |
| 261 | <p class="since">Since: <a class="link" href="api-index-0-14.html#api-index-0.14">0.14</a></p> |
| 262 | </div> |
| 263 | <hr> |
| 264 | <div class="refsect2"> |
| 265 | <a name="poppler-movie-get-play-mode"></a><h3>poppler_movie_get_play_mode ()</h3> |
| 266 | <pre class="programlisting"><a class="link" href="poppler-Poppler-Movie.html#PopplerMoviePlayMode" title="enum PopplerMoviePlayMode"><span class="returnvalue">PopplerMoviePlayMode</span></a> |
| 267 | poppler_movie_get_play_mode (<em class="parameter"><code><a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a> *poppler_movie</code></em>);</pre> |
| 268 | <p>Returns the play mode of <em class="parameter"><code>poppler_movie</code></em> |
| 269 | .</p> |
| 270 | <div class="refsect3"> |
| 271 | <a name="poppler-movie-get-play-mode.parameters"></a><h4>Parameters</h4> |
| 272 | <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 273 | <colgroup> |
| 274 | <col width="150px" class="parameters_name"> |
| 275 | <col class="parameters_description"> |
| 276 | <col width="200px" class="parameters_annotations"> |
| 277 | </colgroup> |
| 278 | <tbody><tr> |
| 279 | <td class="parameter_name"><p>poppler_movie</p></td> |
| 280 | <td class="parameter_description"><p>a <a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a></p></td> |
| 281 | <td class="parameter_annotations"> </td> |
| 282 | </tr></tbody> |
| 283 | </table></div> |
| 284 | </div> |
| 285 | <div class="refsect3"> |
| 286 | <a name="poppler-movie-get-play-mode.returns"></a><h4>Returns</h4> |
| 287 | <p> a <a class="link" href="poppler-Poppler-Movie.html#PopplerMoviePlayMode" title="enum PopplerMoviePlayMode"><span class="type">PopplerMoviePlayMode</span></a>.</p> |
| 288 | </div> |
| 289 | <p class="since">Since: <a class="link" href="api-index-0-54.html#api-index-0.54">0.54</a></p> |
| 290 | </div> |
| 291 | <hr> |
| 292 | <div class="refsect2"> |
| 293 | <a name="poppler-movie-get-rate"></a><h3>poppler_movie_get_rate ()</h3> |
| 294 | <pre class="programlisting"><span class="returnvalue">gdouble</span> |
| 295 | poppler_movie_get_rate (<em class="parameter"><code><a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a> *poppler_movie</code></em>);</pre> |
| 296 | <p>Returns the relative speed of the movie</p> |
| 297 | <div class="refsect3"> |
| 298 | <a name="poppler-movie-get-rate.parameters"></a><h4>Parameters</h4> |
| 299 | <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 300 | <colgroup> |
| 301 | <col width="150px" class="parameters_name"> |
| 302 | <col class="parameters_description"> |
| 303 | <col width="200px" class="parameters_annotations"> |
| 304 | </colgroup> |
| 305 | <tbody><tr> |
| 306 | <td class="parameter_name"><p>poppler_movie</p></td> |
| 307 | <td class="parameter_description"><p>a <a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a></p></td> |
| 308 | <td class="parameter_annotations"> </td> |
| 309 | </tr></tbody> |
| 310 | </table></div> |
| 311 | </div> |
| 312 | <div class="refsect3"> |
| 313 | <a name="poppler-movie-get-rate.returns"></a><h4>Returns</h4> |
| 314 | <p> the relative speed of the movie (1 means no change)</p> |
| 315 | </div> |
| 316 | <p class="since">Since: <a class="link" href="api-index-0-80.html#api-index-0.80">0.80</a></p> |
| 317 | </div> |
| 318 | <hr> |
| 319 | <div class="refsect2"> |
| 320 | <a name="poppler-movie-get-rotation-angle"></a><h3>poppler_movie_get_rotation_angle ()</h3> |
| 321 | <pre class="programlisting"><span class="returnvalue">gushort</span> |
| 322 | poppler_movie_get_rotation_angle (<em class="parameter"><code><a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a> *poppler_movie</code></em>);</pre> |
| 323 | <p>Returns the rotation angle</p> |
| 324 | <div class="refsect3"> |
| 325 | <a name="poppler-movie-get-rotation-angle.parameters"></a><h4>Parameters</h4> |
| 326 | <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 327 | <colgroup> |
| 328 | <col width="150px" class="parameters_name"> |
| 329 | <col class="parameters_description"> |
| 330 | <col width="200px" class="parameters_annotations"> |
| 331 | </colgroup> |
| 332 | <tbody><tr> |
| 333 | <td class="parameter_name"><p>poppler_movie</p></td> |
| 334 | <td class="parameter_description"><p>a <a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a></p></td> |
| 335 | <td class="parameter_annotations"> </td> |
| 336 | </tr></tbody> |
| 337 | </table></div> |
| 338 | </div> |
| 339 | <div class="refsect3"> |
| 340 | <a name="poppler-movie-get-rotation-angle.returns"></a><h4>Returns</h4> |
| 341 | <p> the number of degrees the movie should be rotated (positive, |
| 342 | multiples of 90: 0, 90, 180, 270)</p> |
| 343 | </div> |
| 344 | <p class="since">Since: <a class="link" href="api-index-0-80.html#api-index-0.80">0.80</a></p> |
| 345 | </div> |
| 346 | <hr> |
| 347 | <div class="refsect2"> |
| 348 | <a name="poppler-movie-get-start"></a><h3>poppler_movie_get_start ()</h3> |
| 349 | <pre class="programlisting"><span class="returnvalue">guint64</span> |
| 350 | poppler_movie_get_start (<em class="parameter"><code><a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a> *poppler_movie</code></em>);</pre> |
| 351 | <p>Returns the start position of the movie playback</p> |
| 352 | <div class="refsect3"> |
| 353 | <a name="poppler-movie-get-start.parameters"></a><h4>Parameters</h4> |
| 354 | <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 355 | <colgroup> |
| 356 | <col width="150px" class="parameters_name"> |
| 357 | <col class="parameters_description"> |
| 358 | <col width="200px" class="parameters_annotations"> |
| 359 | </colgroup> |
| 360 | <tbody><tr> |
| 361 | <td class="parameter_name"><p>poppler_movie</p></td> |
| 362 | <td class="parameter_description"><p>a <a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a></p></td> |
| 363 | <td class="parameter_annotations"> </td> |
| 364 | </tr></tbody> |
| 365 | </table></div> |
| 366 | </div> |
| 367 | <div class="refsect3"> |
| 368 | <a name="poppler-movie-get-start.returns"></a><h4>Returns</h4> |
| 369 | <p> the start position of the movie playback (in ns)</p> |
| 370 | </div> |
| 371 | <p class="since">Since: <a class="link" href="api-index-0-80.html#api-index-0.80">0.80</a></p> |
| 372 | </div> |
| 373 | <hr> |
| 374 | <div class="refsect2"> |
| 375 | <a name="poppler-movie-get-volume"></a><h3>poppler_movie_get_volume ()</h3> |
| 376 | <pre class="programlisting"><span class="returnvalue">gdouble</span> |
| 377 | poppler_movie_get_volume (<em class="parameter"><code><a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a> *poppler_movie</code></em>);</pre> |
| 378 | <p>Returns the playback audio volume</p> |
| 379 | <div class="refsect3"> |
| 380 | <a name="poppler-movie-get-volume.parameters"></a><h4>Parameters</h4> |
| 381 | <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 382 | <colgroup> |
| 383 | <col width="150px" class="parameters_name"> |
| 384 | <col class="parameters_description"> |
| 385 | <col width="200px" class="parameters_annotations"> |
| 386 | </colgroup> |
| 387 | <tbody><tr> |
| 388 | <td class="parameter_name"><p>poppler_movie</p></td> |
| 389 | <td class="parameter_description"><p>a <a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a></p></td> |
| 390 | <td class="parameter_annotations"> </td> |
| 391 | </tr></tbody> |
| 392 | </table></div> |
| 393 | </div> |
| 394 | <div class="refsect3"> |
| 395 | <a name="poppler-movie-get-volume.returns"></a><h4>Returns</h4> |
| 396 | <p> volume setting for the movie (0.0 - 1.0)</p> |
| 397 | </div> |
| 398 | <p class="since">Since: <a class="link" href="api-index-0-80.html#api-index-0.80">0.80</a></p> |
| 399 | </div> |
| 400 | <hr> |
| 401 | <div class="refsect2"> |
| 402 | <a name="poppler-movie-is-synchronous"></a><h3>poppler_movie_is_synchronous ()</h3> |
| 403 | <pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 404 | poppler_movie_is_synchronous (<em class="parameter"><code><a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a> *poppler_movie</code></em>);</pre> |
| 405 | <p>Returns whether the user must wait for the movie to be finished before |
| 406 | the PDF viewer accepts any interactive action</p> |
| 407 | <div class="refsect3"> |
| 408 | <a name="poppler-movie-is-synchronous.parameters"></a><h4>Parameters</h4> |
| 409 | <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 410 | <colgroup> |
| 411 | <col width="150px" class="parameters_name"> |
| 412 | <col class="parameters_description"> |
| 413 | <col width="200px" class="parameters_annotations"> |
| 414 | </colgroup> |
| 415 | <tbody><tr> |
| 416 | <td class="parameter_name"><p>poppler_movie</p></td> |
| 417 | <td class="parameter_description"><p>a <a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a></p></td> |
| 418 | <td class="parameter_annotations"> </td> |
| 419 | </tr></tbody> |
| 420 | </table></div> |
| 421 | </div> |
| 422 | <div class="refsect3"> |
| 423 | <a name="poppler-movie-is-synchronous.returns"></a><h4>Returns</h4> |
| 424 | <p> <code class="literal">TRUE</code> if yes, <code class="literal">FALSE</code> otherwise</p> |
| 425 | </div> |
| 426 | <p class="since">Since: <a class="link" href="api-index-0-80.html#api-index-0.80">0.80</a></p> |
| 427 | </div> |
| 428 | <hr> |
| 429 | <div class="refsect2"> |
| 430 | <a name="poppler-movie-need-poster"></a><h3>poppler_movie_need_poster ()</h3> |
| 431 | <pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 432 | poppler_movie_need_poster (<em class="parameter"><code><a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a> *poppler_movie</code></em>);</pre> |
| 433 | <p>Returns whether a poster image representing the Movie |
| 434 | shall be displayed. The poster image must be retrieved |
| 435 | from the movie file.</p> |
| 436 | <div class="refsect3"> |
| 437 | <a name="poppler-movie-need-poster.parameters"></a><h4>Parameters</h4> |
| 438 | <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 439 | <colgroup> |
| 440 | <col width="150px" class="parameters_name"> |
| 441 | <col class="parameters_description"> |
| 442 | <col width="200px" class="parameters_annotations"> |
| 443 | </colgroup> |
| 444 | <tbody><tr> |
| 445 | <td class="parameter_name"><p>poppler_movie</p></td> |
| 446 | <td class="parameter_description"><p>a <a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a></p></td> |
| 447 | <td class="parameter_annotations"> </td> |
| 448 | </tr></tbody> |
| 449 | </table></div> |
| 450 | </div> |
| 451 | <div class="refsect3"> |
| 452 | <a name="poppler-movie-need-poster.returns"></a><h4>Returns</h4> |
| 453 | <p> <code class="literal">TRUE</code> if move needs a poster image, <code class="literal">FALSE</code> otherwise</p> |
| 454 | </div> |
| 455 | <p class="since">Since: <a class="link" href="api-index-0-14.html#api-index-0.14">0.14</a></p> |
| 456 | </div> |
| 457 | <hr> |
| 458 | <div class="refsect2"> |
| 459 | <a name="poppler-movie-show-controls"></a><h3>poppler_movie_show_controls ()</h3> |
| 460 | <pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 461 | poppler_movie_show_controls (<em class="parameter"><code><a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a> *poppler_movie</code></em>);</pre> |
| 462 | <p>Returns whether to display a movie controller bar while playing the movie</p> |
| 463 | <div class="refsect3"> |
| 464 | <a name="poppler-movie-show-controls.parameters"></a><h4>Parameters</h4> |
| 465 | <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 466 | <colgroup> |
| 467 | <col width="150px" class="parameters_name"> |
| 468 | <col class="parameters_description"> |
| 469 | <col width="200px" class="parameters_annotations"> |
| 470 | </colgroup> |
| 471 | <tbody><tr> |
| 472 | <td class="parameter_name"><p>poppler_movie</p></td> |
| 473 | <td class="parameter_description"><p>a <a class="link" href="poppler-Poppler-Movie.html#PopplerMovie"><span class="type">PopplerMovie</span></a></p></td> |
| 474 | <td class="parameter_annotations"> </td> |
| 475 | </tr></tbody> |
| 476 | </table></div> |
| 477 | </div> |
| 478 | <div class="refsect3"> |
| 479 | <a name="poppler-movie-show-controls.returns"></a><h4>Returns</h4> |
| 480 | <p> <code class="literal">TRUE</code> if controller bar should be displayed, <code class="literal">FALSE</code> otherwise</p> |
| 481 | </div> |
| 482 | <p class="since">Since: <a class="link" href="api-index-0-14.html#api-index-0.14">0.14</a></p> |
| 483 | </div> |
| 484 | </div> |
| 485 | <div class="refsect1"> |
| 486 | <a name="poppler-Poppler-Movie.other_details"></a><h2>Types and Values</h2> |
| 487 | <div class="refsect2"> |
| 488 | <a name="PopplerMovie-struct"></a><h3>PopplerMovie</h3> |
| 489 | <pre class="programlisting">typedef struct _PopplerMovie PopplerMovie;</pre> |
| 490 | <p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> movie.</p> |
| 491 | <p>Since 25.06 this type supports g_autoptr</p> |
| 492 | </div> |
| 493 | <hr> |
| 494 | <div class="refsect2"> |
| 495 | <a name="PopplerMoviePlayMode"></a><h3>enum PopplerMoviePlayMode</h3> |
| 496 | <p>Play mode enum values.</p> |
| 497 | <div class="refsect3"> |
| 498 | <a name="PopplerMoviePlayMode.members"></a><h4>Members</h4> |
| 499 | <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 500 | <colgroup> |
| 501 | <col width="300px" class="enum_members_name"> |
| 502 | <col class="enum_members_description"> |
| 503 | <col width="200px" class="enum_members_annotations"> |
| 504 | </colgroup> |
| 505 | <tbody> |
| 506 | <tr> |
| 507 | <td class="enum_member_name"><p><a name="POPPLER-MOVIE-PLAY-MODE-ONCE:CAPS"></a>POPPLER_MOVIE_PLAY_MODE_ONCE</p></td> |
| 508 | <td class="enum_member_description"> |
| 509 | <p>the movie should be played once and controls should be closed at the end.</p> |
| 510 | </td> |
| 511 | <td class="enum_member_annotations"> </td> |
| 512 | </tr> |
| 513 | <tr> |
| 514 | <td class="enum_member_name"><p><a name="POPPLER-MOVIE-PLAY-MODE-OPEN:CAPS"></a>POPPLER_MOVIE_PLAY_MODE_OPEN</p></td> |
| 515 | <td class="enum_member_description"> |
| 516 | <p>the movie should be played once, but controls should be left open.</p> |
| 517 | </td> |
| 518 | <td class="enum_member_annotations"> </td> |
| 519 | </tr> |
| 520 | <tr> |
| 521 | <td class="enum_member_name"><p><a name="POPPLER-MOVIE-PLAY-MODE-REPEAT:CAPS"></a>POPPLER_MOVIE_PLAY_MODE_REPEAT</p></td> |
| 522 | <td class="enum_member_description"> |
| 523 | <p>the movie should be played in loop, until manually stopped.</p> |
| 524 | </td> |
| 525 | <td class="enum_member_annotations"> </td> |
| 526 | </tr> |
| 527 | <tr> |
| 528 | <td class="enum_member_name"><p><a name="POPPLER-MOVIE-PLAY-MODE-PALINDROME:CAPS"></a>POPPLER_MOVIE_PLAY_MODE_PALINDROME</p></td> |
| 529 | <td class="enum_member_description"> |
| 530 | <p>the movie should be played forward and backward, forward and backward, |
| 531 | and so forth, until manually stopped.</p> |
| 532 | </td> |
| 533 | <td class="enum_member_annotations"> </td> |
| 534 | </tr> |
| 535 | </tbody> |
| 536 | </table></div> |
| 537 | </div> |
| 538 | <p class="since">Since: <a class="link" href="api-index-0-54.html#api-index-0.54">0.54</a></p> |
| 539 | </div> |
| 540 | </div> |
| 541 | </div> |
| 542 | <div class="footer"> |
| 543 | <hr>Generated by GTK-Doc V1.35.1</div> |
| 544 | </body> |
| 545 | </html> |