Surface image manipulation.
- Copyright
- 1992 - 2020 Dennis Robinson (http://www.menasoft.com)
◆ SURF_DRAWBIT_LOOP
#define SURF_DRAWBIT_LOOP |
( |
|
f | ) |
|
Value: {
for (
PIXELS_t x = xstart; x < xend; x++ ) \
{ \
COLOR16_t color = pSrc[ (( v >> 16 ) * iWidth) + ( u >> 16 ) ]; \
color = f; \
pDst[x] = color; \
u += du; \
v += dv; \
}}
int PIXELS_t
Count of pixels in a dimension of some image/surface.
Definition: cSurfaceInfo.h:20
◆ SURF_DRAWCOPY_LOOP
#define SURF_DRAWCOPY_LOOP |
( |
|
f | ) |
|
Value: { while ( iWidth-- ) \
{ \
COLOR16_t color = *pSrc++; \
color = f; \
*pDst = color; \
pDst++; \
}}
◆ SURF_DRAWSRF_LOOP
#define SURF_DRAWSRF_LOOP |
( |
|
f | ) |
|
Value: { while ( iHeight-- ) \
{ \
int i=0;\
int iWidth2 = iWidth;\
for ( ; iWidth2--; i++ )\
{\
COLOR16_t color = pSrc[i];\
color = f; \
pDst[i] = color;\
}\
pSrc = (WORD*) rSurfSrc.GetNextLine( pSrc );\
pDst = (WORD*) this->m_SurfDest.GetNextLine( pDst );\
}}
const COLOR16_t COLOR16_Transparent
Definition: cSurfaceDC.cpp:18
◆ ThrowDrawInvalid
#define ThrowDrawInvalid |
( |
| ) |
throw 0 |