Alexander Larsson wrote:
>
> On Mon, 17 Apr 2000, Arjan J. Molenaar wrote:
> > I'm quite charmed by the way constraints can solve placement problems,
> > but since I never did anything using constraints (well, except
> > programmatical constraints, which are quite inflexible) I'm not sure
> > where this will end.
> >
> > DIA could also benefit from such a canvas, but I don't know when...
>
> In such a canvas i don't think constraint solving or even
> connection-points should be handled. Just generic code for "objects" that
> can be "drawn" and positioned. Maybe some generic trasformation too. We
> need to steal some ideas from gnome-canvas, combine with Dia ideas and new
> ideas and make a perfect canvas.
Again, we see some conflicts because of termonilogy.
In Dia, the grapples/handles uses to resize a widget are call
connection points.
Suggestion: rename them to grapples
When a edge connect to non-rectangular visual shape, like a losange
or oval, an obvious problem occur, the grapples do not matches the
connection points. And peolples complainned of not enough of thoses CP.
Even for rectangular shape, edges need to know where they connect,
may need the help of constraint placement, or visual effect desired.
It would be nice to have a description of the collaboration between
our objects that can provide such a cooperation.
> >From the Gtk+ TODO list:
> Canvas widget Size: Big Status: 0% Target Version: > 1.4
> Figure out how to get GnomeCanvas or a derived work into GTK+ itself.
>
> / Alex