A text primitive. More...
#include <primitives.h>
Public Attributes | |
| ICanvas::RGBA | color |
| the color | |
| std::string | font |
| the font to render with | |
| int | fontSize |
| the font size | |
| bool | markerPoint: 3 |
| is the point a marker point? | |
| bool | mask: 3 |
| is the point masked? | |
| uint8_t | mval |
| the mask value | |
| std::string | text |
| the text to render | |
| bool | unscaled: 1 |
| is the point unscaled? | |
| float | x |
| the x-coordinate | |
| float | y |
| the y-coordinate | |
A text primitive.
ICanvas::RGBA HGL::ImageOutput::PointPrimitive::color [inherited] |
the color
| std::string HGL::ImageOutput::TextPrimitive::font |
the font to render with
the font size
bool HGL::ImageOutput::PointPrimitive::markerPoint [inherited] |
is the point a marker point?
bool HGL::ImageOutput::PointPrimitive::mask [inherited] |
is the point masked?
uint8_t HGL::ImageOutput::PointPrimitive::mval [inherited] |
the mask value
| std::string HGL::ImageOutput::TextPrimitive::text |
the text to render
bool HGL::ImageOutput::PointPrimitive::unscaled [inherited] |
is the point unscaled?
float HGL::ImageOutput::PointPrimitive::x [inherited] |
the x-coordinate
float HGL::ImageOutput::PointPrimitive::y [inherited] |
the y-coordinate
1.6.1