A curve primitive. More...
#include <primitives.h>
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 | |
A curve primitive.
ICanvas::RGBA HGL::ImageOutput::PolyPrimitive::col1 [inherited] |
start color of the color gradient
ICanvas::RGBA HGL::ImageOutput::PolyPrimitive::col2 [inherited] |
end color of the color gradient
ICanvas::RGBA HGL::ImageOutput::PointPrimitive::color [inherited] |
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
| std::vector<LinePrimitive *> HGL::ImageOutput::CurvePrimitive::lines |
the calculated polygon lines of the curve
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
number of control points
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
1.6.1