#include <Pt/Gfx/Paint.h>
Paint context.
Public Member Functions | |
| const Brush & | brush () const |
| Returns the current brush. | |
| const CompositionMode & | compositionMode () const |
| Returns the current composition mode. | |
| const Font & | font () const |
| Returns the current font. | |
| const Pen & | pen () const |
| Returns the current pen. | |
| void | setBrush (const Brush &brush) |
| Sets the brush used to fill areas. | |
| void | setCompositionMode (const CompositionMode &mode) |
| Sets the composition mode. | |
| void | setFont (const Font &font) |
| Sets the font used to draw text. | |
| void | setPen (const Pen &pen) |
| Sets the pen used to stroke lines. | |