#include <faith/brush.h>
Public Types | |
| NoBrush | |
| SolidPattern | |
| HorPattern | |
| VerPattern | |
| CustomPattern | |
| enum | Style { NoBrush, SolidPattern, HorPattern, VerPattern, CustomPattern } |
Public Member Functions | |
| Brush () | |
| Brush (Style style) | |
| Brush (const Color &color, const Bitmap &bitmap) | |
| Brush (const Pixmap &pixmap) | |
| Brush (const Brush ©) | |
| ~Brush () | |
| Brush & | operator= (const Brush ©) |
| bool | operator== (const Brush &other) |
| bool | operator!= (const Brush &other) |
| const Pixmap & | pixmap () const |
| Style | style () const |
A brush is used to paint fills and regions in class Painter
| enum Faith::Brush::Style |
| Faith::Brush::Brush | ( | ) |
creates a brush with the style of NoBrush
creates a brush in which every bit in the given bitmap that is equal to 1 has the given color
| Faith::Brush::Brush | ( | const Pixmap & | pixmap | ) |
creates a brush with the given pixmap tiled
| Faith::Brush::Brush | ( | const Brush & | copy | ) |
copies this brush
| Faith::Brush::~Brush | ( | ) |
| bool Faith::Brush::operator!= | ( | const Brush & | other | ) | [inline] |
| bool Faith::Brush::operator== | ( | const Brush & | other | ) |
| const Pixmap& Faith::Brush::pixmap | ( | ) | const |
| Style Faith::Brush::style | ( | ) | const |
1.4.7