diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2006-06-29 18:36:53 +0200 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2006-06-30 02:21:49 +0200 |
commit | 320ce67d630e4aac1f0007982aef27c831b04b66 (patch) | |
tree | 707ea863cbecb6b686d77ba989d6b47fcaba2ade /src/cairo-surface.c | |
parent | bd92eb7f3c58fdcbe05f67b9a879798246c616bc (diff) |
Add "Since: 1.2" to docs for most new API functions.
Diffstat (limited to 'src/cairo-surface.c')
-rw-r--r-- | src/cairo-surface.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cairo-surface.c b/src/cairo-surface.c index 51c1bccf6..0be3ed2c3 100644 --- a/src/cairo-surface.c +++ b/src/cairo-surface.c @@ -158,6 +158,8 @@ _cairo_surface_set_error (cairo_surface_t *surface, * @surface: a #cairo_surface_t * * Return value: The type of @surface. See #cairo_surface_type_t. + * + * Since: 1.2 **/ cairo_surface_type_t cairo_surface_get_type (cairo_surface_t *surface) @@ -176,6 +178,8 @@ cairo_surface_get_type (cairo_surface_t *surface) * Return value: The content type of @surface which indicates whether * the surface contains color and/or alpha information. See * #cairo_content_t. + * + * Since: 1.2 **/ cairo_content_t cairo_surface_get_content (cairo_surface_t *surface) @@ -718,6 +722,7 @@ cairo_surface_set_device_offset (cairo_surface_t *surface, * Returns a previous device offset set by * cairo_surface_set_device_offset(). * + * Since: 1.2 **/ void cairo_surface_get_device_offset (cairo_surface_t *surface, @@ -755,6 +760,8 @@ cairo_surface_get_device_offset (cairo_surface_t *surface, * completing a page (with cairo_show_page() or cairo_copy_page()) so * there is currently no way to have more than one fallback resolution * in effect on a single page. + * + * Since: 1.2 **/ void cairo_surface_set_fallback_resolution (cairo_surface_t *surface, @@ -764,13 +771,6 @@ cairo_surface_set_fallback_resolution (cairo_surface_t *surface, surface->x_fallback_resolution = x_pixels_per_inch; surface->y_fallback_resolution = y_pixels_per_inch; } -/* XXX: Add symbols for old, deprecated names to eas GTK+ migration - * pain. This is a transition strategy for prior to 1.2. These - * aliases should be dropped before the major release. - */ -CAIRO_FUNCTION_ALIAS(cairo_pdf_surface_set_dpi, cairo_surface_set_fallback_resolution); -CAIRO_FUNCTION_ALIAS(cairo_ps_surface_set_dpi, cairo_surface_set_fallback_resolution); -CAIRO_FUNCTION_ALIAS(cairo_svg_surface_set_dpi, cairo_surface_set_fallback_resolution); cairo_bool_t _cairo_surface_has_device_transform (cairo_surface_t *surface) |