CWRVectorRendererRGB888
touchgfx/widgets/canvas/CWRVectorRenderer.hpp
Implementation of the CWRVectorRendererInterface for the RGB888 framebuffer format.
Inherits from: CWRVectorRenderer, VectorRenderer
Additional inherited members
Public Functions inherited from CWRVectorRenderer
virtual void | drawPath(const uint8_t cmds, uint32_t nCmds, const float points, uint32_t nPoints, const float * bbox =0) |
Draw a Path defined by the given array of primitives (commands) and an array of the corresponding floating point coordinates. | |
virtual void | setAlpha(uint8_t a) |
Set the alpha value (opacity) used for future drawings. | |
virtual void | setColor(colortype c) |
Set a constant color used for future drawings. | |
virtual void | setLinearGradient(float x0, float y0, float x1, float y1, uint32_t stops, const float stopPositions, const uint32_t stopColors, float width, float height, bool solid, const uint32_t * palette) |
Set a linear gradient used for future drawings. | |
virtual void | setMode(DrawMode mode) |
Set the drawing mode for the VectorRenderer. | |
virtual void | setRadialGradient(float cx, float cy, float radius, uint32_t stops, const float stopPositions, const colortype stopColors) |
Set a radial gradient used for future drawings. | |
virtual void | setStrokeLineCap(VGStrokeLineCap lineCap) |
Sets stroke line cap type. | |
virtual void | setStrokeLineJoin(VGStrokeLineJoin lineJoin) |
Sets stroke line join type. | |
virtual void | setStrokeMiterLimit(float miterLimit) |
Sets stroke miter limit. | |
virtual void | setStrokeWidth(float w) |
Set the width used for future drawings using the VECTOR_STROKE drawing mode. | |
virtual void | setTransformationMatrix(const Matrix3x3 & m) |
Sets the transformation matrix used for future drawings. | |
virtual void | setup(const Widget & renderer, const Rect & drawingArea) |
Start a new drawing in the given area. | |
virtual void | tearDown() |
Finalizes the current drawing. | |
Public Types inherited from VectorRenderer
enum | DrawMode { STROKE, FILL_EVEN_ODD, FILL_NON_ZERO } |
A list of vector graphics drawing modes. | |
Public Functions inherited from VectorRenderer
virtual void | drawPath(const uint8_t cmds, uint32_t nCmds, const float points, uint32_t nPoints, const float * bbox =0) =0 |
Draw a Path defined by the given array of primitives (commands) and an array of the corresponding floating point coordinates. | |
virtual void | setAlpha(uint8_t a) =0 |
Set the alpha value (opacity) used for future drawings. | |
virtual void | setColor(colortype c) =0 |
Set a constant color used for future drawings. | |
virtual void | setLinearGradient(float x0, float y0, float x1, float y1, uint32_t stops, const float stopPositions, const uint32_t stopColors, float width, float height, bool solid, const uint32_t * palette) =0 |
Set a linear gradient used for future drawings. | |
virtual void | setMode(DrawMode mode) =0 |
Set the drawing mode for the VectorRenderer. | |
virtual void | setStrokeLineCap(VGStrokeLineCap lineCap) =0 |
Sets stroke line cap type. | |
virtual void | setStrokeLineJoin(VGStrokeLineJoin lineJoin) =0 |
Sets stroke line join type. | |
virtual void | setStrokeMiterLimit(float miterLimit) =0 |
Sets stroke miter limit. | |
virtual void | setStrokeWidth(float w) =0 |
Set the width used for future drawings using the VECTOR_STROKE drawing mode. | |
virtual void | setTransformationMatrix(const Matrix3x3 & m) =0 |
Sets the transformation matrix used for future drawings. | |
virtual void | setup(const Widget & renderer, const Rect & drawingArea) =0 |
Start a new drawing in the given area. | |
virtual void | tearDown() =0 |
Finalizes the current drawing. | |
virtual | ~VectorRenderer() |
Virtual destructor. | |
VectorRenderer * | getInstance() |
Gets the VectorRenderer instance. | |