Surface

Public Methods

~Surface ()

Surface * Clone () const

int GetWidth () const

int GetHeight () const

bool Lock (LockInfo &lockinfo, bool bDiscard=false, const Rect *rect=0)

bool Unlock (bool bDiscard=false)

HDC GetDC (bool bDiscard=false)

bool ReleaseDC (HDC hdc)

void SetColorMask (int mask)

int GetColorMask () const

Friends

class Rasterizer

class DisplayDevice

 

Constructor & Destructor

Surface::~Surface ( )
Parameters:

none

Returns:

none

Member Functions

Surface * Surface::Clone ( ) const
Parameters:

none

Returns:

Surface *

 

int Surface::GetColorMask ( ) const [inline]
Parameters:

none

Returns:

int

 

HDC Surface::GetDC ( bool bDiscard = false )
Parameters:

bDiscard

Returns:

HDC

 

int Surface::GetHeight ( ) const [inline]
Parameters:

none

Returns:

int

 

int Surface::GetWidth ( ) const [inline]
Parameters:

none

Returns:

int

 

bool Surface::Lock ( LockInfo &   lockinfo,

                     bool         bDiscard = false,

                     const Rect * rect = 0

                   )

Parameters:

lockinfo

bDiscard

rect

Returns:

bool

 

bool Surface::ReleaseDC ( HDC hdc )
Parameters:

hdc

Returns:

bool

 

void Surface::SetColorMask ( int mask ) [inline]
Parameters:

mask

Returns:

void

 

bool Surface::Unlock ( bool bDiscard = false )
Parameters:

bDiscard

Returns:

bool