mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-02 23:38:13 +02:00
src/cairo.[ch] src/cairo_font.c src/cairo_ft_font.c src/cairo_ps_surface.c src/cairo_xlib_surface.c: Move docs from docs/reference, with a fair bit of addition and rewriting.
Remove old-format docs. Add a AC_PREREQ(2.54) (Jason Dorje Short)
This commit is contained in:
parent
56c96d0140
commit
e0de000336
127 changed files with 601 additions and 4984 deletions
11
ChangeLog
11
ChangeLog
|
|
@ -1,3 +1,14 @@
|
|||
2005-01-27 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* src/cairo.[ch] src/cairo_font.c src/cairo_ft_font.c
|
||||
src/cairo_ps_surface.c src/cairo_xlib_surface.c: Move
|
||||
docs from docs/reference, with a fair bit of addition
|
||||
and rewriting.
|
||||
|
||||
* doc/reference/: Remove old-format docs.
|
||||
|
||||
* configure.in: Add a AC_PREREQ(2.54) (Jason Dorje Short)
|
||||
|
||||
2005-01-27 Kristian Høgsberg <krh@redhat.com>
|
||||
|
||||
* test/coverage-ref.png:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
AC_PREREQ(2.54)
|
||||
|
||||
AC_INIT(src/cairo.h)
|
||||
|
||||
dnl ===========================================================================
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ cairo_matrix_t
|
|||
|
||||
<!-- ##### FUNCTION cairo_matrix_create ##### -->
|
||||
<para>
|
||||
>
|
||||
|
||||
</para>
|
||||
|
||||
@Returns:
|
||||
|
|
|
|||
|
|
@ -1,16 +0,0 @@
|
|||
2003-10-16 Thomas Hunger <info@teh-web.de>
|
||||
|
||||
* xml/some started to document stuff from top to bottom
|
||||
|
||||
2003-10-16 Thomas Hunger <info@teh-web.de>
|
||||
|
||||
* xml/* changed all files in the xml directory to
|
||||
look more like gtk. now <link> elements may be
|
||||
embedded almost everywhere
|
||||
* added ruby script crossreferences which puts
|
||||
<link> tags around all known refentries
|
||||
|
||||
2003-10-15 Thomas Hunger <info@teh-web.de>
|
||||
|
||||
* doc.xml: some documentation skeleton
|
||||
* files for each entry can be found in xml/
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
How to transform the docs to html:
|
||||
call
|
||||
$ xmlto html doc.xml
|
||||
from within the reference directory
|
||||
|
||||
cross-referecing
|
||||
----------------
|
||||
there is a small ruby script which collects all id="" thingies from the xml files in xml and creates links around the symbols found in files.
|
||||
exceptions:
|
||||
- there is already a link around a symbol.
|
||||
- its part of a function: cairo_translate !=> <link>cairo_t</link>ranslate
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
d = Dir.glob("xml/*.xml")
|
||||
|
||||
ids = []
|
||||
|
||||
# collect symbols
|
||||
d.each do |file|
|
||||
f = File.new(file)
|
||||
buf = f.read
|
||||
ids << buf.scan(/.*id="(.*)".*/)
|
||||
end
|
||||
ids = ids.flatten
|
||||
|
||||
#resolve symbols
|
||||
d.each do |file|
|
||||
f = File.new(file,"r+")
|
||||
buf = f.read
|
||||
p file
|
||||
ids.each do |id|
|
||||
if "xml/"+id+".xml" == file
|
||||
next
|
||||
end
|
||||
re = Regexp.compile('([^"\w\d])('+id+')([^"\w\d])')
|
||||
buf.gsub!(re, '\1<link linkend="\2">\2</link>\3')
|
||||
buf.gsub!(/(<\/link>)+/, '\1')
|
||||
buf.gsub!(/(<link[^>]*>)+/, '\1')
|
||||
end
|
||||
f.rewind
|
||||
f.write buf
|
||||
f.rewind
|
||||
end
|
||||
|
|
@ -1,223 +0,0 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
|
||||
<!ENTITY cairo_create SYSTEM "xml/cairo_create.xml">
|
||||
<!ENTITY cairo_reference SYSTEM "xml/cairo_reference.xml">
|
||||
<!ENTITY cairo_destroy SYSTEM "xml/cairo_destroy.xml">
|
||||
<!ENTITY cairo_save SYSTEM "xml/cairo_save.xml">
|
||||
<!ENTITY cairo_restore SYSTEM "xml/cairo_restore.xml">
|
||||
<!ENTITY cairo_copy SYSTEM "xml/cairo_copy.xml">
|
||||
<!ENTITY cairo_push_group SYSTEM "xml/cairo_push_group.xml">
|
||||
<!ENTITY cairo_pop_group SYSTEM "xml/cairo_pop_group.xml">
|
||||
<!ENTITY cairo_set_target_surface SYSTEM "xml/cairo_set_target_surface.xml">
|
||||
<!ENTITY cairo_set_target_image SYSTEM "xml/cairo_set_target_image.xml">
|
||||
<!ENTITY cairo_set_target_ps SYSTEM "xml/cairo_set_target_ps.xml">
|
||||
<!ENTITY cairo_set_target_drawable SYSTEM "xml/cairo_set_target_drawable.xml">
|
||||
<!ENTITY cairo_set_target_xcb SYSTEM "xml/cairo_set_target_xcb.xml">
|
||||
<!ENTITY cairo_set_target_png SYSTEM "xml/cairo_set_target_png.xml">
|
||||
<!ENTITY cairo_set_operator SYSTEM "xml/cairo_set_operator.xml">
|
||||
<!ENTITY cairo_set_rgb_color SYSTEM "xml/cairo_set_rgb_color.xml">
|
||||
<!ENTITY cairo_set_alpha SYSTEM "xml/cairo_set_alpha.xml">
|
||||
<!ENTITY cairo_set_pattern SYSTEM "xml/cairo_set_pattern.xml">
|
||||
<!ENTITY cairo_set_tolerance SYSTEM "xml/cairo_set_tolerance.xml">
|
||||
<!ENTITY cairo_set_fill_rule SYSTEM "xml/cairo_set_fill_rule.xml">
|
||||
<!ENTITY cairo_set_line_width SYSTEM "xml/cairo_set_line_width.xml">
|
||||
<!ENTITY cairo_set_line_cap SYSTEM "xml/cairo_set_line_cap.xml">
|
||||
<!ENTITY cairo_set_line_join SYSTEM "xml/cairo_set_line_join.xml">
|
||||
<!ENTITY cairo_set_dash SYSTEM "xml/cairo_set_dash.xml">
|
||||
<!ENTITY cairo_set_miter_limit SYSTEM "xml/cairo_set_miter_limit.xml">
|
||||
<!ENTITY cairo_translate SYSTEM "xml/cairo_translate.xml">
|
||||
<!ENTITY cairo_scale SYSTEM "xml/cairo_scale.xml">
|
||||
<!ENTITY cairo_rotate SYSTEM "xml/cairo_rotate.xml">
|
||||
<!ENTITY cairo_default_matrix SYSTEM "xml/cairo_default_matrix.xml">
|
||||
<!ENTITY cairo_identity_matrix SYSTEM "xml/cairo_identity_matrix.xml">
|
||||
<!ENTITY cairo_transform_point SYSTEM "xml/cairo_transform_point.xml">
|
||||
<!ENTITY cairo_transform_distance SYSTEM "xml/cairo_transform_distance.xml">
|
||||
<!ENTITY cairo_inverse_transform_point SYSTEM "xml/cairo_inverse_transform_point.xml">
|
||||
<!ENTITY cairo_inverse_transform_distance SYSTEM "xml/cairo_inverse_transform_distance.xml">
|
||||
<!ENTITY cairo_new_path SYSTEM "xml/cairo_new_path.xml">
|
||||
<!ENTITY cairo_move_to SYSTEM "xml/cairo_move_to.xml">
|
||||
<!ENTITY cairo_line_to SYSTEM "xml/cairo_line_to.xml">
|
||||
<!ENTITY cairo_arc SYSTEM "xml/cairo_arc.xml">
|
||||
<!ENTITY cairo_arc_negative SYSTEM "xml/cairo_arc_negative.xml">
|
||||
<!ENTITY cairo_rel_move_to SYSTEM "xml/cairo_rel_move_to.xml">
|
||||
<!ENTITY cairo_rel_line_to SYSTEM "xml/cairo_rel_line_to.xml">
|
||||
<!ENTITY cairo_rectangle SYSTEM "xml/cairo_rectangle.xml">
|
||||
<!ENTITY cairo_curve_to SYSTEM "xml/cairo_curve_to.xml">
|
||||
<!ENTITY cairo_stroke_path SYSTEM "xml/cairo_stroke_path.xml">
|
||||
<!ENTITY cairo_close_path SYSTEM "xml/cairo_close_path.xml">
|
||||
<!ENTITY cairo_stroke SYSTEM "xml/cairo_stroke.xml">
|
||||
<!ENTITY cairo_fill SYSTEM "xml/cairo_fill.xml">
|
||||
<!ENTITY cairo_clip SYSTEM "xml/cairo_clip.xml">
|
||||
<!ENTITY cairo_select_font SYSTEM "xml/cairo_select_font.xml">
|
||||
<!ENTITY cairo_scale_font SYSTEM "xml/cairo_scale_font.xml">
|
||||
<!ENTITY cairo_set_font SYSTEM "xml/cairo_set_font.xml">
|
||||
<!ENTITY cairo_show_text SYSTEM "xml/cairo_show_text.xml">
|
||||
<!ENTITY cairo_text_extents SYSTEM "xml/cairo_text_extents.xml">
|
||||
<!ENTITY cairo_current_operator SYSTEM "xml/cairo_current_operator.xml">
|
||||
<!ENTITY cairo_current_rgb_color SYSTEM "xml/cairo_current_rgb_color.xml">
|
||||
<!ENTITY cairo_current_alpha SYSTEM "xml/cairo_current_alpha.xml">
|
||||
<!ENTITY cairo_current_tolerance SYSTEM "xml/cairo_current_tolerance.xml">
|
||||
<!ENTITY cairo_current_point SYSTEM "xml/cairo_current_point.xml">
|
||||
<!ENTITY cairo_current_fill_rule SYSTEM "xml/cairo_current_fill_rule.xml">
|
||||
<!ENTITY cairo_current_line_width SYSTEM "xml/cairo_current_line_width.xml">
|
||||
<!ENTITY cairo_current_line_cap SYSTEM "xml/cairo_current_line_cap.xml">
|
||||
<!ENTITY cairo_current_line_join SYSTEM "xml/cairo_current_line_join.xml">
|
||||
<!ENTITY cairo_current_miter_limit SYSTEM "xml/cairo_current_miter_limit.xml">
|
||||
<!ENTITY cairo_current_matrix SYSTEM "xml/cairo_current_matrix.xml">
|
||||
<!ENTITY cairo_current_target_surface SYSTEM "xml/cairo_current_target_surface.xml">
|
||||
<!ENTITY cairo_status SYSTEM "xml/cairo_status.xml">
|
||||
<!ENTITY cairo_status_string SYSTEM "xml/cairo_status_string.xml">
|
||||
<!ENTITY cairo_surface_reference SYSTEM "xml/cairo_surface_reference.xml">
|
||||
<!ENTITY cairo_surface_destroy SYSTEM "xml/cairo_surface_destroy.xml">
|
||||
<!ENTITY cairo_surface_clip_restore SYSTEM "xml/cairo_surface_clip_restore.xml">
|
||||
<!ENTITY cairo_surface_set_repeat SYSTEM "xml/cairo_surface_set_repeat.xml">
|
||||
<!ENTITY cairo_surface_set_matrix SYSTEM "xml/cairo_surface_set_matrix.xml">
|
||||
<!ENTITY cairo_surface_get_matrix SYSTEM "xml/cairo_surface_get_matrix.xml">
|
||||
<!ENTITY cairo_surface_set_filter SYSTEM "xml/cairo_surface_set_filter.xml">
|
||||
<!ENTITY cairo_matrix_create SYSTEM "xml/cairo_matrix_create.xml">
|
||||
<!ENTITY cairo_matrix_destroy SYSTEM "xml/cairo_matrix_destroy.xml">
|
||||
<!ENTITY cairo_matrix_copy SYSTEM "xml/cairo_matrix_copy.xml">
|
||||
<!ENTITY cairo_matrix_set_identity SYSTEM "xml/cairo_matrix_set_identity.xml">
|
||||
<!ENTITY cairo_matrix_translate SYSTEM "xml/cairo_matrix_translate.xml">
|
||||
<!ENTITY cairo_matrix_scale SYSTEM "xml/cairo_matrix_scale.xml">
|
||||
<!ENTITY cairo_matrix_rotate SYSTEM "xml/cairo_matrix_rotate.xml">
|
||||
<!ENTITY cairo_matrix_invert SYSTEM "xml/cairo_matrix_invert.xml">
|
||||
<!ENTITY cairo_matrix_multiply SYSTEM "xml/cairo_matrix_multiply.xml">
|
||||
<!ENTITY cairo_matrix_transform_distance SYSTEM "xml/cairo_matrix_transform_distance.xml">
|
||||
<!ENTITY cairo_matrix_transform_point SYSTEM "xml/cairo_matrix_transform_point.xml">
|
||||
<!ENTITY cairo_font_glyph_extents SYSTEM "xml/cairo_font_glyph_extents.xml">
|
||||
<!ENTITY cairo_ft_font_create SYSTEM "xml/cairo_ft_font_create.xml">
|
||||
<!ENTITY cairo_ft_font_create_for_ft_face SYSTEM "xml/cairo_ft_font_create_for_ft_face.xml">
|
||||
<!ENTITY cairo_ft_font_lock_face SYSTEM "xml/cairo_ft_font_lock_face.xml">
|
||||
<!ENTITY cairo_ft_font_unlock_face SYSTEM "xml/cairo_ft_font_unlock_face.xml">
|
||||
<!ENTITY cairo_ft_font_get_pattern SYSTEM "xml/cairo_ft_font_get_pattern.xml">
|
||||
<!ENTITY cairo_t SYSTEM "xml/cairo_t.xml">
|
||||
<!ENTITY cairo_font_t SYSTEM "xml/cairo_font_t.xml">
|
||||
<!ENTITY cairo_glyph_t SYSTEM "xml/cairo_glyph_t.xml">
|
||||
<!ENTITY cairo_matrix_t SYSTEM "xml/cairo_matrix_t.xml">
|
||||
<!ENTITY cairo_surface_t SYSTEM "xml/cairo_surface_t.xml">
|
||||
<!ENTITY cairo_format_t SYSTEM "xml/cairo_format_t.xml">
|
||||
<!ENTITY cairo_operator_t SYSTEM "xml/cairo_operator_t.xml">
|
||||
<!ENTITY cairo_fill_rule_t SYSTEM "xml/cairo_fill_rule_t.xml">
|
||||
<!ENTITY cairo_line_cap_t SYSTEM "xml/cairo_line_cap_t.xml">
|
||||
<!ENTITY cairo_matrix_t SYSTEM "xml/cairo_matrix_t.xml">
|
||||
<!ENTITY cairo_text_extents_t SYSTEM "xml/cairo_text_extents_t.xml">
|
||||
]>
|
||||
<book lang="en">
|
||||
<title>Cairo: A Vector Graphics Library</title>
|
||||
|
||||
|
||||
<reference>
|
||||
<title>functions</title>
|
||||
&cairo_create;
|
||||
&cairo_reference;
|
||||
&cairo_destroy;
|
||||
&cairo_save;
|
||||
&cairo_restore;
|
||||
&cairo_copy;
|
||||
&cairo_push_group;
|
||||
&cairo_pop_group;
|
||||
&cairo_set_target_surface;
|
||||
&cairo_set_target_image;
|
||||
&cairo_set_target_ps;
|
||||
&cairo_set_target_png;
|
||||
&cairo_set_target_drawable;
|
||||
&cairo_set_target_xcb;
|
||||
&cairo_set_operator;
|
||||
&cairo_set_rgb_color;
|
||||
&cairo_set_alpha;
|
||||
&cairo_set_pattern;
|
||||
&cairo_set_tolerance;
|
||||
&cairo_set_fill_rule;
|
||||
&cairo_set_line_width;
|
||||
&cairo_set_line_cap;
|
||||
&cairo_set_line_join;
|
||||
&cairo_set_dash;
|
||||
&cairo_set_miter_limit;
|
||||
&cairo_translate;
|
||||
&cairo_scale;
|
||||
&cairo_rotate;
|
||||
&cairo_default_matrix;
|
||||
&cairo_identity_matrix;
|
||||
&cairo_transform_point;
|
||||
&cairo_transform_distance;
|
||||
&cairo_inverse_transform_point;
|
||||
&cairo_inverse_transform_distance;
|
||||
&cairo_new_path;
|
||||
&cairo_move_to;
|
||||
&cairo_line_to;
|
||||
&cairo_arc;
|
||||
&cairo_arc_negative;
|
||||
&cairo_rel_move_to;
|
||||
&cairo_rel_line_to;
|
||||
&cairo_rectangle;
|
||||
&cairo_curve_to;
|
||||
&cairo_stroke_path;
|
||||
&cairo_close_path;
|
||||
&cairo_stroke;
|
||||
&cairo_fill;
|
||||
&cairo_clip;
|
||||
&cairo_select_font;
|
||||
&cairo_scale_font;
|
||||
&cairo_set_font;
|
||||
&cairo_show_text;
|
||||
&cairo_text_extents;
|
||||
&cairo_current_operator;
|
||||
&cairo_current_rgb_color;
|
||||
&cairo_current_alpha;
|
||||
&cairo_current_tolerance;
|
||||
&cairo_current_point;
|
||||
&cairo_current_fill_rule;
|
||||
&cairo_current_line_width;
|
||||
&cairo_current_line_cap;
|
||||
&cairo_current_line_join;
|
||||
&cairo_current_miter_limit;
|
||||
&cairo_current_matrix;
|
||||
&cairo_current_target_surface;
|
||||
&cairo_status;
|
||||
&cairo_status_string;
|
||||
&cairo_surface_reference;
|
||||
&cairo_surface_destroy;
|
||||
&cairo_surface_clip_restore;
|
||||
&cairo_surface_set_repeat;
|
||||
&cairo_surface_set_matrix;
|
||||
&cairo_surface_get_matrix;
|
||||
&cairo_surface_set_filter;
|
||||
&cairo_matrix_create;
|
||||
&cairo_matrix_destroy;
|
||||
&cairo_matrix_copy;
|
||||
&cairo_matrix_set_identity;
|
||||
&cairo_matrix_translate;
|
||||
&cairo_matrix_scale;
|
||||
&cairo_matrix_rotate;
|
||||
&cairo_matrix_invert;
|
||||
&cairo_matrix_multiply;
|
||||
&cairo_matrix_transform_distance;
|
||||
&cairo_matrix_transform_point;
|
||||
&cairo_font_glyph_extents;
|
||||
&cairo_ft_font_create;
|
||||
&cairo_ft_font_create_for_ft_face;
|
||||
&cairo_ft_font_lock_face;
|
||||
&cairo_ft_font_unlock_face;
|
||||
&cairo_ft_font_get_pattern;
|
||||
</reference>
|
||||
<reference>
|
||||
<title>types and enums</title>
|
||||
&cairo_t;
|
||||
&cairo_font_t;
|
||||
&cairo_glyph_t;
|
||||
&cairo_surface_t;
|
||||
&cairo_format_t;
|
||||
&cairo_operator_t;
|
||||
&cairo_fill_rule_t;
|
||||
&cairo_line_cap_t;
|
||||
&cairo_matrix_t;
|
||||
&cairo_text_extents_t;
|
||||
</reference>
|
||||
</book>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
<refentry id="cairo_arc">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_arc</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_arc</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<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 <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>xc, yc</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>center of arc (a full arc makes a circle)</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_arc</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
<refentry id="cairo_arc_negative">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_arc_negative</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_arc_negative</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<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 <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>xc, yc</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>center of the arc</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_arc_negative</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_clip">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_clip</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_clip</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_clip (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_clip</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_close_path">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_close_path</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_close_path</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_close_path (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_close_path</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
<refentry id="cairo_copy">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_copy</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_copy</refname>
|
||||
<refpurpose>copy contents from one <link linkend="cairo_t">cairo_t</link> to another</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_copy (<link linkend="cairo_t">cairo_t</link> *dest, <link linkend="cairo_t">cairo_t</link> *src)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>dest</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>an allocated <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>src</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara><link linkend="cairo_t">cairo_t</link> to copy</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_copy</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
This function copies all state information from src to dest. That includes not yet drawn paths and font information.
|
||||
</para>
|
||||
<para>
|
||||
The new <link linkend="cairo_t">cairo_t</link> will become owner of the target and clip surfaces by incrementing their refcount. But the surfaces will not be copied, that means operations on either src or dest will be painted onto the same surface.
|
||||
</para>
|
||||
<para>
|
||||
Note that saved states on the stack can only be restored once. So if you have unclosed calls to <link linkend="cairo_save">cairo_save</link> before copying, calling <link linkend="cairo_restore">cairo_restore</link> on both, src and dest is invalid.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>See also</title>
|
||||
<para>
|
||||
cairo_clone
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
<refentry id="cairo_create">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_create</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_create</refname>
|
||||
<refpurpose>create a new <link linkend="cairo_t">cairo_t</link> object</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting><link linkend="cairo_t">cairo_t</link> * cairo_create (void)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term/>
|
||||
<listitem>
|
||||
<simpara>this takes no arguments</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_create</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
This function creates a new <link linkend="cairo_t">cairo_t</link> with a reference count of one. Call <link linkend="cairo_destroy">cairo_destroy</link> to free the allocated resources.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_current_alpha">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_current_alpha</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_current_alpha</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
double cairo_current_alpha (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_current_alpha</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_current_fill_rule">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_current_fill_rule</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_current_fill_rule</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
<link linkend="cairo_fill_rule_t">cairo_fill_rule_t</link> cairo_current_fill_rule (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_current_fill_rule</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
|
||||
<refentry id="cairo_current_font">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_current_font</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_current_font</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
<link linkend="cairo_font_t">cairo_font_t</link> *
|
||||
cairo_current_font (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_current_font</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
returns pointer to the current <link linkend="cairo_font_t">cairo_font_t</link> object in the <link linkend="cairo_t">cairo_t</link>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
<refentry id="cairo_current_font_extents">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_current_font_extents</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_current_font_extents</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_current_font_extents (<link linkend="cairo_t">cairo_t</link> *cr, cairo_font_extents_t *extents)</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>extents</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>fills in a provided cairo_font_extents_t object</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_current_font_extents</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_current_line_cap">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_current_line_cap</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_current_line_cap</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
<link linkend="cairo_line_cap_t">cairo_line_cap_t</link> cairo_current_line_cap (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_current_line_cap</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_current_line_join">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_current_line_join</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_current_line_join</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
cairo_line_join_t cairo_current_line_join (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_current_line_join</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_current_line_width">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_current_line_width</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_current_line_width</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
double cairo_current_line_width (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_current_line_width</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
|
||||
<refentry id="cairo_current_matrix">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_current_matrix</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_current_matrix</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_current_matrix (<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>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>matrix</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_current_matrix</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_current_miter_limit">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_current_miter_limit</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_current_miter_limit</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
double cairo_current_miter_limit (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_current_miter_limit</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_current_operator">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_current_operator</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_current_operator</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
<link linkend="cairo_operator_t">cairo_operator_t</link> cairo_current_operator (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_current_operator</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
|
||||
<refentry id="cairo_current_point">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_current_point</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_current_point</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_current_point (<link linkend="cairo_t">cairo_t</link> *cr, double *x, double *y)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>x</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>y</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_current_point</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,53 +0,0 @@
|
|||
|
||||
<refentry id="cairo_current_rgb_color">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_current_rgb_color</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_current_rgb_color</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_current_rgb_color (<link linkend="cairo_t">cairo_t</link> *cr, double *red, double *green, double *blue)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>red</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>green</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>blue</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_current_rgb_color</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
|
||||
<refentry id="cairo_current_target_surface">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_current_target_surface</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_current_target_surface</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting><link linkend="cairo_surface_t">cairo_surface_t</link> * cairo_current_target_surface (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_current_target_surface</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_current_tolerance">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_current_tolerance</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_current_tolerance</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
double cairo_current_tolerance (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_current_tolerance</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,70 +0,0 @@
|
|||
<refentry id="cairo_curve_to">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_curve_to</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_curve_to</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<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>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>x1</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>y1</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>x2</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>y2</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>x3</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>y3</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_curve_to</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_default_matrix">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_default_matrix</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_default_matrix</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_default_matrix (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_default_matrix</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
<refentry id="cairo_destroy">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_destroy</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_destroy</refname>
|
||||
<refpurpose>free a <link linkend="cairo_t">cairo_t</link></refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_destroy (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_destroy</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
Decreases the reference of a a <link linkend="cairo_t">cairo_t</link>. If the refcount drops to zero, all associated resources will be freed.
|
||||
</para>
|
||||
<para>
|
||||
Saved states on the stack which were not restored with <link linkend="cairo_restore">cairo_restore</link> will be destroyed, too.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_fill">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_fill</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_fill</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_fill (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_fill</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
<refentry id="cairo_fill_rule_t">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_fill_rule_t</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
|
||||
<refnamediv>
|
||||
<refname>cairo_fill_rule_t</refname>
|
||||
<refpurpose>enumeration for fill rules</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<indexterm><primary>enums</primary>
|
||||
<secondary>cairo_fill_rule_t</secondary></indexterm>
|
||||
<programlisting>typedef enum cairo_fill_rule {
|
||||
CAIRO_FILL_RULE_WINDING,
|
||||
CAIRO_FILL_RULE_EVEN_ODD
|
||||
} cairo_fill_rule_t;
|
||||
</programlisting>
|
||||
<para>
|
||||
Select ways to fill paths.
|
||||
</para>
|
||||
<variablelist role="enum">
|
||||
<varlistentry>
|
||||
<term><literal>CAIRO_FILL_RULE_WINDING</literal></term>
|
||||
<listitem><simpara>counts all intersections with a clockwise line positive and intersections with a counter-clockwise line negative. All areas with a non-zero counts are filled.
|
||||
</simpara></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><literal>CAIRO_FILL_RULE_EVEN_ODD</literal></term>
|
||||
<listitem><simpara>Only the area from one intersection to the next will be filled, no matter what orientation the intersected line has.
|
||||
</simpara></listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,72 +0,0 @@
|
|||
|
||||
<refentry id="cairo_font_glyph_extents">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_font_glyph_extents</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_font_glyph_extents</refname>
|
||||
<refpurpose>Gets the metrics for a string of glyphs</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
<structname>void </structname> cairo_font_glyph_extents (<link linkend="cairo_font_t">cairo_font_t</link> *font, <link linkend="cairo_matrix_t">cairo_matrix_t</link> *font_matrix, <link linkend="cairo_glyph_t">cairo_glyph_t</link> *glyphs, int num_glyphs, <link linkend="cairo_text_extents_t">cairo_text_extents_t</link> *extents)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>font</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>A <link linkend="cairo_font_t">cairo_font_t</link>.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>font_matrix</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
The font transformation for which this font was
|
||||
created. (See <link linkend="cairo_transform_font">cairo_transform_font</link>.) This is needed
|
||||
properly convert the metrics from the font into user space.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>glyphs</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
An array of glyph IDs with x and y offsets.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>num_glyphs</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
The number of glyphs in the <parameter>glyphs</parameter> array.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>extents</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
A <link linkend="cairo_text_extents_t">cairo_text_extents_t</link> in which to store the retrieved extents.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_font_glyph_extents</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
<function>cairo_font_glyph_extents</function> gets the metrics
|
||||
for a string of glyphs.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
<refentry id="cairo_font_t">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_font_t</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
|
||||
<refnamediv>
|
||||
<refname>cairo_font_t</refname>
|
||||
<refpurpose>scaled font object</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para><indexterm><primary>types</primary><secondary>cairo_font_t</secondary></indexterm>
|
||||
A <structname>cairo_font_t</structname> is a font scaled to a
|
||||
particular size and device resolution. A font can be set on a
|
||||
<link linkend="cairo_t">cairo_t</link> by using <link linkend="cairo_set_font">cairo_set_font</link>, assuming that the
|
||||
current transformation and target surface of the
|
||||
<structname><link linkend="cairo_t">cairo_t</link></structname> match that for which the
|
||||
<structname>cairo_font_t</structname> was created. The effect of
|
||||
using a mismatched <structname>cairo_font_t</structname> will be
|
||||
incorrect font metrics.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,52 +0,0 @@
|
|||
<refentry id="cairo_format_t">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_format_t</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
|
||||
<refnamediv>
|
||||
<refname>cairo_format_t</refname>
|
||||
<refpurpose>enumeration for image formats</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<indexterm><primary>enums</primary>
|
||||
<secondary>cairo_format_t</secondary></indexterm>
|
||||
<programlisting>typedef enum cairo_format {
|
||||
CAIRO_FORMAT_ARGB32 = PictStandardARGB32,
|
||||
CAIRO_FORMAT_RGB24 = PictStandardRGB24,
|
||||
CAIRO_FORMAT_A8 = PictStandardA8,
|
||||
CAIRO_FORMAT_A1 = PictStandardA1
|
||||
} cairo_format_t;
|
||||
</programlisting>
|
||||
<para>
|
||||
Possible formats for in-memory images.
|
||||
</para>
|
||||
<variablelist role="enum">
|
||||
<varlistentry>
|
||||
<term><literal>CAIRO_FORMAT_ARGB32</literal></term>
|
||||
<listitem><simpara>one byte for red, green, blue and alpha. (rowstride = width * 4)
|
||||
</simpara></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><literal>CAIRO_FORMAT_RGB24</literal></term>
|
||||
<listitem><simpara>one byte for red, green and blue (rowstride = width * 4)
|
||||
</simpara></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><literal>CAIRO_FORMAT_A8</literal></term>
|
||||
<listitem><simpara>indexed color image
|
||||
</simpara></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><literal>CAIRO_FORMAT_A1</literal></term>
|
||||
<listitem><simpara>a bitmap
|
||||
</simpara></listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,59 +0,0 @@
|
|||
|
||||
<refentry id="cairo_ft_font_create">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_ft_font_create</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_ft_font_create</refname>
|
||||
<refpurpose>creates a font for the FreeType font backend</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
<link linkend="cairo_font_t">cairo_font_t</link> *cairo_ft_font_create (FcPattern *pattern, <link linkend="cairo_matrix_t">cairo_matrix_t</link> *scale)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>pattern</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>A fully resolved fontconfig pattern. A pattern can
|
||||
be resolved, by, among other things, calling <function>FcConfigSubstitute</function>,
|
||||
<function>FcDefaultSubstitute</function>, then
|
||||
<function>FcFontMatch</function>. Cairo will call
|
||||
<function>FcPatternReference</function> on this pattern, so you should not
|
||||
further modify the pattern, but you can release your
|
||||
reference to the pattern with <function>FcPatternDestroy</function> if you
|
||||
no longer need to access it.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>scale</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>The scale at which this font will be used. The
|
||||
scale is given by multiplying the font matrix (see
|
||||
<link linkend="cairo_transform_font">cairo_transform_font</link>)
|
||||
by the current transformation matrix. The translation
|
||||
elements of the resulting matrix are ignored.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_ft_font_create</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
<function>cairo_ft_font_create</function> creates a new font for
|
||||
the FreeType font backend based on a fontconfig pattern. This
|
||||
font can then be used with <link linkend="cairo_set_font">cairo_set_font</link>,
|
||||
<link linkend="cairo_font_glyph_extents">cairo_font_glyph_extents</link>, or FreeType backend specific functions
|
||||
like <link linkend="cairo_ft_font_lock_face">cairo_ft_font_lock_face</link>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,69 +0,0 @@
|
|||
|
||||
<refentry id="cairo_ft_font_create_for_ft_face">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_ft_font_create_for_ft_face</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_ft_font_create_for_ft_face</refname>
|
||||
<refpurpose>creates a font for the FreeType font backend from a
|
||||
pre-opened FreeType face</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
<link linkend="cairo_font_t">cairo_font_t</link> *cairo_ft_font_create_for_ft_face (FT_Face face, int load_flags, <link linkend="cairo_matrix_t">cairo_matrix_t</link> *scale)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>face</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>A FreeType face object, already opened. This must
|
||||
be kept around until the font object's refcount drops to
|
||||
zero and it is freed. The font object can be kept alive by
|
||||
internal caching, so it's safest to keep the face object
|
||||
around forever.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>load_flags</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>The flags to pass to <function>FT_Load_Glyph</function> when loading
|
||||
glyphs from the font. These flags control aspects of
|
||||
rendering such as hinting and antialiasing. See the FreeType
|
||||
docs for full information.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>scale</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>The scale at which this font will be used. The
|
||||
scale is given by multiplying the font matrix (see
|
||||
<link linkend="cairo_transform_font">cairo_transform_font</link>)
|
||||
by the current transformation matrix. The translation
|
||||
elements of the resulting transformation are ignored.</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_ft_font_create_for_ft_face</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
<function>cairo_ft_font_create_for_ft_face</function> creates a new font for
|
||||
the FreeType font backend from a pre-opened FreeType face. This
|
||||
font can then be used with <link linkend="cairo_set_font">cairo_set_font</link>,
|
||||
<link linkend="cairo_font_glyph_extents">cairo_font_glyph_extents</link>, or FreeType backend specific functions
|
||||
like <link linkend="cairo_ft_font_lock_face">cairo_ft_font_lock_face</link>. Cairo will determine the pixel
|
||||
size and transformation from the <parameter>scale</parameter> parameter
|
||||
and call <function>FT_Set_Transform</function> and
|
||||
<function>FT_Set_Pixel_Sizes</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
|
||||
<refentry id="cairo_ft_font_get_pattern">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_ft_font_get_pattern</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_ft_font_get_pattern</refname>
|
||||
<refpurpose>Gets the <structname>FcPattern</structname> for a FreeType
|
||||
backend font</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
<structname>FcPattern *</structname> cairo_ft_font_get_pattern
|
||||
(<link linkend="cairo_font_t">cairo_font_t</link> *font)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>font</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>A <link linkend="cairo_font_t">cairo_font_t</link> from the FreeType font backend. Such
|
||||
an object can be created with <link linkend="cairo_ft_font_create">cairo_ft_font_create</link> or
|
||||
<link linkend="cairo_ft_font_create_for_ft_face">cairo_ft_font_create_for_ft_face</link>. On some platforms the font
|
||||
from <link linkend="cairo_current_font">cairo_current_font</link> will also be a FreeType font, but
|
||||
using this functionality with fonts you don't create
|
||||
yourself is not recommended.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_ft_font_get_pattern</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
<function>cairo_ft_font_get_pattern</function> gets the <structname>FcPattern</structname>
|
||||
for a FreeType backend font. The return value is owned
|
||||
by the font, so you must not modify it, and must call
|
||||
<function>FcPatternReference</function> to keep a persistant
|
||||
reference to the pattern. If the font was created with
|
||||
<link linkend="cairo_ft_font_create_for_ft_face">cairo_ft_font_create_for_ft_face</link> the result will be NULL.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
|
||||
<refentry id="cairo_ft_font_lock_face">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_ft_font_lock_face</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_ft_font_lock_face</refname>
|
||||
<refpurpose>Gets the <structname>FT_Face</structname> from a FreeType
|
||||
backend font</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
<structname>FT_Face</structname> cairo_ft_font_lock_face (<link linkend="cairo_font_t">cairo_font_t</link> *font)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>font</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>A <link linkend="cairo_font_t">cairo_font_t</link> from the FreeType font backend. Such
|
||||
an object can be created with <link linkend="cairo_ft_font_create">cairo_ft_font_create</link> or
|
||||
<link linkend="cairo_ft_font_create_for_ft_face">cairo_ft_font_create_for_ft_face</link>. On some platforms the font
|
||||
from <link linkend="cairo_current_font">cairo_current_font</link> will also be a FreeType font, but
|
||||
using this functionality with fonts you don't create
|
||||
yourself is not recommended.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_ft_font_lock_face</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
<function>cairo_ft_font_lock_face</function> gets the <structname>FT_Face</structname>
|
||||
object from a FreeType backend font and scales it appropriately
|
||||
for the font. You must release the face with
|
||||
<link linkend="cairo_ft_font_unlock_face">cairo_ft_font_unlock_face</link> when you are done using it.
|
||||
Since the <structname>FT_Face</structname> object can be shared
|
||||
between multiple <link linkend="cairo_font_t">cairo_font_t</link> objects, you must not lock any
|
||||
other font objects until you unlock this one. A count is kept of
|
||||
the number of times <function>cairo_ft_font_lock_face</function>
|
||||
is called. <link linkend="cairo_ft_font_unlock_face">cairo_ft_font_unlock_face</link> must be called the same
|
||||
number of times.
|
||||
</para>
|
||||
<para>
|
||||
You must be careful when using this function in a library or in
|
||||
a threaded application, because other threads may lock faces
|
||||
that share the same <structname>FT_Face</structname> object. For
|
||||
this reason, you must call cairo_ft_lock before locking any face
|
||||
objects, and cairo_ft_unlock after you are done. (These
|
||||
functions are not yet implemented, so this function cannot be
|
||||
currently safely used in a threaded application.)
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
|
||||
<refentry id="cairo_ft_font_unlock_face">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_ft_font_unlock_face</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_ft_font_unlock_face</refname>
|
||||
<refpurpose>Releases the <structname>FT_Face</structname> from a FreeType
|
||||
backend font</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_ft_font_unlock_face (<link linkend="cairo_font_t">cairo_font_t</link> *font)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>font</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>A <link linkend="cairo_font_t">cairo_font_t</link> from the FreeType font backend. Such
|
||||
an object can be created with <link linkend="cairo_ft_font_create">cairo_ft_font_create</link> or
|
||||
<link linkend="cairo_ft_font_create_for_ft_face">cairo_ft_font_create_for_ft_face</link>. On some platforms the font
|
||||
from <link linkend="cairo_current_font">cairo_current_font</link> will also be a FreeType font, but
|
||||
using this functionality with fonts you don't create
|
||||
yourself is not recommended.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_ft_font_unlock_face</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
Releases a face obtained with <link linkend="cairo_ft_font_lock_face">cairo_ft_font_lock_face</link>. See the
|
||||
documentation for that function for full details.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
|
||||
<refentry id="cairo_glyph_t">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_glyph_t</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_glyph_t</refname>
|
||||
<refpurpose>struct holding information about a glyph</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para><indexterm><primary>types</primary><secondary>cairo_glyph_t</secondary></indexterm><indexterm><primary/></indexterm>
|
||||
<programlisting>
|
||||
typedef struct {
|
||||
double index;
|
||||
double x;
|
||||
double y;
|
||||
} cairo_glyph_t;
|
||||
</programlisting>
|
||||
</para>
|
||||
<para>
|
||||
The <structname>cairo_glyph_t</structname> structure holds
|
||||
information about a single glyph when drawing or measuring
|
||||
text. A font is (in simple terms) a collection of shapes used to
|
||||
draw text. A glyph is one of these shapes. There can be multiple
|
||||
glyphs for a single character (alternates to be used in
|
||||
different contexts, for example), or a glyph can be a
|
||||
<firstterm>ligature</firstterm> of multiple characters. Cairo
|
||||
doesn't expose any way of converting input text into glyphs, so
|
||||
in order to use the Cairo interfaces that take arrays of glyphs,
|
||||
you must directly access the appropriate underlying font system.
|
||||
</para>
|
||||
<variablelist role="struct">
|
||||
<varlistentry>
|
||||
<term><structfield>index</structfield></term>
|
||||
<listitem><simpara>glyph index in the font. The exact
|
||||
interpretation of the glyph index depends on the font
|
||||
technology being used.
|
||||
</simpara></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><structfield>x</structfield></term>
|
||||
<listitem><simpara>the offset in the x direction between the
|
||||
origin used for drawing or measuring the string and the
|
||||
origin of this glyph. These offsets are not cumulative; each
|
||||
glyph is indiviually positioned with respect to the
|
||||
overall origin.
|
||||
</simpara></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><structfield>y</structfield></term>
|
||||
<listitem><simpara>the offset in the y direction between the
|
||||
origin used for drawing or measuring the string and the
|
||||
origin of this glyph. These offsets are not cumulative; each
|
||||
glyph is indiviually positioned with respect to the
|
||||
overall origin.
|
||||
</simpara></listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
|
||||
<refentry id="cairo_hit">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_hit</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_hit</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<funcsynopsis>
|
||||
<funcsynopsisinfo>
|
||||
</funcsynopsisinfo>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>cairo_hit</function></funcdef>
|
||||
<paramdef>
|
||||
<link linkend="cairo_t">cairo_t</link>
|
||||
<parameter>*cr</parameter>
|
||||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_hit</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_identity_matrix">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_identity_matrix</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_identity_matrix</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_identity_matrix (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_identity_matrix</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
<refentry id="cairo_in_fill">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_in_fill</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
|
||||
<refnamediv>
|
||||
<refname>cairo_in_fill</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsynopsisdiv>
|
||||
<funcsynopsis>
|
||||
<funcsynopsisinfo>
|
||||
</funcsynopsisinfo>
|
||||
<funcprototype>
|
||||
<funcdef>void <function>cairo_in_fill</function></funcdef><paramdef><link linkend="cairo_t">cairo_t</link> <parameter>*cr</parameter></paramdef>
|
||||
<paramdef>double <parameter>x</parameter></paramdef>
|
||||
<paramdef>double <parameter>y</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
</refsynopsisdiv>
|
||||
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm><primary>functions</primary>
|
||||
<secondary>cairo_in_fill</secondary></indexterm>
|
||||
<indexterm><primary></primary></indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
<refentry id="cairo_in_stroke">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_in_stroke</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
|
||||
<refnamediv>
|
||||
<refname>cairo_in_stroke</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsynopsisdiv>
|
||||
<funcsynopsis>
|
||||
<funcsynopsisinfo>
|
||||
</funcsynopsisinfo>
|
||||
<funcprototype>
|
||||
<funcdef>void <function>cairo_in_stroke</function></funcdef><paramdef><link linkend="cairo_t">cairo_t</link> <parameter>*cr</parameter></paramdef>
|
||||
<paramdef>double <parameter>x</parameter></paramdef>
|
||||
<paramdef>double <parameter>y</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
</refsynopsisdiv>
|
||||
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm><primary>functions</primary>
|
||||
<secondary>cairo_in_stroke</secondary></indexterm>
|
||||
<indexterm><primary></primary></indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
|
||||
<refentry id="cairo_inverse_transform_distance">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_inverse_transform_distance</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_inverse_transform_distance</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_inverse_transform_distance (<link linkend="cairo_t">cairo_t</link> *cr, double *dx, double *dy)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>dx</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>dy</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_inverse_transform_distance</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
|
||||
<refentry id="cairo_inverse_transform_point">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_inverse_transform_point</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_inverse_transform_point</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_inverse_transform_point (<link linkend="cairo_t">cairo_t</link> *cr, double *x, double *y)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>x</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>y</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_inverse_transform_point</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
<refentry id="cairo_line_cap_t">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_line_cap_t</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
|
||||
<refnamediv>
|
||||
<refname>cairo_line_cap_t</refname>
|
||||
<refpurpose>enumeration for style of line-endings</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<indexterm><primary>enums</primary>
|
||||
<secondary>cairo_line_cap_t</secondary></indexterm>
|
||||
<programlisting>typedef enum cairo_line_cap {
|
||||
CAIRO_LINE_CAP_BUTT,
|
||||
CAIRO_LINE_CAP_ROUND,
|
||||
CAIRO_LINE_CAP_SQUARE
|
||||
} cairo_line_cap_t;
|
||||
</programlisting>
|
||||
<variablelist role="enum">
|
||||
<varlistentry>
|
||||
<term><literal>CAIRO_LINE_CAP_BUTT</literal></term>
|
||||
<listitem><simpara>start(stop) the line exactly at the start(end) point
|
||||
</simpara></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><literal>CAIRO_LINE_CAP_ROUND</literal></term>
|
||||
<listitem><simpara>use a round ending, the center of the circle is the end point.
|
||||
</simpara></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><literal>CAIRO_LINE_CAP_SQUARE</literal></term>
|
||||
<listitem><simpara>use squared ending, the center of the square is the end point.
|
||||
</simpara></listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
|
||||
<refentry id="cairo_line_to">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_line_to</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_line_to</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_line_to (<link linkend="cairo_t">cairo_t</link> *cr, double x, double y)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>x</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>y</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_line_to</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
|
||||
<refentry id="cairo_matrix_copy">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_matrix_copy</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_matrix_copy</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
cairo_status_t cairo_matrix_copy (<link linkend="cairo_matrix_t">cairo_matrix_t</link> *matrix, const <link linkend="cairo_matrix_t">cairo_matrix_t</link> *other)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>matrix</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>other</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_matrix_copy</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
|
||||
<refentry id="cairo_matrix_create">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_matrix_create</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_matrix_create</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting><link linkend="cairo_matrix_t">cairo_matrix_t</link> * cairo_matrix_create (void)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term/>
|
||||
<listitem>
|
||||
<simpara>this takes no arguments</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_matrix_create</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_matrix_destroy">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_matrix_destroy</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_matrix_destroy</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_matrix_destroy (<link linkend="cairo_matrix_t">cairo_matrix_t</link> *matrix)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>matrix</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_matrix_destroy</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_matrix_invert">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_matrix_invert</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_matrix_invert</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
cairo_status_t cairo_matrix_invert (<link linkend="cairo_matrix_t">cairo_matrix_t</link> *matrix)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>matrix</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_matrix_invert</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
|
||||
<refentry id="cairo_matrix_multiply">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_matrix_multiply</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_matrix_multiply</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
cairo_status_t cairo_matrix_multiply (<link linkend="cairo_matrix_t">cairo_matrix_t</link> *result, const <link linkend="cairo_matrix_t">cairo_matrix_t</link> *a, const <link linkend="cairo_matrix_t">cairo_matrix_t</link> *b)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>result</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>a</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>b</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_matrix_multiply</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
|
||||
<refentry id="cairo_matrix_rotate">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_matrix_rotate</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_matrix_rotate</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
cairo_status_t cairo_matrix_rotate (<link linkend="cairo_matrix_t">cairo_matrix_t</link> *matrix, double radians)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>matrix</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>radians</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_matrix_rotate</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
|
||||
<refentry id="cairo_matrix_scale">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_matrix_scale</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_matrix_scale</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
cairo_status_t cairo_matrix_scale (<link linkend="cairo_matrix_t">cairo_matrix_t</link> *matrix, double sx, double sy)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>matrix</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>sx</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>sy</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_matrix_scale</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_matrix_set_identity">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_matrix_set_identity</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_matrix_set_identity</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
cairo_status_t cairo_matrix_set_identity (<link linkend="cairo_matrix_t">cairo_matrix_t</link> *matrix)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>matrix</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_matrix_set_identity</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
|
||||
<refentry id="cairo_matrix_t">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_matrix</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_matrix</refname>
|
||||
<refpurpose>a matrix</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para><indexterm><primary>types</primary><secondary>cairo_matrix</secondary></indexterm><indexterm><primary/></indexterm>
|
||||
<structname>cairo_matrix_t</structname> is used throughout
|
||||
Cairo to represents between different coordinates spaces.
|
||||
A <structname>cairo_matrix</structname> holds an affine
|
||||
transformation, such as a scale, rotation, or shear, or a
|
||||
combination of those. Mathematically, the effect of an affine
|
||||
transformation on a point (<literal>x</literal>,<literal>y</literal>) is given by:
|
||||
</para>
|
||||
<programlisting>
|
||||
x_new = x * a + y * c + tx;
|
||||
y_new = x * b + y * d + ty;
|
||||
</programlisting>
|
||||
<para>
|
||||
The paramaters <literal>a</literal>, <literal>b</literal>,
|
||||
<literal>c</literal>, <literal>d</literal>,
|
||||
<literal>tx</literal>, <literal>ty</literal> can be retrieved
|
||||
with cairo_matrix_get_affine and set with
|
||||
cairo_matrix_get_affine.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
|
||||
<refentry id="cairo_matrix_transform_distance">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_matrix_transform_distance</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_matrix_transform_distance</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
cairo_status_t cairo_matrix_transform_distance (<link linkend="cairo_matrix_t">cairo_matrix_t</link> *matrix, double *dx, double *dy)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>matrix</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>dx</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>dy</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_matrix_transform_distance</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
|
||||
<refentry id="cairo_matrix_transform_point">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_matrix_transform_point</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_matrix_transform_point</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
cairo_status_t cairo_matrix_transform_point (<link linkend="cairo_matrix_t">cairo_matrix_t</link> *matrix, double *x, double *y)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>matrix</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>x</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>y</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_matrix_transform_point</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
|
||||
<refentry id="cairo_matrix_translate">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_matrix_translate</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_matrix_translate</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
cairo_status_t cairo_matrix_translate (<link linkend="cairo_matrix_t">cairo_matrix_t</link> *matrix, double tx, double ty)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>matrix</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>tx</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>ty</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_matrix_translate</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
|
||||
<refentry id="cairo_move_to">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_move_to</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_move_to</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_move_to (<link linkend="cairo_t">cairo_t</link> *cr, double x, double y)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>x</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>y</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_move_to</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_new_path">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_new_path</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_new_path</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_new_path (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_new_path</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
<refentry id="cairo_operator_t">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_operator_t</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
|
||||
<refnamediv>
|
||||
<refname>cairo_operator_t</refname>
|
||||
<refpurpose>enumeration for image operators</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<indexterm><primary>enums</primary>
|
||||
<secondary>cairo_operator_t</secondary></indexterm>
|
||||
<programlisting>typedef enum cairo_operator {
|
||||
CAIRO_OPERATOR_CLEAR,
|
||||
CAIRO_OPERATOR_SRC,
|
||||
CAIRO_OPERATOR_DST,
|
||||
CAIRO_OPERATOR_OVER,
|
||||
CAIRO_OPERATOR_OVER_REVERSE,
|
||||
CAIRO_OPERATOR_IN,
|
||||
CAIRO_OPERATOR_IN_REVERSE,
|
||||
CAIRO_OPERATOR_OUT,
|
||||
CAIRO_OPERATOR_OUT_REVERSE,
|
||||
CAIRO_OPERATOR_ATOP,
|
||||
CAIRO_OPERATOR_ATOP_REVERSE,
|
||||
CAIRO_OPERATOR_XOR,
|
||||
CAIRO_OPERATOR_ADD,
|
||||
CAIRO_OPERATOR_SATURATE
|
||||
} cairo_operator_t;
|
||||
</programlisting>
|
||||
<para>
|
||||
Operators for surface-compositing. XXX
|
||||
</para>
|
||||
<variablelist role="enum">
|
||||
<varlistentry>
|
||||
<term><literal></literal></term>
|
||||
<listitem><simpara>
|
||||
</simpara></listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_pop_group">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_pop_group</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_pop_group</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_pop_group (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_pop_group</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_push_group">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_push_group</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_push_group</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_push_group (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_push_group</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
<refentry id="cairo_rectangle">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_rectangle</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_rectangle</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<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 <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>x, y</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>coordinates of the left top corner</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>width, height</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>width and height of the rectangle</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_rectangle</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
The current line style applies to the lines of the rectangle.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
<refentry id="cairo_reference">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_reference</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_reference</refname>
|
||||
<refpurpose>increase reference count of <link linkend="cairo_t">cairo_t</link></refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_reference (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_reference</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
When calling <function>cairo_reference</function> the reference count will be increased by one and the caller becomes owner of the <link linkend="cairo_t">cairo_t</link>. When the creator of the <link linkend="cairo_t">cairo_t</link> destroys the the object via <link linkend="cairo_destroy">cairo_destroy</link> the refcount will be decreased but the object will stay valid, since you are still owner of the object.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,70 +0,0 @@
|
|||
<refentry id="cairo_curve_to">
|
||||
<refmeta>
|
||||
<refentrytitle><link linkend="cairo_curve_to">cairo_curve_to</link></refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname><link linkend="cairo_curve_to">cairo_curve_to</link></refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<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 <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>dx1</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>dy1</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>dx2</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>dy2</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>dx3</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>dy3</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary><link linkend="cairo_curve_to">cairo_curve_to</link></secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
|
||||
<refentry id="cairo_rel_line_to">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_rel_line_to</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_rel_line_to</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_rel_line_to (<link linkend="cairo_t">cairo_t</link> *cr, double dx, double dy)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>dx</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>dy</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_rel_line_to</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
|
||||
<refentry id="cairo_rel_move_to">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_rel_move_to</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_rel_move_to</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_rel_move_to (<link linkend="cairo_t">cairo_t</link> *cr, double dx, double dy)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>dx</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>dy</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_rel_move_to</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
|
||||
<refentry id="cairo_restore">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_restore</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_restore</refname>
|
||||
<refpurpose>restore a saved state</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_restore (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_restore</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
This fucntion is the counterpart to <link linkend="cairo_save">cairo_save</link>. A saved state can be restored with cairo_restore.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
|
||||
<refentry id="cairo_rotate">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_rotate</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_rotate</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_rotate (<link linkend="cairo_t">cairo_t</link> *cr, double angle)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>angle</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_rotate</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
|
||||
<refentry id="cairo_save">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_save</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_save</refname>
|
||||
<refpurpose>save current state</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_save (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_save</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
This function stores the complete state of a <link linkend="cairo_t">cairo_t</link>. It may then be changed in any way. The saved state can then be restored with <link linkend="cairo_restore">cairo_restore</link>. Calls to cairo_save may be nested to an arbitraty depth.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
|
||||
<refentry id="cairo_scale">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_scale</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_scale</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_scale (<link linkend="cairo_t">cairo_t</link> *cr, double sx, double sy)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>sx</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>sy</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_scale</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
|
||||
<refentry id="cairo_scale_font">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_scale_font</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_scale_font</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_scale_font (<link linkend="cairo_t">cairo_t</link> *cr, double scale)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>scale</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_scale_font</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,53 +0,0 @@
|
|||
|
||||
<refentry id="cairo_select_font">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_select_font</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_select_font</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_select_font (<link linkend="cairo_t">cairo_t</link> *cr, const char *family, cairo_font_slant_t slant, cairo_font_weight_t weight);</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>family</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>name for the font family (e.g. XXX)</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>slant</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>see cairo_font_slant_t for valid values</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>weight</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>see cairo_font_weight_t for valid values</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_select_font</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
|
||||
<refentry id="cairo_set_alpha">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_set_alpha</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_set_alpha</refname>
|
||||
<refpurpose>set opaqueness for painting</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_set_alpha (<link linkend="cairo_t">cairo_t</link> *cr, double alpha)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>a cairo_r</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>alpha</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>an alpha value between 0.0 and 1.0</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_set_alpha</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
If alpha is not between 0.0 and 1.0 it will be restricted to fit.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,53 +0,0 @@
|
|||
|
||||
<refentry id="cairo_set_dash">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_set_dash</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_set_dash</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_set_dash (<link linkend="cairo_t">cairo_t</link> *cr, double *dashes, int ndash, double offset)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>dashes</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>ndash</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>offset</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_set_dash</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
|
||||
<refentry id="cairo_set_fill_rule">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_set_fill_rule</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_set_fill_rule</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_set_fill_rule (<link linkend="cairo_t">cairo_t</link> *cr, <link linkend="cairo_fill_rule_t">cairo_fill_rule_t</link> fill_rule)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>fill_rule</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_set_fill_rule</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,52 +0,0 @@
|
|||
<refentry id="cairo_set_font">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_set_font</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_set_font</refname>
|
||||
<refpurpose>replace the font in the current state</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_set_font (<link linkend="cairo_t">cairo_t</link> *cr, <link linkend="cairo_font_t">cairo_font_t</link> *font)</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>font</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>a <link linkend="cairo_font_t">cairo_font_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_set_font</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
Replaces the current <link linkend="cairo_font_t">cairo_font_t</link> 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. Since a <link linkend="cairo_font_t">cairo_font_t</link> is
|
||||
specific to a particular output device and size, changing the
|
||||
transformation, font transformation, or target surfaces of a
|
||||
<structname><link linkend="cairo_t">cairo_t</link></structname>
|
||||
will clear any previously set font. Setting the font using
|
||||
<function>cairo_set_font</function> is exclusive with the
|
||||
simple font selection API provided by <link linkend="cairo_select_font">cairo_select_font</link>. The
|
||||
size and transformation set by <link linkend="cairo_scale_font">cairo_scale_font</link>() and
|
||||
<link linkend="cairo_transform_font">cairo_transform_font</link>() are ignored unless they were taken into
|
||||
account when creating <parameter>font</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
<refentry id="cairo_set_line_cap">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_set_line_cap</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_set_line_cap</refname>
|
||||
<refpurpose>determine shape of line endings</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_set_line_cap (<link linkend="cairo_t">cairo_t</link> *cr, <link linkend="cairo_line_cap_t">cairo_line_cap_t</link> line_cap)</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>line_cap</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>see <link linkend="cairo_line_cap_t">cairo_line_cap_t</link> for styles</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_set_line_cap</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
When the line width is larger than one device unit, it matters which way the ending of a line is drawn. Use this function to set the line-ending-style.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
|
||||
<refentry id="cairo_set_line_join">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_set_line_join</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_set_line_join</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_set_line_join (<link linkend="cairo_t">cairo_t</link> *cr, cairo_line_join_t line_join)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>line_join</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_set_line_join</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
|
||||
<refentry id="cairo_set_line_width">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_set_line_width</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_set_line_width</refname>
|
||||
<refpurpose>set line width in device units</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_set_line_width (<link linkend="cairo_t">cairo_t</link> *cr, double width)</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>width</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>width in device units</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_set_line_width</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
|
||||
<refentry id="cairo_set_miter_limit">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_set_miter_limit</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_set_miter_limit</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_set_miter_limit (<link linkend="cairo_t">cairo_t</link> *cr, double limit)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>limit</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_set_miter_limit</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
|
||||
<refentry id="cairo_set_operator">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_set_operator</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_set_operator</refname>
|
||||
<refpurpose>select operator for surface compositing</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_set_operator (<link linkend="cairo_t">cairo_t</link> *cr, <link linkend="cairo_operator_t">cairo_operator_t</link> op)</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>op</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>the operator for subsequent compositing operations</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_set_operator</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
<refentry id="cairo_set_pattern">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_set_pattern</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_set_pattern</refname>
|
||||
<refpurpose>select a surface as fill pattern</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_set_pattern (<link linkend="cairo_t">cairo_t</link> *cr, <link linkend="cairo_surface_t">cairo_surface_t</link> *pattern)</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>pattern</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>a surface</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_set_pattern</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
This function selects <varname>pattern</varname> as pattern for fill operations. If the repeat flag is set via <link linkend="cairo_surface_set_repeat">cairo_surface_set_repeat</link>, the pattern will be tiled, otherwise just drawn once.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
|
||||
<refentry id="cairo_set_rgb_color">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_set_rgb_color</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_set_rgb_color</refname>
|
||||
<refpurpose>select color for painting operations</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_set_rgb_color (<link linkend="cairo_t">cairo_t</link> *cr, double red, double green, double blue)</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>red</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>red component</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>green</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>green component</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>blue</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>blue component</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_set_rgb_color</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
Set the color for subsequent drawing operations. Values which are not between 0.0 and 1.0 will be changed (e.g. red=2.0 => red=1.0).
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
<refentry id="cairo_set_target_drawable">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_set_target_drawable</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_set_target_drawable</refname>
|
||||
<refpurpose>set surface for painting operations </refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>void cairo_set_target_drawable (<link linkend="cairo_t">cairo_t</link> *cr, Display *dpy, Drawable drawable);</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>dpy</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>X Display</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>drawable</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>an X onscreen or offscreen drawable</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_set_target_drawable</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
<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>
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
<refentry id="cairo_set_target_png">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_set_target_png</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_set_target_png</refname>
|
||||
<refpurpose>set surface for painting operations </refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>void cairo_set_target_png (<link linkend="cairo_t">cairo_t</link> *cr, FILE *file, <link linkend="cairo_format_t">cairo_format_t</link> format, int width, int height);</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>FILE</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>an open, writeable file</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter><link linkend="cairo_format_t">cairo_format_t</link></parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>determines the color-depth of the resulting png image</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>width, height</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>sets width and height of resulting png image </simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_set_target_png</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,52 +0,0 @@
|
|||
<refentry id="cairo_set_target_ps">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_set_target_ps</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_set_target_ps</refname>
|
||||
<refpurpose>set surface for painting operations </refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_set_target_ps (<link linkend="cairo_t">cairo_t</link> *cr,FILE *file, double width_inches, double height_inches, double x_pixels_per_inch, double y_pixels_per_inch);</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>FILE</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>an open, writeable file</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>width_inches, height_inches</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>width and height of an output page in inches</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>x_pixels_per_inch, y_pixels_per_inch</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>Resolution of the postscript file. Right now cairo dumps an entire image on every page, so this parameters define the resolution of the resulting image.</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_set_target_ps</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
<refentry id="cairo_set_target_surface">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_set_target_surface</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_set_target_surface</refname>
|
||||
<refpurpose>set surface for painting operations </refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_set_target_surface (<link linkend="cairo_t">cairo_t</link> *cr, <link linkend="cairo_surface_t">cairo_surface_t</link> *surface)</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>surface</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>an allocated <link linkend="cairo_surface_t">cairo_surface_t</link></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_set_target_surface</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
Selects <varname>surface</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>
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
<refentry id="cairo_set_target_xcb">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_set_target_xcb</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_set_target_xcb</refname>
|
||||
<refpurpose>set surface for painting operations </refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>void
|
||||
cairo_set_target_xcb (<link linkend="cairo_t">cairo_t</link> *cr, XCBConnection *dpy, DRAWABLE drawable, VISUALTYPE *visual, <link linkend="cairo_format_t">cairo_format_t</link> format);</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>dpy</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>...</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>drawable</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>an X onscreen or offscreen drawable</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>visual</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>...</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>format</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>...</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_set_target_xcb</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
<refentry id="cairo_set_tolerance">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_set_tolerance</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_set_tolerance</refname>
|
||||
<refpurpose>set accuracy of painting operations</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_set_tolerance (<link linkend="cairo_t">cairo_t</link> *cr, double tolerance)</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>tolerance</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>the accuracy in device pixels</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_set_tolerance</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
This function adjusts the error tolerance for tesselating curved objects. The default value is 0.1 (device pixels). This function can be used to trade speed against accuracy.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,46 +0,0 @@
|
|||
<refentry id="cairo_show_glyphs">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_show_glyphs</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_show_glyphs</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_show_glyphs (<link linkend="cairo_t">cairo_t</link> *cr, <link linkend="cairo_glyph_t">cairo_glyph_t</link> *glyphs, int num_glyphs);</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>glyphs</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>num_glyphs</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara></simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_show_glyphs</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
|
||||
<refentry id="cairo_show_text">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_show_text</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_show_text</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_show_text (<link linkend="cairo_t">cairo_t</link> *cr, const unsigned char *utf8)</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>utf8</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>text to show</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_show_text</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_status">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_status</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_status</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
cairo_status_t cairo_status (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_status</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_status_string">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_status_string</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_status_string</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
const char * cairo_status_string (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_status_string</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
<refentry id="cairo_stroke">
|
||||
<refmeta>
|
||||
<refentrytitle>cairo_stroke</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>cairo_stroke</refname>
|
||||
<refpurpose>some description</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<programlisting>
|
||||
void cairo_stroke (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
||||
<variablelist role="params">
|
||||
<varlistentry>
|
||||
<term><parameter>cr</parameter> :</term>
|
||||
<listitem>
|
||||
<simpara>description</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
<indexterm>
|
||||
<primary>functions</primary>
|
||||
<secondary>cairo_stroke</secondary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary/>
|
||||
</indexterm>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue