![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
MarkerShape JSON + draw implementation (Slice Z.4). More...
#include "render/markershape.h"#include <QBrush>#include <QPainter>#include <QPainterPath>#include <QPen>#include <QPointF>#include <QPolygonF>#include <array>#include <cmath>Namespaces | |
| namespace | OpenSWMM |
| namespace | OpenSWMM::Render |
Functions | |
| QString | OpenSWMM::Render::markerShapeToString (MarkerShape shape) |
| MarkerShape | OpenSWMM::Render::markerShapeFromString (const QString &s) |
| void | OpenSWMM::Render::drawMarkerShape (QPainter *painter, MarkerShape shape, const QPointF ¢er, qreal sizePx, const QBrush &fillBrush, const QPen &outlinePen, qreal rotationDeg=0.0) |
Render shape into painter centred at center with the outer extent sizePx, filled with fillBrush and stroked with outlinePen. Rotation is in degrees (clockwise). | |
MarkerShape JSON + draw implementation (Slice Z.4).
| MarkerShape shape |
| const char* token |