On Wed, 26 Apr 2000, James Henstridge wrote:
> The other case is where you change some attribute of the canvas item (such
> as the start and end points of a line item). You would need to
> recalculate SVPs for that I assume.
Yeah.
> So getting the renderer/view to store the DiaShapes sounds like a good
> plan. The view could destroy all cached data on view changes (does
> scrolling count as a view change?), or when a canvas item emits a changed
> signal. The view would also free the DiaShapes when the canvas item is
> destroyed.
Scrolling does not count as a view change. That would be far to
expensive. Instead scrolling is implemented by the view telling the
renderer the new visible region it should render to.
/ Alex