[cairo-bugs] [Bug 90166] Add a way to specify units
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Nov 3 11:52:22 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=90166
Antonio Ospite <ao2 at ao2.it> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #134799|0 |1
is obsolete| |
--- Comment #11 from Antonio Ospite <ao2 at ao2.it> ---
Created attachment 135226
--> https://bugs.freedesktop.org/attachment.cgi?id=135226&action=edit
svg: add a new function to specify the SVG document unit v2
Hi,
here is v2 of the patch.
Changes since v1:
* Reoder the units: put the USER unit as the first one as this seems to be
the default unit according to the SVG specification.
* Fix some minor typos in comments, reword some sentences in the
documentation.
* Mention that the default unit for SVG documents generated by cairo is
"pt".
* Add a getter function to retrieve the current unit of a SVG surface.
NOTE: In the documentation blocks I left the parameter name to @surface even
though the actual parameter in the code is called abstract_surface, because
this is how it's done in other places like
cairo_svg_surface_restrict_to_version().
Ciao,
Antonio
--
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/20171103/033a31a5/attachment.html>
More information about the cairo-bugs
mailing list