[Drawkit] span vs. span unit

Michael Caron michael.r.caron at gmail.com
Sat Mar 28 11:32:41 PDT 2009


Hi Graham,

In DKGridLayer.m, the use of the term "span" seems confusing to me.

First, the conversionFactor argument says "distance in points  
represented by a single span unit", and then there's a "span" argument  
that says "the span distance in grid coordinates".

Is a "span unit" like a pixel (given that you've marked 72 as the  
english conversion factor, and 72 pixels/inch is a standard  
resolution) or is a "span unit" one tick on the grid ruler?

I don't really understand "the span distance in grid coordinates".  
What does that mean? Does that mean the distance between ruler ticks  
on the grid in ticks?

Confused,
Michael
------------------------------------------------
michael.r.caron at gmail.com
http://techrad.wordpress.com
http://mrcaron.wordpress.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.apptree.net/pipermail/drawkit-apptree.net/attachments/20090328/3441a3a3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.apptree.net/pipermail/drawkit-apptree.net/attachments/20090328/3441a3a3/attachment.pgp>


More information about the Drawkit mailing list