[cairo-commit] 3 commits - src/cairo.h src/cairo-pattern.c

Chris Wilson ickle at kemper.freedesktop.org
Fri Dec 2 08:22:20 PST 2011


 src/cairo-pattern.c |    6 +++---
 src/cairo.h         |    7 +++++++
 2 files changed, 10 insertions(+), 3 deletions(-)

New commits:
commit 934a3dcc6b218056b685885ef7d373578378caf5
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Dec 2 16:19:48 2011 +0000

    doc: Drop the gtk-doc markup from _cairo_radial_pattern_focus_is_inside
    
    Stop confusing gtk-doc with this private function.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/cairo-pattern.c b/src/cairo-pattern.c
index e55e5eb..bcc0035 100644
--- a/src/cairo-pattern.c
+++ b/src/cairo-pattern.c
@@ -2206,8 +2206,8 @@ _extend_range (double range[2], double value, cairo_bool_t valid)
     return TRUE;
 }
 
-/**
- * _cairo_radial_pattern_focus_is_inside
+/*
+ * _cairo_radial_pattern_focus_is_inside:
  *
  * Returns %TRUE if and only if the focus point exists and is
  * contained in one of the two extreme circles. This condition is
@@ -2219,7 +2219,7 @@ _extend_range (double range[2], double value, cairo_bool_t valid)
  * considered as contained in the circle, hence this function returns
  * %FALSE.
  *
- **/
+ */
 cairo_bool_t
 _cairo_radial_pattern_focus_is_inside (const cairo_radial_pattern_t *radial)
 {
commit aa5a9c46e1b1b8e93db8762fec1c902704ed44a9
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Dec 2 16:17:18 2011 +0000

    doc: add CAIRO_DEVICE_TYPE_COGL
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/cairo.h b/src/cairo.h
index 867c671..438abfc 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -2046,6 +2046,7 @@ cairo_device_reference (cairo_device_t *device);
  * @CAIRO_DEVICE_TYPE_XCB: The device is of type xcb
  * @CAIRO_DEVICE_TYPE_XLIB: The device is of type xlib
  * @CAIRO_DEVICE_TYPE_XML: The device is of type XML
+ * @CAIRO_DEVICE_TYPE_COGL: The device is of type cogl, since 1.12
  * @CAIRO_DEVICE_TYPE_INVALID: The device is invalid
  *
  * #cairo_device_type_t is used to describe the type of a given
commit 4a0913eb52be9aa0c8bda89652f47a5e17f4eeb6
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Dec 2 16:16:32 2011 +0000

    doc: Add new antialias symbols
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/cairo.h b/src/cairo.h
index bc5abcf..867c671 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -642,6 +642,12 @@ cairo_set_tolerance (cairo_t *cr, double tolerance);
  * @CAIRO_ANTIALIAS_SUBPIXEL: Perform antialiasing by taking
  *  advantage of the order of subpixel elements on devices
  *  such as LCD panels
+ * @CAIRO_ANTIALIAS_FAST: Hint that the backend should perform some
+ * antialiasing but prefer speed over quality, since 1.12
+ * @CAIRO_ANTIALIAS_GOOD: The backend should balance quality against
+ * performance, since 1.12
+ * @CAIRO_ANTIALIAS_BEST: Hint that the backend should render at the highest
+ * quality, sacrificing speed if necessary, since 1.12
  *
  * Specifies the type of antialiasing to do when rendering text or shapes.
  *


More information about the cairo-commit mailing list