Hi Jeff,

svg-developers@yahoogroups.com wrote on 10/17/2005 02:06:04 PM:

> Hmmm, forceRedraw *should* work in an ideal world-- but I haven't tested 

> it. Essentially this is a problem with many implementations-- the DOM is 

> lazy with respect to rendering hints. In SharpVectorGraphics I think 
> that the bbox is a cached item-- if it is not found in the cache then we 

> generate it on request (of course this implies a forced render).

   No it doesn't it implies that the geometry is calculated, nothing
needs to be rendered.  That is typically the act of putting bits on a
device, and is generally much more expensive than just calculating the
bbox of content.
 
> In general, I think that most implementations (other than Batik) do not 
> rerender within a function block-- but do a complete rerender of changed 

> portions at the end of the block when control is passed from the script. 


   Batik maintains geometry as the DOM is manipulated, we do not 
'rerender' 
on every change.

> Which is to say that this type of problem isn't unexpected-- but you 
> have to be able to obtain those rendering properties on the fly. Even if 

> you can do that though, the resulting page will likely be sub-optimal.

   In what sense 'sub-optimal'?  You almost certainly need to calculate
the BBox in order to render the content, so why does doing it before the
rendering make it worse than during the render? 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




Reply via email to