diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cairo-path-fixed.c | 2 | ||||
-rw-r--r-- | src/cairo-quartz-font.c | 12 | ||||
-rw-r--r-- | src/cairo-quartz-image-surface.c | 12 |
3 files changed, 13 insertions, 13 deletions
diff --git a/src/cairo-path-fixed.c b/src/cairo-path-fixed.c index ec62281d..fac9e433 100644 --- a/src/cairo-path-fixed.c +++ b/src/cairo-path-fixed.c @@ -851,7 +851,7 @@ _cairo_path_fixed_is_box (cairo_path_fixed_t *path, return FALSE; } -/** +/* * Check whether the given path contains a single rectangle * that is logically equivalent to: * cairo_move_to (cr, x, y); diff --git a/src/cairo-quartz-font.c b/src/cairo-quartz-font.c index 4a59d676..32039831 100644 --- a/src/cairo-quartz-font.c +++ b/src/cairo-quartz-font.c @@ -127,9 +127,9 @@ struct _cairo_quartz_font_face { CGFontRef cgFont; }; -/** - ** font face backend - **/ +/* + * font face backend + */ static void _cairo_quartz_font_face_destroy (void *abstract_face) @@ -255,9 +255,9 @@ cairo_quartz_font_face_create_for_cgfont (CGFontRef font) return &font_face->base; } -/** - ** scaled font backend - **/ +/* + * scaled font backend + */ static cairo_quartz_font_face_t * _cairo_quartz_scaled_to_face (void *abstract_font) diff --git a/src/cairo-quartz-image-surface.c b/src/cairo-quartz-image-surface.c index 124a803c..e0c69a91 100644 --- a/src/cairo-quartz-image-surface.c +++ b/src/cairo-quartz-image-surface.c @@ -274,7 +274,7 @@ static const cairo_surface_backend_t cairo_quartz_image_surface_backend = { /** * cairo_quartz_image_surface_create - * @surface: a cairo image surface to wrap with a quartz image surface + * @image_surface: a cairo image surface to wrap with a quartz image surface * * Creates a Quartz surface backed by a CGImageRef that references the * given image surface. The resulting surface can be rendered quickly @@ -288,7 +288,7 @@ static const cairo_surface_backend_t cairo_quartz_image_surface_backend = { * Since: 1.6 */ cairo_surface_t * -cairo_quartz_image_surface_create (cairo_surface_t *surface) +cairo_quartz_image_surface_create (cairo_surface_t *image_surface) { cairo_quartz_image_surface_t *qisurf; @@ -299,10 +299,10 @@ cairo_quartz_image_surface_create (cairo_surface_t *surface) cairo_format_t format; unsigned char *data; - if (cairo_surface_get_type(surface) != CAIRO_SURFACE_TYPE_IMAGE) + if (cairo_surface_get_type(image_surface) != CAIRO_SURFACE_TYPE_IMAGE) return SURFACE_ERROR_NO_MEMORY; - image_surface = (cairo_image_surface_t*) surface; + image_surface = (cairo_image_surface_t*) image_surface; width = image_surface->width; height = image_surface->height; stride = image_surface->stride; @@ -328,7 +328,7 @@ cairo_quartz_image_surface_create (cairo_surface_t *surface) * be released via the callback (which will be called in * case of failure.) */ - cairo_surface_reference (surface); + cairo_surface_reference (image_surface); image = _cairo_quartz_create_cgimage (format, width, height, @@ -337,7 +337,7 @@ cairo_quartz_image_surface_create (cairo_surface_t *surface) TRUE, NULL, DataProviderReleaseCallback, - surface); + image_surface); if (!image) { free (qisurf); |