[Qt-interest] Graphical library design

Patric userqt at gmail.com
Thu Jul 30 17:07:02 CEST 2009


Hey guys :), 
I have a task here. It's about a library, graphical library with approximately 10 classes and 600 lines of code. No visual rendering is needed. 
Here it is :  

Create an object model library for 2D coordinate space and flexible representation of geometric shapes. Support the following features: 
-circle, triangle, rectangle, polygon with arbitrary number of vertexes 
-create/destroy a shape 
-store shape coordinates 
-grouping of the shapes i.e. several shapes logically grouped together 

It's the first time I'm doing such a thing, and if I can ask you about some hints, maybe some design patterns that I should read about and implement the library that way. 

The library has to be written on C++, it's not necessary to be QT. 

Thank you in advance. :) 

Best regards, 
Patric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090730/03f216dd/attachment.html 


More information about the Qt-interest-old mailing list