DrawSubImageRect
BlitzMax Forums/BlitzMax Beginners Area/DrawSubImageRect
| ||
Hi Consider this DrawSubImageRect( image:TImage,x#,y#,w#,h#,sx#,sy#,sw#,sh#,hx#=0,hy#=0,frame=0 ) is w# is the image width ? (as the w# of DrawImageRect) or a screen location is sw# is the image width ? (as the w# of DrawImageRect) or a screen location Thanks ! |
| ||
x,y,w,h are destination position and size, sx,sy,sw,sh are source image position and size |
| ||
thanks i've tested myself : w is for the width and h for the height as drawimagerect ! |