Posted: Mon Oct 07, 2002 8:42 am
Restored from previous forum. Originally posted by WolfgangS.
Hi !
I have a suggestion for a new command:
DrawImageRect(ImageID,x,y,rect_x,rect_y,rect_width,rect_height)
image = variable holding the image handle
x = x location on the screen to draw the image
y = y location on the screen to draw the image
rect_x = starting x location within the image to draw
rect_y = starting y location within the image to draw
rect_width = the height of the area to draw
rect_height = the width of the area to draw
This command draws a cut from an image to the given x,y position at the actual destination (e.g. ScreenOutput()). The image ID can be easely obtained by using the UseImage() command from the image library.
What did you think ?
:)WolfgangS
Hi !
I have a suggestion for a new command:
DrawImageRect(ImageID,x,y,rect_x,rect_y,rect_width,rect_height)
image = variable holding the image handle
x = x location on the screen to draw the image
y = y location on the screen to draw the image
rect_x = starting x location within the image to draw
rect_y = starting y location within the image to draw
rect_width = the height of the area to draw
rect_height = the width of the area to draw
This command draws a cut from an image to the given x,y position at the actual destination (e.g. ScreenOutput()). The image ID can be easely obtained by using the UseImage() command from the image library.
What did you think ?
:)WolfgangS