HGL::ImageOutput::CurvePrimitive Struct Reference
[Image output plugins]

A curve primitive. More...

#include <primitives.h>

List of all members.

Public Attributes

ICanvas::RGBA col1
 start color of the color gradient
ICanvas::RGBA col2
 end color of the color gradient
ICanvas::RGBA color
 the color
PointPrimitive cp1
 the first control point of the curve
PointPrimitive cp2
 the second control point of the curve
float distance
 the distance between the curve's start- and endpoint
std::vector< LinePrimitive * > lines
 the calculated polygon lines of the curve
bool markerPoint: 3
 is the point a marker point?
bool mask: 3
 is the point masked?
uint8_t mval
 the mask value
size_t numCp
 number of control points
PointPrimitive p1
 the starting point of the line
PointPrimitive p2
 the ending point of the line
bool scaled
 need to apply scaling if false
bool unscaled: 1
 is the point unscaled?
float x
 the x-coordinate
float y
 the y-coordinate

Detailed Description

A curve primitive.

Author:
Heiko Schäfer <heiko@hgl.rangun.de>
Since:
0.5.0 BSD License

Member Data Documentation

start color of the color gradient

end color of the color gradient

the color

the first control point of the curve

the second control point of the curve

the distance between the curve's start- and endpoint

the calculated polygon lines of the curve

is the point a marker point?

is the point masked?

the mask value

number of control points

the starting point of the line

the ending point of the line

need to apply scaling if false

is the point unscaled?

the x-coordinate

the y-coordinate


Generated on 9 Apr 2014 for hgl 0.5.26~svn by  doxygen 1.6.1