Paints a librepcb::Board to a QPainter.
More...
#include <boardpainter.h>
◆ BoardPainter() [1/3]
◆ BoardPainter() [2/3]
◆ BoardPainter() [3/3]
◆ ~BoardPainter()
◆ paint()
Draw page content on a QPainter.
- Attention
- This method must be thread-safe as it might be called from multiple threads at the same time!
- Note
- Most settings are already handled by librepcb::GraphicsExport and should not be taken into account when implementing this method. In particular, any page layout or coordinate transformations do not need to be respected by this implementation. And for layer colors, just use librepcb::GraphicsExportSettings::getColor() and librepcb::GraphicsExportSettings::getFillColor().
- Parameters
-
painter | Where to paint the content to. |
settings | Helper class to fetch layer colors depending on the current export settings. |
Implements GraphicsPagePainter.
◆ operator=()
◆ initContentByColor()
void initContentByColor |
( |
| ) |
const |
|
privatenoexcept |
◆ mMonospaceFont
◆ mCopperLayers
QSet<const Layer*> mCopperLayers |
|
private |
◆ mFootprints
◆ mVias
◆ mTraces
◆ mPlanes
◆ mPolygons
◆ mStrokeTexts
◆ mHoles
◆ mMutex
◆ mContentByColor
The documentation for this class was generated from the following files: