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

A poly primitive. More...

#include "primitives.h"

Public Attributes

ICanvas::RGBA col1
 start color of the color gradient More...
 
ICanvas::RGBA col2
 end color of the color gradient More...
 
ICanvas::RGBA color
 the color 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...
 
PointPrimitive p1
 the starting point of the line More...
 
PointPrimitive p2
 the ending point of the line More...
 
bool scaled
 need to apply scaling if false More...
 
bool unscaled: 1
 is the point unscaled? More...
 
float x
 the x-coordinate More...
 
float y
 the y-coordinate More...
 

Detailed Description

A poly 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::PolyPrimitive::col1

start color of the color gradient

ICanvas::RGBA HGL::ImageOutput::PolyPrimitive::col2

end color of the color gradient

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

the color

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

PointPrimitive HGL::ImageOutput::LinePrimitive::p1
inherited

the starting point of the line

PointPrimitive HGL::ImageOutput::LinePrimitive::p2
inherited

the ending point of the line

bool HGL::ImageOutput::LinePrimitive::scaled
inherited

need to apply scaling if false

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