Skip to content
/ gerbvQt Public

A simple class for drawing the libgerbv images using QPainter rather than the cairo library

License

Notifications You must be signed in to change notification settings

sx107/gerbvQt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gerbvQt

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

  1. Create the "build" folder (mkdir build)
  2. Go into it (cd build)
  3. cmake ../examples/
  4. make
  5. ./gerbvQtexample [any gerber file]
  6. The example will output to the build folder two files: test.png and cairo.png, which are generated using QPainter and cairo correspondingly.

Macro options

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.

References

This project uses Qt, cairo and libgerbv. Links:

About

A simple class for drawing the libgerbv images using QPainter rather than the cairo library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages