29 #ifndef PT_GFX_PAINT_H
30 #define PT_GFX_PAINT_H
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>
Core module.
Definition: Allocator.h:33
Paint state used by drawing operations.
Definition: Paint.h:50
Attributes for the drawing of outlines.
Definition: Pen.h:54
const Pen & pen() const
Returns the current pen.
~Paint()
Destroys the paint state.
Blend mode used for drawing operations.
Definition: CompositionMode.h:47
void setPen(const Pen &pen)
Sets the pen used to stroke lines.
const CompositionMode & compositionMode() const
Returns the current composition mode.
void setCompositionMode(const CompositionMode &mode)
Sets the composition mode.
void setFont(const Font &font)
Sets the font used to draw text.
const Brush & brush() const
Returns the current brush.
const Font & font() const
Returns the current font.
Paint()
Constructs the default paint state.
Font request used for text drawing and measurement.
Definition: Font.h:56
void setBrush(const Brush &brush)
Sets the brush used to fill areas.
Fill description for shapes and text.
Definition: Brush.h:145