Re: sodipodi ...
- From: Joe Shaw <joe helixcode com>
- To: Miguel de Icaza <miguel helixcode com>
- cc: Michael Meeks <mmeeks gnu org>, Lauris Kaplinski <lauris ariman ee>, gnome-components-list gnome org, recipient list not shown: ;
- Subject: Re: sodipodi ...
- Date: Tue, 18 Apr 2000 17:10:05 -0400 (EDT)
> Not really. The Dia people do have their own model *anyways* and they
> would just implement a new canvas-based view of the model.
>
> I do not agree that doing model/view with the canvas is evil nor
> hard.
We do the same thing with Achtung, and it works like a charm. We have a
model (called an AchObject) that contains things like the position on the
canvas, the color of the object for certain objects, image data for
images, text for text objects. Then the views render this data in whatever
way they see fit. For example, the standard slide view draws all of the
AchObjects as canvas items on the canvas. An outline view, though, will
only check the text objects and then put the text into text boxes in that
view.
Joe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]