Page 1 of 1

Posted: Thu Feb 13, 2003 9:42 am
by BackupUser
Restored from previous forum. Originally posted by Madman.

CopyRect ($SourceImage,sx,sy,sw,sh $DestinationImage,dx,dy,dw,dh)

Would be usefull for TileEngines and other things.
(BitMapfonts ect.)

i thought it couldnt harm to post it here :)

Posted: Thu Feb 13, 2003 12:31 pm
by BackupUser
Restored from previous forum. Originally posted by GPI.

try GrabImage(#Image1, #Image2, x, y, w, h)

PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB

Posted: Thu Feb 13, 2003 12:52 pm
by BackupUser
Restored from previous forum. Originally posted by Madman.

Hmm ok. Lacks the resizing and target x/y feature but would do some cases :)

Posted: Thu Feb 13, 2003 1:03 pm
by BackupUser
Restored from previous forum. Originally posted by GPI.

read the instruction of the follow functions:

StartDrawing(ImageOutput())
ResizeImage(#Image, w, h)

PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB

Posted: Thu Feb 13, 2003 2:47 pm
by BackupUser
Restored from previous forum. Originally posted by Madman.

Wee ok you got me there. :-P
Must get used to this more-than-1-command stuff first. :)

Posted: Sat Feb 15, 2003 11:44 am
by BackupUser
Restored from previous forum. Originally posted by GPI.

btw:

BitBlt(

HDC hdcDest, // handle of destination device context
int nXDest, // x-coordinate of destination rectangle's upper-left corner
int nYDest, // x-coordinate of destination rectangle's upper-left corner
int nWidth, // width of destination rectangle
int nHeight, // height of destination rectangle
HDC hdcSrc, // handle of source device context
int nXSrc, // x-coordinate of source rectangle's upper-left corner
int nYSrc, // y-coordinate of source rectangle's upper-left corner
DWORD dwRop // raster operation code
);

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
);

hdcsrc etc. should be ImageID()

PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB

Posted: Mon Feb 17, 2003 8:33 am
by BackupUser
Restored from previous forum. Originally posted by Madman.

CopyRect would STILL be shorter. :-P

Note we are in the WISHLIST forum here.