⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pango-glyph-storage.html

📁 linux
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<tbody><tr><td><span class="term">double&#160;<em class="structfield"><code>xx</code></em>;</span></td><td> 1st component of the transformation matrix</td></tr><tr><td><span class="term">double&#160;<em class="structfield"><code>xy</code></em>;</span></td><td> 2nd component of the transformation matrix</td></tr><tr><td><span class="term">double&#160;<em class="structfield"><code>yx</code></em>;</span></td><td> 3rd component of the transformation matrix</td></tr><tr><td><span class="term">double&#160;<em class="structfield"><code>yy</code></em>;</span></td><td> 4th component of the transformation matrix</td></tr><tr><td><span class="term">double&#160;<em class="structfield"><code>x0</code></em>;</span></td><td> x translation</td></tr><tr><td><span class="term">double&#160;<em class="structfield"><code>y0</code></em>;</span></td><td> y translation</td></tr></tbody></table></div><p class="since">Since  1.6</p></div><hr><div class="refsect2" lang="en"><a name="id3100415"></a><h3><a name="PANGO-TYPE-MATRIX:CAPS"></a>PANGO_TYPE_MATRIX</h3><a class="indexterm" name="id3100428"></a><pre class="programlisting">#define PANGO_TYPE_MATRIX (pango_matrix_get_type ())</pre><p>The GObject type for <a href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a></p><p></p></div><hr><div class="refsect2" lang="en"><a name="id3100454"></a><h3><a name="PANGO-MATRIX-INIT:CAPS"></a>PANGO_MATRIX_INIT</h3><a class="indexterm" name="id3100470"></a><pre class="programlisting">#define PANGO_MATRIX_INIT { 1., 0., 0., 1., 0., 0. }</pre><p>Constant that can be used to initialize a PangoMatrix tothe identity transform.</p><p></p><div class="informalexample"><pre class="programlisting">PangoMatrix matrix = PANGO_MATRIX_INIT;pango_matrix_rotate (&amp;matrix, 45.);</pre></div><p></p><p class="since">Since  1.6</p></div><hr><div class="refsect2" lang="en"><a name="id3100508"></a><h3><a name="pango-matrix-copy"></a>pango_matrix_copy ()</h3><a class="indexterm" name="id3100523"></a><pre class="programlisting"><a href="pango-Glyph-Storage.html#PangoMatrix">PangoMatrix</a>*        pango_matrix_copy                   (const <a href="pango-Glyph-Storage.html#PangoMatrix">PangoMatrix</a> *matrix);</pre><p>Copies a <a href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></td><td> a <a href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, can be <ahref="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td><td> the newly allocated <a href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, which should              be freed with <a href="pango-Glyph-Storage.html#pango-matrix-free"><code class="function">pango_matrix_free()</code></a>, or <ahref="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if              <em class="parameter"><code>matrix</code></em> was <ahref="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td></tr></tbody></table></div><p class="since">Since  1.6</p></div><hr><div class="refsect2" lang="en"><a name="id3100661"></a><h3><a name="pango-matrix-free"></a>pango_matrix_free ()</h3><a class="indexterm" name="id3100676"></a><pre class="programlisting">void                pango_matrix_free                   (<a href="pango-Glyph-Storage.html#PangoMatrix">PangoMatrix</a> *matrix);</pre><p>Free a <a href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> created with <a href="pango-Glyph-Storage.html#pango-matrix-copy"><code class="function">pango_matrix_copy()</code></a>.Does nothing if <em class="parameter"><code>matrix</code></em> is <ahref="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></td><td> a <a href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, or <ahref="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></td></tr></tbody></table></div><p class="since">Since  1.6</p></div><hr><div class="refsect2" lang="en"><a name="id3100785"></a><h3><a name="pango-matrix-translate"></a>pango_matrix_translate ()</h3><a class="indexterm" name="id3100800"></a><pre class="programlisting">void                pango_matrix_translate              (<a href="pango-Glyph-Storage.html#PangoMatrix">PangoMatrix</a> *matrix,                                                         double tx,                                                         double ty);</pre><p>Changes the transformation represented by <em class="parameter"><code>matrix</code></em> to be thetransformation given by first translating by (<em class="parameter"><code>tx</code></em>, <em class="parameter"><code>ty</code></em>)then applying the original transformation.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></td><td> a <a href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a></td></tr><tr><td><span class="term"><em class="parameter"><code>tx</code></em>&#160;:</span></td><td> amount to translate in the X direction</td></tr><tr><td><span class="term"><em class="parameter"><code>ty</code></em>&#160;:</span></td><td> amount to translate in the Y direction</td></tr></tbody></table></div><p class="since">Since  1.6</p></div><hr><div class="refsect2" lang="en"><a name="id3100927"></a><h3><a name="pango-matrix-scale"></a>pango_matrix_scale ()</h3><a class="indexterm" name="id3100943"></a><pre class="programlisting">void                pango_matrix_scale                  (<a href="pango-Glyph-Storage.html#PangoMatrix">PangoMatrix</a> *matrix,                                                         double scale_x,                                                         double scale_y);</pre><p>Changes the transformation represented by <em class="parameter"><code>matrix</code></em> to be thetransformation given by first scaling by <em class="parameter"><code>sx</code></em> in the X directionand <em class="parameter"><code>sy</code></em> in the Y direction then applying the originaltransformation.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></td><td> a <a href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a></td></tr><tr><td><span class="term"><em class="parameter"><code>scale_x</code></em>&#160;:</span></td><td> amount to scale by in X direction</td></tr><tr><td><span class="term"><em class="parameter"><code>scale_y</code></em>&#160;:</span></td><td> amount to scale by in Y direction</td></tr></tbody></table></div><p class="since">Since  1.6</p></div><hr><div class="refsect2" lang="en"><a name="id3101072"></a><h3><a name="pango-matrix-rotate"></a>pango_matrix_rotate ()</h3><a class="indexterm" name="id3101087"></a><pre class="programlisting">void                pango_matrix_rotate                 (<a href="pango-Glyph-Storage.html#PangoMatrix">PangoMatrix</a> *matrix,                                                         double degrees);</pre><p>Changes the transformation represented by <em class="parameter"><code>matrix</code></em> to be thetransformation given by first rotating by <em class="parameter"><code>degrees</code></em> degreescounter-clockwise then applying the original transformation.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></td><td> a <a href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a></td></tr><tr><td><span class="term"><em class="parameter"><code>degrees</code></em>&#160;:</span></td><td> degrees to rotate counter-clockwise</td></tr></tbody></table></div><p class="since">Since  1.6</p></div><hr><div class="refsect2" lang="en"><a name="id3101187"></a><h3><a name="pango-matrix-concat"></a>pango_matrix_concat ()</h3><a class="indexterm" name="id3101203"></a><pre class="programlisting">void                pango_matrix_concat                 (<a href="pango-Glyph-Storage.html#PangoMatrix">PangoMatrix</a> *matrix,                                                         const <a href="pango-Glyph-Storage.html#PangoMatrix">PangoMatrix</a> *new_matrix);</pre><p>Changes the transformation represented by <em class="parameter"><code>matrix</code></em> to be thetransformation given by first applying transformationgiven by <em class="parameter"><code>new_matrix</code></em> then applying the original transformation.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></td><td> a <a href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a></td></tr><tr><td><span class="term"><em class="parameter"><code>new_matrix</code></em>&#160;:</span></td><td> a <a href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a></td></tr></tbody></table></div><p class="since">Since  1.6</p></div><hr><div class="refsect2" lang="en"><a name="id3101310"></a><h3><a name="pango-matrix-transform-point"></a>pango_matrix_transform_point ()</h3><a class="indexterm" name="id3101325"></a><pre class="programlisting">void                pango_matrix_transform_point        (const <a href="pango-Glyph-Storage.html#PangoMatrix">PangoMatrix</a> *matrix,                                                         double *x,                                                         double *y);</pre><p>Transforms the point (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>) by <em class="parameter"><code>matrix</code></em>.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></td><td> a <a href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, or <ahref="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></td></tr>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -