hgl 0.5.25
A compiler/interpreter suite for developing images (plugin development)
Public Attributes | List of all members
HGL::ImageOutput::TextPrimitive Struct Reference

A text primitive. More...

#include "primitives.h"

Public Attributes

ICanvas::RGBA color
 the color More...
 
std::string font
 the font to render with More...
 
int fontSize
 the font size More...
 
bool markerPoint: 3
 is the point a marker point? More...
 
bool mask: 3
 is the point masked? More...
 
uint8_t mval
 the mask value More...
 
std::string text
 the text to render More...
 
bool unscaled: 1
 is the point unscaled? More...
 
float x
 the x-coordinate More...
 
float y
 the y-coordinate More...
 

Detailed Description

A text primitive.

Author
Heiko Schäfer heiko.nosp@m.@hgl.nosp@m..rang.nosp@m.un.d.nosp@m.e
Since
0.4.70

Member Data Documentation

ICanvas::RGBA HGL::ImageOutput::PointPrimitive::color
inherited

the color

std::string HGL::ImageOutput::TextPrimitive::font

the font to render with

int HGL::ImageOutput::TextPrimitive::fontSize

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