18#include <peak_icv_c/painting/peak_icv_painter.h>
141 drawable.Draw(m_image, m_drawingOptions);
For detailed information about the use of ids_peak_icv Image refer to the Image Guide.
void SetColor(const experimental::Color &color)
Set the color for drawing.
void SetOpacity(const experimental::Opacity &opacity)
Set the opacity for drawing.
experimental::Opacity GetOpacity() const
Get the opacity for drawing.
constexpr experimental::Color GetColor() const
Get the color for drawing.
Color class holding the actual color codes.
Base class for all drawables.
Opacity refers to the transparency or the degree to which an object or pixel allows the background to...
Class for painting simple things (e.g. a region) on images.
Color GetColor() const
Retrieve the current color for painting.
void SetColor(const Color &color)
Set the color for painting.
Painter(Image &image)
Constructs a Painter object.
void SetOpacity(const Opacity &opacity)
Sets the opacity for painting.
void Draw(const IDrawable &drawable) const
Draws the drawable onto the image, the painter was initialized with. For more info,...
Opacity GetOpacity() const
Retrieve the current opacity for painting.