This is the Marker Class. More...
#include <hps.h>
Public Types | |
| enum | DrawingPreference : uint32_t { DrawingPreference::Nicest, DrawingPreference::Fastest } |
| enum | SizeUnits : uint32_t { SizeUnits::ScaleFactor, SizeUnits::ObjectSpace, SizeUnits::SubscreenRelative, SizeUnits::WindowRelative, SizeUnits::WorldSpace, SizeUnits::Points, SizeUnits::Pixels } |
| Marker Size Units. More... | |
Private Member Functions | |
| Marker () | |
This is the Marker Class.
|
strong |
| Enumerator | |
|---|---|
| Nicest | |
| Fastest | Performance should be favored at the possible cost of drawing markers at a smaller size than requested. |
|
strong |
Marker Size Units.
| Enumerator | |
|---|---|
| ScaleFactor | A unitless linear scaling factor. A value of 2.0 will cause markers to be rendered twice as large. A value of 1.0 will result in a visually pleasing device-dependent marker size that is approximately 3% of the height of the outer window. A value of 0 will result in a single pixel marker for display-devices, or the smallest size supported by any other device. |
| ObjectSpace | Object space units ignoring any scaling components in modelling matrices. |
| SubscreenRelative | Fraction of the height of the outermost window. |
| WindowRelative | Fraction of the height of the local window. |
| WorldSpace | Object space units including any scaling components in modelling matrices and cameras. |
| Points | Points units typically used for text size. 1 point corresponds to 1/72 inch. |
| Pixels | Number of pixels. |
|
inlineprivate |