VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Attributes
makVrv::DtDrawPath Struct Reference

Public Attributes

std::vector< DtPathCommand > commands
 
std::vector< DtPoint > points
 
uint32_t fillColor = 0u
 
uint32_t strokeColor = 0u
 
double strokeWidth = 0.0
 
bool filled = false
 
bool stroked = false
 
std::string dashArray
 
std::string label
 
double labelFontSize = 0.0
 
double labelStrokeWidth = 0.0
 
std::string labelFontFamily = "Arial"
 
std::string labelFontWeight
 
std::string labelTextAnchor = "middle"
 

Member Data Documentation

std::vector<DtPathCommand> makVrv::DtDrawPath::commands
std::vector<DtPoint> makVrv::DtDrawPath::points
uint32_t makVrv::DtDrawPath::fillColor = 0u
uint32_t makVrv::DtDrawPath::strokeColor = 0u
double makVrv::DtDrawPath::strokeWidth = 0.0
bool makVrv::DtDrawPath::filled = false
bool makVrv::DtDrawPath::stroked = false
std::string makVrv::DtDrawPath::dashArray

Stroke-dasharray value; empty string = solid stroke.

Optional icon text label.

When non-empty this DtDrawPath represents a centred SVG <text> element rather than a <path>. points[0] is the pixel anchor (x = horizontal centre, y = text baseline). strokeColor holds the text fill colour.

std::string makVrv::DtDrawPath::label
double makVrv::DtDrawPath::labelFontSize = 0.0

Font size in scaled pixel space.

double makVrv::DtDrawPath::labelStrokeWidth = 0.0

Stroke width of the text, used when civilian text has a fill color.

std::string makVrv::DtDrawPath::labelFontFamily = "Arial"

SVG font-family for the label.

std::string makVrv::DtDrawPath::labelFontWeight

SVG font-weight ("bold" or empty = normal).

std::string makVrv::DtDrawPath::labelTextAnchor = "middle"

SVG text-anchor ("start", "middle", "end").


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

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)