Re: Help
>Hi I'v asked before with no responce please can someone HELP?
>Question: Does anyone know how to stretch a bitman (zoom in zoom out) with not
>too much
flicker?
>Please someone help me Thanks Jord
Don't know if you mean DOS,Windows, or some DX app,
but there's a function for it in the WIN32API :
BOOL StretchBlt(
HDC hdcDest, // handle of destination device context
int nXOriginDest, // x-coordinate of upper-left corner of dest. rect.
int nYOriginDest, // y-coordinate of upper-left corner of dest. rect.
int nWidthDest, // width of destination rectangle
int nHeightDest, // height of destination rectangle
HDC hdcSrc, // handle of source device context
int nXOriginSrc, // x-coordinate of upper-left corner of source rectangle
int nYOriginSrc, // y-coordinate of upper-left corner of source rectangle
int nWidthSrc, // width of source rectangle
int nHeightSrc, // height of source rectangle
DWORD dwRop // raster operation code
);
int SetStretchBltMode(
HDC hdc, // handle of device context
int iStretchMode // bitmap stretching mode
);
some other functions are in dos graphical toolkits and in exotica.
Martin
|
Not Categorized, Please Help
|
|