<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:ao2@ao2.it" title="Antonio Ospite <ao2@ao2.it>"> <span class="fn">Antonio Ospite</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Add a way to specify units"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90166">bug 90166</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Attachment #134799 is obsolete</td>
<td>
</td>
<td>1
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Add a way to specify units"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90166#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Add a way to specify units"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90166">bug 90166</a>
from <span class="vcard"><a class="email" href="mailto:ao2@ao2.it" title="Antonio Ospite <ao2@ao2.it>"> <span class="fn">Antonio Ospite</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=135226" name="attach_135226" title="svg: add a new function to specify the SVG document unit v2">attachment 135226</a> <a href="attachment.cgi?id=135226&action=edit" title="svg: add a new function to specify the SVG document unit v2">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=90166&attachment=135226'>[review]</a>
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>