[cairo-commit] cairo/doc/public/tmpl cairo-font.sgml, 1.10,
1.11 cairo.sgml, 1.28, 1.29
Billy Biggs
commit at pdx.freedesktop.org
Mon Aug 8 18:35:24 PDT 2005
Committed by: vektor
Update of /cvs/cairo/cairo/doc/public/tmpl
In directory gabe:/tmp/cvs-serv8364/doc/public/tmpl
Modified Files:
cairo-font.sgml cairo.sgml
Log Message:
reviewed by: cworth, otaylor
* src/cairo.c: (cairo_set_antialias), (cairo_get_antialias):
* src/cairo.h: Add a new API for disabling antialiasing of shapes
drawn by cairo. This is a hint and is not supported by all backends.
* src/cairoint.h:
* src/cairo-gstate-private.h:
* src/cairo-gstate.c: (_cairo_gstate_init),
(_composite_traps_draw_func),
(_cairo_surface_clip_and_composite_trapezoids),
(_cairo_gstate_clip_and_composite_trapezoids),
(_cairo_gstate_clip), (_cairo_gstate_set_antialias),
(_cairo_gstate_get_antialias): Store the antialiasing mode in the
gstate and pass it to the backend for trapezoid rendering and for
clipping.
* src/cairo-clip-private.h:
* src/cairo-clip.c: (_cairo_clip_intersect_path),
(_cairo_clip_intersect_mask), (_cairo_clip_clip): Pass the
antialiasing parameter down to the backend where appropriate.
* src/cairo-surface.c: (_fallback_composite_trapezoids),
(_cairo_surface_composite_trapezoids), (_cairo_surface_reset_clip),
(_cairo_surface_intersect_clip_path),
(_cairo_surface_set_clip_path_recursive),
(_cairo_surface_set_clip_path): Pass the antialiasing parameter down
to the backend where appropriate.
* src/cairo-image-surface.c:
(_cairo_image_surface_composite_trapezoids): Add support for A1 format
trapezoid rendering, and remove the _create_mask_image function,
creating a temporary image from memory we allocate and clear.
* src/cairo-xcb-surface.c:
(_cairo_xcb_surface_composite_trapezoids): Support A1 masks to disable
antialiasing using the RENDER extension when requested.
* src/cairo-xlib-surface.c: (_create_trapezoid_mask),
(_cairo_xlib_surface_composite_trapezoids): Support A1 masks to disable
antialiasing using the RENDER extension when requested.
* src/cairo-meta-surface-private.h:
* src/cairo-meta-surface.c:
(_cairo_meta_surface_composite_trapezoids),
(_cairo_meta_surface_intersect_clip_path),
(_cairo_meta_surface_replay): Blindly pass through the antialising
parameter.
* src/cairo-glitz-surface.c:
(_cairo_glitz_surface_composite_trapezoids):
* src/cairo-pdf-surface.c:
(_cairo_pdf_surface_composite_trapezoids),
(_cairo_pdf_surface_intersect_clip_path):
* src/cairo-ps-surface.c: (_cairo_ps_surface_composite_trapezoids),
(_cairo_ps_surface_intersect_clip_path),
(_ps_output_composite_trapezoids),
(_ps_output_intersect_clip_path): Add the antialiasing parameter but
don't support it.
* test/Makefile.am:
* test/unantialiased-shapes-ref.png:
* test/unantialiased-shapes.c: (big_star_path), (draw), (main):
Add a test case and a reference image from the latest libpixman.
* doc/public/tmpl/cairo-font.sgml:
* doc/public/tmpl/cairo.sgml:
* doc/public/cairo-sections.txt: Add the new antialiasing disabling API to
the docs.
* TODO: Update progress on a parameter to disable antialiasing.
Index: cairo-font.sgml
===================================================================
RCS file: /cvs/cairo/cairo/doc/public/tmpl/cairo-font.sgml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- cairo-font.sgml 5 Aug 2005 17:30:31 -0000 1.10
+++ cairo-font.sgml 9 Aug 2005 01:35:22 -0000 1.11
@@ -228,16 +228,6 @@
@Returns:
-<!-- ##### ENUM cairo_antialias_t ##### -->
-<para>
-
-</para>
-
- at CAIRO_ANTIALIAS_DEFAULT:
- at CAIRO_ANTIALIAS_NONE:
- at CAIRO_ANTIALIAS_GRAY:
- at CAIRO_ANTIALIAS_SUBPIXEL:
-
<!-- ##### FUNCTION cairo_font_options_set_antialias ##### -->
<para>
Index: cairo.sgml
===================================================================
RCS file: /cvs/cairo/cairo/doc/public/tmpl/cairo.sgml,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- cairo.sgml 5 Aug 2005 17:30:31 -0000 1.28
+++ cairo.sgml 9 Aug 2005 01:35:22 -0000 1.29
@@ -191,6 +191,25 @@
@tolerance:
+<!-- ##### ENUM cairo_antialias_t ##### -->
+<para>
+
+</para>
+
+ at CAIRO_ANTIALIAS_DEFAULT:
+ at CAIRO_ANTIALIAS_NONE:
+ at CAIRO_ANTIALIAS_GRAY:
+ at CAIRO_ANTIALIAS_SUBPIXEL:
+
+<!-- ##### FUNCTION cairo_set_antialias ##### -->
+<para>
+
+</para>
+
+ at cr:
+ at antialias:
+
+
<!-- ##### ENUM cairo_fill_rule_t ##### -->
<para>
@@ -846,6 +865,15 @@
@Returns:
+<!-- ##### FUNCTION cairo_get_antialias ##### -->
+<para>
+
+</para>
+
+ at cr:
+ at Returns:
+
+
<!-- ##### FUNCTION cairo_get_current_point ##### -->
<para>
More information about the cairo-commit
mailing list