[cairo-bugs] [Bug 69796] HiDPI scaling not working with quartz cairo_surface_create_similar() implementation

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Nov 16 11:32:03 PST 2014


--- Comment #3 from Brion Vibber <brion at pobox.com> ---
(In reply to Emmanuele Bassi from comment #2)
> looking around at various sources, it seems that we should do:
>   CGContextScaleCTM (cgc, scaleFactor, scaleFactor);
> when creating the CGBitmapContext inside cairo_quartz_surface_create(),
> where scaleFactor is the device scale factor for the surface.

Tried that manually, it scales up the rendering size but when it gets drawn
it's double-sized (so most everything's offscreen in gdkgears demo). Still
needs something else...

You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20141116/07ab5112/attachment.html>

More information about the cairo-bugs mailing list