Inheritance diagram for transparent_painter:

Public Types | |
| typedef COLORREF | param0 |
|
typedef bg_wnd::general_exception< painter_holder, 0 > | no_painter |
|
typedef bg_wnd::general_exception< painter_holder, 1 > | invalid_painter_cast |
Public Member Functions | |
| transparent_painter (COLORREF crTransparent) | |
| transparent_painter * | clone () const |
| void | draw (HDC hDC, int cx, int cy) |
| void | transparent_color (COLORREF crTransparent) |
| COLORREF | transparent_color () const |
| virtual bool | is_opaque (int cx, int cy) const |
| void | release_painter () |
| void | set_painter (const painter_base &painter) |
| template<class Painter> | |
| void | set_painter () |
| template<class Painter> | |
| void | set_painter (typename Painter::param0 param) |
| template<class Painter> | |
| void | set_painter (typename Painter::param0 param0, typename Painter::param1 param1) |
| void | swap (painter_holder &holder) |
| painter_base & | get_painter () const |
| template<class Painter> | |
| Painter & | get_painter () const |
| bool | painter_available () const |
|
|
Returns the painter.
|
|
|
Returns the painter.
|
|
|
Returns true if a painter is stored by the painter_holder.
|
|
|
Frees the painter stored by this holder.
|
|
||||||||||||
|
Sets the painter holded to pPainter. The old one is released.
|
|
|
Creates a new painter of type Painter (param is passed to the c'tor) and stores this painter. The old one is released.
|
|
|
Sets the painter holded to pPainter. The old one will be released.
|
|
|
Copies painter and sets the stored painter to this copy.
|
|
|
Swaps this painter_holder with holder.
|
|
|
Returns the transparent color.
|
|
|
Sets the transparent color.
|
|
by Steven Weiss. You can contact me at steven11@gmx.de. |