What is meant by "draw time"?

For most purposes, I think that I'd want to specify an offset in font 
units (points).  If offsets are specified in units of pixels, then the 
results would be display-dependent, and achieving display-independent 
results would require some additional fiddling.  I would recommend 
allowing the user to select units of points, pixels, mm, inches, or plot 
units, with a default of points.

Phillip

John Hunter wrote:
> On Sun, Jan 3, 2010 at 2:50 PM, Eric Firing <efir...@hawaii.edu> wrote:
>   
>> I think that allowing display units would be easy to implement (as indicated
>> by Ryan's example), but font or physical units would be much trickier
>> because they would involve draw-time determinations.  Starting by allowing
>> only display units still would be much better than the present situation.
>>
>> Collections already have something like this, with their offset and
>> offset_transform kwargs, but they are still a little more difficult to use
>> than what I am thinking of for text.
>>     
>
> This would be a nice feature, but a little tricky to do generally
> since the text objects are already so complicated ... I mean feature
> rich.
>
> One could simply do a draw time offset and convert points->pixels (eg
> as in Annotation) but to get everything to play consistently with
> annotations, arrows, fancy boxes, etc, would require some care and
> thought.
>
> JDH
>
>   


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to