#include <C4Draw.h>
Public Member Functions | |
C4Pattern & | operator= (const C4Pattern &) |
const C4Surface * | getSurface () const |
DWORD | PatternClr (unsigned int iX, unsigned int iY) const |
bool | Set (class C4Surface *sfcSource, int iZoom=0) |
void | SetZoom (int iZoom) |
void | Clear () |
C4Pattern () | |
~C4Pattern () | |
C4Pattern::C4Pattern | ( | ) |
Definition at line 138 of file C4Draw.cpp.
|
inline |
void C4Pattern::Clear | ( | ) |
Definition at line 146 of file C4Draw.cpp.
References C4Surface::Unlock().
Referenced by C4TexMapEntry::Clear(), Set(), and ~C4Pattern().
|
inline |
Definition at line 94 of file C4Draw.cpp.
References C4Surface::Hgt, C4Surface::Lock(), and C4Surface::Wdt.
DWORD C4Pattern::PatternClr | ( | unsigned int | iX, |
unsigned int | iY | ||
) | const |
Definition at line 159 of file C4Draw.cpp.
Referenced by C4Draw::DrawPatternedCircle(), C4Landscape::P::Mat2Pal(), and C4TextureMap::StoreMapPalette().
bool C4Pattern::Set | ( | class C4Surface * | sfcSource, |
int | iZoom = 0 |
||
) |
Definition at line 114 of file C4Draw.cpp.
References Clear(), C4Surface::GetPixDw(), C4Surface::Hgt, C4Surface::Lock(), and C4Surface::Wdt.
Referenced by C4TexMapEntry::Init().
|
inline |