SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmmvis::sectionview::DiagramSymbol Struct Reference

#include <sectiondiagram.h>

Collaboration diagram for openswmmvis::sectionview::DiagramSymbol:

Public Attributes

QPointF anchor
 
DiagramSymbolKind kind = DiagramSymbolKind::Pump
 
double pixelSize = 20.0
 
bool mirrored = false
 
DiagramRole role = DiagramRole::Accent
 

Detailed Description

One glyph, anchored at a model point and sized in screen pixels.

Member Data Documentation

◆ anchor

QPointF openswmmvis::sectionview::DiagramSymbol::anchor

◆ kind

DiagramSymbolKind openswmmvis::sectionview::DiagramSymbol::kind = DiagramSymbolKind::Pump

◆ mirrored

bool openswmmvis::sectionview::DiagramSymbol::mirrored = false

Mirror horizontally, so a glyph on an inbound connection faces the way its flow runs.

◆ pixelSize

double openswmmvis::sectionview::DiagramSymbol::pixelSize = 20.0

Glyph size in SCREEN pixels. Symbols keep their size under zoom for the same reason text does — a legible symbol is the point of drawing one.

◆ role

DiagramRole openswmmvis::sectionview::DiagramSymbol::role = DiagramRole::Accent

The documentation for this struct was generated from the following file: