standard rectangle class

Posted by Neil G on Stack Overflow See other posts from Stack Overflow or by Neil G
Published on 2010-04-14T23:59:35Z Indexed on 2010/04/15 0:03 UTC
Read the original article Hit count: 250

Filed under:

I have a project that has a GUI (written in QT) and a command-line version. I made use of the rectangle class included in QT: QRect. I would like to break the command-line version's dependency on QT, so I need a drop-in rectangle class that supports intersection and union. I could write one, but I'd prefer including one if possible.

Any ideas?

© Stack Overflow or respective owner

Related posts about c++