32#include <Pt/Gfx/Api.h>
33#include <Pt/Gfx/CompositionMode.h>
34#include <Pt/Gfx/Pen.h>
35#include <Pt/Gfx/Brush.h>
36#include <Pt/Gfx/Font.h>
Fill color, gradient or texture.
Definition Brush.h:151
How new pixels combine with existing pixels.
Definition CompositionMode.h:49
Font family, size and style.
Definition Font.h:63
const Brush & brush() const
Returns the current brush.
const Pen & pen() const
Returns the current pen.
const Font & font() const
Returns the current font.
Paint()
Constructs the default paint state.
void setBrush(const Brush &brush)
Sets the brush used to fill areas.
void setCompositionMode(const CompositionMode &mode)
Sets the composition mode.
const CompositionMode & compositionMode() const
Returns the current composition mode.
~Paint()
Destroys the paint state.
void setPen(const Pen &pen)
Sets the pen used to stroke lines.
void setFont(const Font &font)
Sets the font used to draw text.
Outline color, width and style.
Definition Pen.h:59
Graphics and imaging services.
Definition Api-Argb32Image.h:12
Core module.
Definition Allocator.h:33