[cairo] What should the units of size be for an SVG surface?
Emmanuel Pacaud
emmanuel.pacaud at univ-poitiers.fr
Tue May 2 15:19:35 PDT 2006
Le mardi 02 mai 2006 à 15:10 -0700, Carl Worth a écrit :
> 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?
No, it doesn't. But my last patch sets a viewBox in order to have points
as user space unit.
Emmanuel.
More information about the cairo
mailing list