[Drawkit] Is DrawKit for me?
Brian Bruinewoud
brian at darknova.com
Sat May 9 22:48:08 PDT 2009
Hi,
I have compiled the demos and I am impressed with DrawKit's abilities.
I have read the comments at the bottom of some of the header files so
I think I have a vague understanding of the overall architecture.
I'm not sure, though, whether I can use DrawKit for my project. Or,
perhaps more accurately, whether doing so is going to be more
beneficial than writing my own stuff.
The things that I need to do that don't seem to be catered for by
DrawKit are as follows:
Shapes will need to interact with each other: If I drag a shape so
that it 'hits' another, both shapes need to do clever stuff so that
they don't overlap. What they do exactly is based on the priority of
each shape. But if they both had equal priority and were both
rectangles of the same height, then their lengths would reduce equally.
Shapes that touch need to share the same sides. That is, the styles of
the path drawn for the side. In fact, where shapes touch, only one of
the shapes should draw a path.
Shapes need to have paths that have styles that vary along their
lengths.
Rephrasing my requirements in terms of cartography (given that this is
the driving application for Graham's development of DrawKit): Most of
the shapes in my app will actually be 'areas', like countries on a
continent; states in country; councils in a state; allotments in a
council; etc. They have areas that need to cover their parent and
share sides but do not overlap and those sides need to have the same
attributes.
I guess I could do the first one by subclassing shape and writing
another 'boolean-op' type function.
Not sure if DrawKit supports the last two at all very easily.
Any ideas?
Regards,
Brian
PS: How many people are subscribed here?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.apptree.net/pipermail/drawkit-apptree.net/attachments/20090510/d9cb94d3/attachment.htm>
More information about the Drawkit
mailing list