<!-- ##### SECTION Title ##### -->
cairo_pattern_t

<!-- ##### SECTION Short_Description ##### -->
Sources for drawing

<!-- ##### SECTION Long_Description ##### -->
<para>
#cairo_pattern_t is the paint with which cairo draws.
The primary use of patterns is as the source for all cairo drawing operations,
although they can also be used as masks, that is, as the brush too.
</para>
<para>
A cairo pattern is created by using one of the many constructors,
of the form cairo_pattern_create_<emphasis>type</emphasis>()
or implicitly through
cairo_set_source_<emphasis>type</emphasis>() functions.
</para>

<!-- ##### SECTION See_Also ##### -->
<para>
<itemizedlist>
<listitem>#cairo_t</listitem>
<listitem>#cairo_surface_t</listitem>
</itemizedlist>
</para>

<!-- ##### SECTION Stability_Level ##### -->


<!-- ##### TYPEDEF cairo_pattern_t ##### -->
<para>

</para>


<!-- ##### FUNCTION cairo_pattern_add_color_stop_rgb ##### -->
<para>

</para>

@pattern: 
@offset: 
@red: 
@green: 
@blue: 


<!-- ##### FUNCTION cairo_pattern_add_color_stop_rgba ##### -->
<para>

</para>

@pattern: 
@offset: 
@red: 
@green: 
@blue: 
@alpha: 


<!-- ##### FUNCTION cairo_pattern_get_color_stop_count ##### -->
<para>

</para>

@pattern: 
@count: 
@Returns: 


<!-- ##### FUNCTION cairo_pattern_get_color_stop_rgba ##### -->
<para>

</para>

@pattern: 
@index: 
@offset: 
@red: 
@green: 
@blue: 
@alpha: 
@Returns: 


<!-- ##### FUNCTION cairo_pattern_create_rgb ##### -->
<para>

</para>

@red: 
@green: 
@blue: 
@Returns: 


<!-- ##### FUNCTION cairo_pattern_create_rgba ##### -->
<para>

</para>

@red: 
@green: 
@blue: 
@alpha: 
@Returns: 


<!-- ##### FUNCTION cairo_pattern_get_rgba ##### -->
<para>

</para>

@pattern: 
@red: 
@green: 
@blue: 
@alpha: 
@Returns: 


<!-- ##### FUNCTION cairo_pattern_create_for_surface ##### -->
<para>

</para>

@surface: 
@Returns: 


<!-- ##### FUNCTION cairo_pattern_get_surface ##### -->
<para>

</para>

@pattern: 
@surface: 
@Returns: 


<!-- ##### FUNCTION cairo_pattern_create_linear ##### -->
<para>

</para>

@x0: 
@y0: 
@x1: 
@y1: 
@Returns: 


<!-- ##### FUNCTION cairo_pattern_get_linear_points ##### -->
<para>

</para>

@pattern: 
@x0: 
@y0: 
@x1: 
@y1: 
@Returns: 


<!-- ##### FUNCTION cairo_pattern_create_radial ##### -->
<para>

</para>

@cx0: 
@cy0: 
@radius0: 
@cx1: 
@cy1: 
@radius1: 
@Returns: 


<!-- ##### FUNCTION cairo_pattern_get_radial_circles ##### -->
<para>

</para>

@pattern: 
@x0: 
@y0: 
@r0: 
@x1: 
@y1: 
@r1: 
@Returns: 


<!-- ##### FUNCTION cairo_pattern_reference ##### -->
<para>

</para>

@pattern: 
@Returns: 


<!-- ##### FUNCTION cairo_pattern_destroy ##### -->
<para>

</para>

@pattern: 


<!-- ##### FUNCTION cairo_pattern_status ##### -->
<para>

</para>

@pattern: 
@Returns: 


<!-- ##### ENUM cairo_extend_t ##### -->
<para>

</para>

@CAIRO_EXTEND_NONE: 
@CAIRO_EXTEND_REPEAT: 
@CAIRO_EXTEND_REFLECT: 
@CAIRO_EXTEND_PAD: 

<!-- ##### FUNCTION cairo_pattern_set_extend ##### -->
<para>

</para>

@pattern: 
@extend: 


<!-- ##### FUNCTION cairo_pattern_get_extend ##### -->
<para>

</para>

@pattern: 
@Returns: 


<!-- ##### ENUM cairo_filter_t ##### -->
<para>

</para>

@CAIRO_FILTER_FAST: 
@CAIRO_FILTER_GOOD: 
@CAIRO_FILTER_BEST: 
@CAIRO_FILTER_NEAREST: 
@CAIRO_FILTER_BILINEAR: 
@CAIRO_FILTER_GAUSSIAN: 

<!-- ##### FUNCTION cairo_pattern_set_filter ##### -->
<para>

</para>

@pattern: 
@filter: 


<!-- ##### FUNCTION cairo_pattern_get_filter ##### -->
<para>

</para>

@pattern: 
@Returns: 


<!-- ##### FUNCTION cairo_pattern_set_matrix ##### -->
<para>

</para>

@pattern: 
@matrix: 


<!-- ##### FUNCTION cairo_pattern_get_matrix ##### -->
<para>

</para>

@pattern: 
@matrix: 


<!-- ##### ENUM cairo_pattern_type_t ##### -->
<para>

</para>

@CAIRO_PATTERN_TYPE_SOLID: 
@CAIRO_PATTERN_TYPE_SURFACE: 
@CAIRO_PATTERN_TYPE_LINEAR: 
@CAIRO_PATTERN_TYPE_RADIAL: 

<!-- ##### FUNCTION cairo_pattern_get_type ##### -->
<para>

</para>

@pattern: 
@Returns: 


<!-- ##### FUNCTION cairo_pattern_get_reference_count ##### -->
<para>

</para>

@pattern: 
@Returns: 


<!-- ##### FUNCTION cairo_pattern_set_user_data ##### -->
<para>

</para>

@pattern: 
@key: 
@user_data: 
@destroy: 
@Returns: 


<!-- ##### FUNCTION cairo_pattern_get_user_data ##### -->
<para>

</para>

@pattern: 
@key: 
@Returns: 


