[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: UML module hackery
- From: Matthew Palmer <mjp16 ieee uow edu au>
- To: dia-list gnome org
- Subject: Re: UML module hackery
- Date: Thu, 14 Nov 2002 11:12:41 +1100 (EST)
On 13 Nov 2002, Lars Clausen wrote:
> >> How would you distinguish autobreaking a line from simply moving it?
> >> This
> >
> > A "line" would be defined as a connection between two objects. Well,
> > actually, there probably wouldn't be YA line_class, but rather an
> > "association" type class (base for everything else) which is defined by
> > the objects it connects and the intermediate points it traverses.
>
> We have a few superclasses for connection: Connection (single-segment line),
> PolyConn (multi-segment line), and BezierConn. The PolyConn is different
> from the Connection mostly in that it manages an array of points instead of
> a fixed number. So what you're thinking of sounds like the standard
> PolyLine.
Yup, it sounds like it. Probably end up sub-classing all relationship types
off PolyConn or a Relations class which is parented to PolyConn.
> >> Good. This is perfect for them, then. Plenty of examples to learn
> >> from.
> >
> > "This is why you want to get out of IT and get a nice job, say, as a
> > crash-test dummy". <grin>
>
> "Programming is like banging your head against a wall, only with less
> chance of reward." :)
I like "Programming is like trying to hammer a nail into a wall with your
forehead. You may eventually get something productive done, but it causes
much pain and loss of blood." Or words to that effect.
- Matt
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Mail converted by Mofo Magic and the Flying D
All trademarks and copyrights are the property of
their respective owners.
Related Sites:
eBay Registration |
Bakie Directory |
Directory Owners Forum |
eLoan |
Cash Advance |
OPEN |
OPEN |
OPEN |
FreeCreditReport.com |
Powered by: vBulletin Version 3.5.3,
Copyright ©2000 - 2003, Jelsoft Enterprises Limited.
GuideSMACK