| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/opengl/gl2/attributedshapepainter.h>

Public Member Functions | |
| VRS_TYPEINFO (AttributedShapePainter, ShapePainter) | |
| virtual ID | target () const |
| Target class whose objects can be painted. | |
| virtual bool | render (Engine *, const Shape *) |
| VRS::GL2::AttributedShapePainter::VRS_TYPEINFO | ( | AttributedShapePainter | , | |
| ShapePainter | ||||
| ) |
| virtual ID VRS::GL2::AttributedShapePainter::target | ( | ) | const [virtual] |
| virtual bool VRS::GL2::AttributedShapePainter::render | ( | Engine * | engine, | |
| const Shape * | shape | |||
| ) | [virtual] |
A painter must be able to convert the shape description in commands suitable for the underlying rendering system. Thus, shape painters are specific for rendering systems. For example, see the OpenGL shape painters. This method returns true, if it actually could paint the given shape. If not, it returns false (e.g., if some parameters of the shape make it impossible for the painter to draw it - this will cause a call to a simplifier for that shape or to another more general painter for this kind of shapes).
Implements VRS::ShapePainter.