A simple class for drawing the libgerbv images using QPainter rather than the cairo library.
Folders and files
- gerbvQt - folder containing the class, one .h and one .cpp file
- example - example of usage
- LICENSE - GNU GPL v3 license
- README.md - this file
Building and running the example
- Create the "build" folder (mkdir build)
- Go into it (cd build)
- cmake ../examples/
- ./gerbvQtexample [any gerber file]
- The example will output to the build folder two files: test.png and cairo.png, which are generated using QPainter and cairo correspondingly.
There are two macros options in gerbvQt.h: GERBVQT_MACRO_USE_TEMPIMAGE and GERBVQT_MACRO_CIRCLE_PRECISION.
See gerbvQt::drawMacroFlash(...) function for more info on these ones.
This project uses Qt, cairo and libgerbv. Links: