Skip to content

textbox in lattice

1 message · Paul Murrell

#
Hi
On 6/6/2010 11:20 PM, baptiste auguie wrote:
In theory, you could cache information from drawing (such as where on 
the device you drew), but this would have to be updated if the device is 
resized (or output is copied between devices) and there is no general 
infrastructure to support that at the moment.

PLUS width/height calculations can be performed independently of 
drawing.  I might want to position some output based on where a grob 
WOULD be drawn, but without actually drawing the grob.  So it would not 
be safe, for example, for widthDetails() to assume that drawDetails() 
had previously been called.

These are not insurmountable problems;  they are just examples to show 
that the implementation would be non-trivial.

Paul