My Project
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
ParaEngine::CGDIPen Class Reference

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)
 
CGDIBrushGetBrush () const
 Get the CGDIBrush object that is currently set for this CGDIPen object.
 
CGDIPenClone () 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)
 
CGDIPenoperator= (const CGDIPen &pen)
 
bool operator== (const CGDIPen &pen)
 

Static Public Member Functions

static CGDIPenGetDefaultPen ()
 

Protected Attributes

Color m_color
 
float m_fWidth
 
CGDIBrush m_brush
 
int m_eLineStartCap
 
int m_eLineEndCap
 
int m_eScale
 

Detailed Description

a pen object in the GDI class

Member Function Documentation

§ IsTransparent()

bool ParaEngine::CGDIPen::IsTransparent ( ) const

if it is fully transparent.


The documentation for this class was generated from the following files: