13#include <peak_common_c/detail/peak_common_defines.h>
18#include <peak_icv_c/painting/peak_icv_painter.h>
137 drawable.Draw(m_image, m_drawingOptions);
Holds a color code composed of red, green, and blue components.
Base class for all drawables.
For detailed information about the use of ids_peak_icv Image refer to the Image Guide.
Holds an opacity value representing the transparency level of an object or pixel.
Provides functionality for painting drawable objects on images.
void SetColor(const Color &color)
Sets the color for painting.
Painter(Image &image)
Constructs a Painter with the target image.
void SetOpacity(const Opacity &opacity)
Sets the opacity for painting.
void Draw(const IDrawable &drawable) const
Draws the specified drawable object onto the image.
Opacity GetOpacity() const
constexpr Color GetColor() const
Get the color for drawing.
void SetColor(const Color &color)
Set the color for drawing.
void SetOpacity(const Opacity &opacity)
Set the opacity for drawing.
Opacity GetOpacity() const
Get the opacity for drawing.