[cairo] What should the units of size be for an SVG surface?

Carl Worth cworth at cworth.org
Tue May 2 15:10:49 PDT 2006


On Tue, 02 May 2006 23:48:32 +0200, Emmanuel Pacaud wrote:
> > 
> > However, in SVG, an identity matrix does not map one user-space unit
> > to one point. Instead one user-space unit maps to one "px" unit,
> > (which I believe is defined in CSS2 with the intentionally vague
> > notion of "arm's length", etc. to achieve a consistent size in angular
> > viewing space).
> 
> Not necessarly. It depends on viewBox property.

Yes, that's true. But cairo's SVG backend doesn't allow the user to
control viewBox does it?

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060502/3d7321c2/attachment.pgp


More information about the cairo mailing list