> On Wed, 26 Apr 2000, Alexander Larsson wrote:
>
> > That would be one way of solving it. Although getting the
> shape from the
> > renderer would mean at least a hashtable lookup, so getting
> several shapes
> > from the renderer would be inefficient. Another solution
> would be to be
> > able to "attach" a view-specific part of the item-data to
> the view, which
> > could then be passed to the "render" method (and others, plus the
> > possibility to retrieve it from the view). In this data (a
> pointer to a
> > item-dependent structure) the item could store the
> DiaShapes and other
> > view-specific data it needs.
>
> yep.
Hi,
Fhew... Took a while to catch up with you!
What's the opinion about the more behavioural data (like selecting objects). Should
that also be attached to a few, or should it be part of the global canvas-item state?
Regards,
Arjan