![]() |
MAK Data Logger API Documentation for HLA
|
Internal (not exported) painting helpers shared by the annotation color widgets and bars. More...
Go to the source code of this file.
Namespaces | |
| MAKLogger | |
| MAKLogger::DtLgrGenericFileFormats. | |
| MAKLogger::AnnotationPaint | |
Functions | |
| qreal | MAKLogger::AnnotationPaint::snap (qreal value, qreal dpr) |
| value rounded to a whole device pixel. More... | |
| QRectF | MAKLogger::AnnotationPaint::snapRect (const QRectF &rect, qreal dpr) |
| rect with every edge on a whole device pixel. More... | |
| qreal | MAKLogger::AnnotationPaint::strokeWidth (int logicalWidth, qreal dpr) |
| logicalWidth rounded to whole device pixels, at least one. More... | |
| void | MAKLogger::AnnotationPaint::strokeRoundedRect (QPainter &painter, const QRectF &rect, qreal radius, const QColor &color, int logicalWidth, Qt::PenStyle style=Qt::SolidLine) |
| Rounded outline drawn inside rect, snapped to whole device pixels. More... | |
| void | MAKLogger::AnnotationPaint::paintSwatch (QPainter &painter, const QRectF &rect, qreal radius, const QColor &color, const QColor &outline, int outlineWidth) |
| Rounded swatch with a snapped outline inside rect; an invalid color draws an empty dashed swatch. More... | |
| void | MAKLogger::AnnotationPaint::drawCheck (QPainter &painter, const QRectF &box, const QColor &color, qreal strokeWidth) |
| Lucide "check" (24-unit grid) scaled into box. More... | |
Variables | |
| const int | MAKLogger::AnnotationPaint::kSwatchWidth = 24 |
| const int | MAKLogger::AnnotationPaint::kSwatchHeight = 16 |
| const qreal | MAKLogger::AnnotationPaint::kSwatchRadius = 4.0 |
| radius-sm More... | |
Internal (not exported) painting helpers shared by the annotation color widgets and bars.