diff options
author | Bryce Harrington <bryce@osg.samsung.com> | 2014-10-13 18:30:23 -0700 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2014-10-13 18:30:23 -0700 |
commit | 3e41f7b38169f7724ed737790a5c0ad68ff80a04 (patch) | |
tree | 36f87b5593c134342007e9713ed18479c789a7a9 | |
parent | 41561c527c72d20f6f09f898f6390a578cfd4095 (diff) | |
download | cairo-3e41f7b38169f7724ed737790a5c0ad68ff80a04.tar.gz |
NEWS: Flesh out docs for new APIs
-rw-r--r-- | NEWS | 13 | ||||
-rw-r--r-- | src/cairo-surface.c | 2 |
2 files changed, 12 insertions, 3 deletions
@@ -65,9 +65,18 @@ Features API Changes ----------- - New public functions cairo_surface_set_device_scale and - cairo_surface_get_device_scale are available. + cairo_surface_set_device_scale, cairo_surface_get_device_scale: + Sets a scale that is multiplied to the device coordinates + determined by the CTM when drawing to @surface. One common use for + this is to render to very high resolution display devices at a scale + factor, so that code that assumes 1 pixel will be a certain size + will still work. + + cairo_egl_device_get_display, cairo_egl_device_get_context: + + Support get/set of EGLContext and EGLDisplay for egl-based cairo + devices, similar to GLX. Dependency Changes ------------------ diff --git a/src/cairo-surface.c b/src/cairo-surface.c index 84e912d98..00ff52e82 100644 --- a/src/cairo-surface.c +++ b/src/cairo-surface.c @@ -1663,7 +1663,7 @@ slim_hidden_def (cairo_surface_mark_dirty_rectangle); * @x_scale: a scale factor in the X direction * @y_scale: a scale factor in the Y direction * - * Sets an scale that is multiplied to the device coordinates determined + * Sets a scale that is multiplied to the device coordinates determined * by the CTM when drawing to @surface. One common use for this is to * render to very high resolution display devices at a scale factor, so * that code that assumes 1 pixel will be a certain size will still work. |