mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-07 23:00:25 +01:00
added missing xml/cairo_set_target_image.xml
This commit is contained in:
parent
c3fe1bbe33
commit
554726563f
13 changed files with 79 additions and 21 deletions
|
|
@ -9,12 +9,12 @@
|
|||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_arc (cairo_t *cr, double xc, double yc, double radius, double angle1, double angle2);</programlisting>
|
||||
void cairo_arc (<link linkend="cairo_t">cairo_t</link> *cr, double xc, double yc, double radius, double angle1, double angle2);</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>a cairo_t</simpara>
|
||||
<simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
|
|
|||
|
|
@ -9,12 +9,12 @@
|
|||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_arc_negative (cairo_t *cr, double xc, double yc, double radius, double angle1, double angle2);</programlisting>
|
||||
void cairo_arc_negative (<link linkend="cairo_t">cairo_t</link> *cr, double xc, double yc, double radius, double angle1, double angle2);</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>a cairo_t</simpara>
|
||||
<simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>a cairo_t</simpara>
|
||||
<simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
returns pointer to the current cairo_font_t object in the cairo_t
|
||||
returns pointer to the current cairo_font_t object in the <link linkend="cairo_t">cairo_t</link>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ void cairo_current_font_extents (<link linkend="cairo_t">cairo_t</link> *cr, cai
|
|||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>a cairo_t</simpara>
|
||||
<simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_curve_to (cairo_t *cr, double x1, double y1, double x2, double y2, double x3, double y3);</programlisting>
|
||||
void cairo_curve_to (<link linkend="cairo_t">cairo_t</link> *cr, double x1, double y1, double x2, double y2, double x3, double y3);</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
|
|
|
|||
|
|
@ -9,12 +9,12 @@
|
|||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_rectangle (cairo_t *cr, double x, double y, double width, double height);</programlisting>
|
||||
void cairo_rectangle (<link linkend="cairo_t">cairo_t</link> *cr, double x, double y, double width, double height);</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>a cairo_t</simpara>
|
||||
<simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
<refentry id="cairo_curve_to">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_curve_to</refentrytitle>
|
||||
<refentrytitle><link linkend="cairo_curve_to">cairo_curve_to</link></refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_curve_to</refname>
|
||||
<refname><link linkend="cairo_curve_to">cairo_curve_to</link></refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_curve_to (cairo_t *cr, double dx1, double dy1, double dx2, double dy2, double dx3, double dy3);</programlisting>
|
||||
void <link linkend="cairo_curve_to">cairo_curve_to</link> (<link linkend="cairo_t">cairo_t</link> *cr, double dx1, double dy1, double dx2, double dy2, double dx3, double dy3);</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>a cairo_t</simpara>
|
||||
<simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
|
@ -60,7 +60,7 @@
|
|||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_curve_to</secondary>
|
||||
<secondary><link linkend="cairo_curve_to">cairo_curve_to</link></secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
|
|
|
|||
|
|
@ -14,13 +14,13 @@ void cairo_set_font (<link linkend="cairo_t">cairo_t</link> *cr, cairo_font_t *f
|
|||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>a cairo_t</simpara>
|
||||
<simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>font</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>replaces the current cairo_font_t object in the cairo_t with font. The replaced font in the cairo_t will be destroyed if there are no other references to it.</simpara>
|
||||
<simpara>replaces the current cairo_font_t object in the <link linkend="cairo_t">cairo_t</link> with font. The replaced font in the <link linkend="cairo_t">cairo_t</link> will be destroyed if there are no other references to it.</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
|
|
|||
58
doc/reference/xml/cairo_set_target_image.xml
Normal file
58
doc/reference/xml/cairo_set_target_image.xml
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
<refentry id="cairo_set_target_image">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_set_target_image</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_set_target_image</refname>
|
||||
<refpurpose>set image for painting operations </refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_set_target_image (<link linkend="cairo_t">cairo_t</link> *cr,char *data, <link linkend="cairo_format_t">cairo_format_t</link> format, int width, int height, int stride)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>data</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>pointer to an user-allocated buffer of appropriate size</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>format</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>select color-format of image</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>width, height</parameter></term>
|
||||
<listitem>
|
||||
<simpara>width and height describe the visibles image size.</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>stride</parameter></term>
|
||||
<listitem>
|
||||
<simpara>stride is the actual with of the image and can be larger than with. It is requiered even if stride is equal to with.</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_set_target_image</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -35,7 +35,7 @@ void cairo_set_target_surface (<link linkend="cairo_t">cairo_t</link> *cr, <link
|
|||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
Selects <varname>surfacee</varname> as the surface to draw on. If there already is a surface set, it will be substituted by <varname>surface</varname>. It references <varname>surface</varname>e to ensure that it will be calid at least until another surface was selected or the <link linkend="cairo_t">cairo_t</link> is destroyed.
|
||||
Selects <varname>surfacee</varname> as the surface to draw on. If there already is a surface set, it will be substituted by <varname>surface</varname>. It references <varname>surface</varname>e to ensure that it will be valid at least until another surface was selected or the <link linkend="cairo_t">cairo_t</link> is destroyed.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ void cairo_show_glyphs (<link linkend="cairo_t">cairo_t</link> *cr, cairo_glyph_
|
|||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>a cairo_t</simpara>
|
||||
<simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ void cairo_show_text (<link linkend="cairo_t">cairo_t</link> *cr, const unsigned
|
|||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>a cairo_t</simpara>
|
||||
<simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_transform_font (<link linkend="cairo_t">cairo_t</link> *cr, cairo_matrix_t *matrix);</programlisting>
|
||||
void cairo_transform_font (<link linkend="cairo_t">cairo_t</link> *cr, <link linkend="cairo_matrix_t">cairo_matrix_t</link> *matrix);</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue