Paints a librepcb::Footprint to a QPainter.
More...
#include <footprintpainter.h>
◆ FootprintPainter() [1/3]
◆ FootprintPainter() [2/3]
◆ FootprintPainter() [3/3]
◆ ~FootprintPainter()
◆ 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
◆ mStrokeFont
◆ mPads
◆ mPolygons
◆ mCircles
◆ mStrokeTexts
◆ mHoles
◆ mMutex
◆ mContentByColor
The documentation for this class was generated from the following files: