[cairo-bugs] [Bug 99094] New: docs: cairo_surface_create_similar_image accepts dimensions in pixels, not device-space units

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 15 11:39:03 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=99094

            Bug ID: 99094
           Summary: docs: cairo_surface_create_similar_image accepts
                    dimensions in pixels, not device-space units
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: rishi.is at lostca.se
        QA Contact: cairo-bugs at cairographics.org

The cairo_surface_create_similar_image documentation says that the width and
height are in device-space units. Instead they are in raw pixels. Basically the
same unit used by cairo_image_surface_get_height,
cairo_image_surface_get_width, etc..

It might also be nice to mention that cairo_surface_create_similar_image
doesn't inherit the device scale, but cairo_surface_create_similar does.

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


More information about the cairo-bugs mailing list