Vaca::Brush Class Reference

#include <Brush.h>

Inheritance diagram for Vaca::Brush:

Vaca::SmartPtr< T >

List of all members.


Detailed Description

A brush can be used to fill rectangles, ellipses, and paths.

This is a SmartPtr, so if you copy instances of brushes they will be referencing to the same place. You can't clone brushes because you can't modify them.

Win32 Specific:
This is a HBRUSH(W32) wrapper.

See also:
Graphics, Graphics::fillRect, Graphics::fillPath

Public Member Functions

 Brush ()
 Brush (const Brush &brush)
 Brush (const Color &color)
virtual ~Brush ()
Brushoperator= (const Brush &brush)
Color getColor () const
HBRUSH getHandle () const

Constructor & Destructor Documentation

Brush::Brush (  ) 

Brush::Brush ( const Brush brush  ) 

Brush::Brush ( const Color color  )  [explicit]

Brush::~Brush (  )  [virtual]


Member Function Documentation

Brush & Brush::operator= ( const Brush brush  ) 

Color Brush::getColor (  )  const

HBRUSH Brush::getHandle (  )  const