[cairo-bugs] [Bug 90166] Add a way to specify units

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 4 23:01:41 UTC 2017


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

Bryce Harrington <bryce at osg.samsung.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #13 from Bryce Harrington <bryce at osg.samsung.com> ---
commit 15559b54af473d720da9e03b0e769c54a53505a9
Author:     Antonio Ospite <ao2 at ao2.it>
AuthorDate: Wed Oct 11 18:51:13 2017 +0200
Commit:     Bryce Harrington <bryce at osg.samsung.com>
CommitDate: Mon Dec 4 13:58:34 2017 -0800

    svg: add a new function to specify the SVG document unit

    Add a cairo_svg_surface_set_document_unit() function to allow users to
    set a unit for the width and height values of the root <svg> element.

    In particular this allows to draw in pixels and still have the expected
    result when generating SVG output.

    Add also the correspondent getter function.

    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=90166
    Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>

-- 
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/20171204/873e1192/attachment.html>


More information about the cairo-bugs mailing list