#include <painter.h>
Collaboration diagram for Wt::Brush:

Public Types | |
| NoBrush | |
| SolidPattern | |
| enum | Style { NoBrush, SolidPattern } |
Public Member Functions | |
| Brush () | |
| Brush (const Color &color, Style style=SolidPattern) | |
| ~Brush () | |
| Style | style () const |
| void | setStyle (Style style) |
| const Color & | color () const |
| void | setColor (const Color &color) |
Private Attributes | |
| Style | style_ |
| Color | color_ |
Definition at line 57 of file painter.h.
| enum Wt::Brush::Style |
| Wt::Brush::Brush | ( | ) | [inline] |
| const Color& Wt::Brush::color | ( | ) | const [inline] |
Definition at line 80 of file painter.h.
References color_.
Referenced by Wt::Painter::blendRect(), Wt::Painter::blendRegion(), Wt::Painter::fillRect(), Wt::Painter::fillRegion(), and setColor().
00080 { 00081 return color_; 00082 }
| void Wt::Brush::setColor | ( | const Color & | color | ) | [inline] |
| void Wt::Brush::setStyle | ( | Style | style | ) | [inline] |
| Style Wt::Brush::style | ( | ) | const [inline] |
Definition at line 72 of file painter.h.
References style_.
Referenced by Wt::Painter::blendRect(), Wt::Painter::blendRegion(), Wt::Painter::drawPolygon(), Wt::Painter::drawRect(), Wt::Painter::fillRect(), and Wt::Painter::fillRegion().
00072 { 00073 return style_; 00074 }
Color Wt::Brush::color_ [private] |
Style Wt::Brush::style_ [private] |
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.