|
My Project
|
a pen object in the GDI class More...
#include <GDIPen.h>
Public Member Functions | |
| CGDIPen (const CGDIBrush &brush, float width=1.0) | |
| CGDIPen (Color color, float width=1.0) | |
| CGDIPen (TextureEntity *pTexture, float width=1.0) | |
| CGDIBrush * | GetBrush () const |
| Get the CGDIBrush object that is currently set for this CGDIPen object. | |
| CGDIPen * | Clone () const |
| Color | GetColor () const |
| Get the color of this pen. | |
| void | SetColor (const Color &color) |
| bool | IsTransparent () const |
| if it is fully transparent. More... | |
| float | GetWidth () const |
| Get the width of this pen, in pixels by default. | |
| void | SetWidth (float width) |
| int | GetStartCap () const |
| Get the line start cap type. | |
| void | SetStartCap (int linecap) |
| int | GetEndCap () const |
| Get the line end cap type. | |
| void | SetEndCap (int linecap) |
| int | GetScaleType () const |
| Get the pen's scale type. | |
| void | SetScaleType (int scaletype) |
| CGDIPen & | operator= (const CGDIPen &pen) |
| bool | operator== (const CGDIPen &pen) |
Static Public Member Functions | |
| static CGDIPen & | GetDefaultPen () |
Protected Attributes | |
| Color | m_color |
| float | m_fWidth |
| CGDIBrush | m_brush |
| int | m_eLineStartCap |
| int | m_eLineEndCap |
| int | m_eScale |
a pen object in the GDI class
| bool ParaEngine::CGDIPen::IsTransparent | ( | ) | const |
if it is fully transparent.
1.8.12