On Mon, 24 Apr 2000, Alexander Larsson wrote:
> I've commited the first cut at the DiaRenderer interface in the
> dia-newcanvas module. What do you think about it?
>
> There are still some questions about it. The largest is which unit the
> drawing should be specified in. For screen-based renderers pixels is
> pretty good, but that doesn't work very well for EPS etc.
Some more comments on the DiaShape part of the renderer. To draw a canvas
item, its render method will be called with a renderer object.
If there are multiple views, there will be multiple renderers. Are canvas
items required to make sure they use the correct DiaShape when rendering?
I am not sure that this is the best way to handle caching data.
>
> / Alex
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/