Got following to work: - matrix multiplication in all cases (deleting abs() macro from xcircuit.h needed a few more places adjusted to fabs) - library directory layout (aspect ratio of red page bboxes is till TBD) - stipples
You can see the TK xcircuit and Qt xcircuit side by side: <http://home.wowway.com/~mandasoft/xcircuit-7.png>. The SVN repository snapshot is available for download from <http://home.wowway.com/~mandasoft/xcircuit-7.tar.gz>. I'm getting tired of the very-much-C element code, so I'll get that slowly ported next. Plan: 1. floating point GUI coordinates - this well get everything looking nicer without hand-coded rounding hacks 2. use Qt's transform matrices, cull ...CTM... code 3. use QGraphicsItem, cull matrix stack 4. move painter path generation into item classes 5. have the whole shebang painted by QGraphicsView And yes, the output widget -- to get the darn thing to save files, finally. The toolbar also has to be reimplemented, since Qt's toolbar is dead set on wasting lots of space, but that's minor. Note to self: the currently edited file name and page should be displayed in the window title bar, this will get rid of the page display in the status bar. Cheers, Kuba _______________________________________________ Xcircuit-dev mailing list [email protected] http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev
