DrawSubImageRect

BlitzMax Forums/BlitzMax Beginners Area/DrawSubImageRect

hub(Posted 2010) [#1]
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 !


Zeke(Posted 2010) [#2]
x,y,w,h are destination position and size, sx,sy,sw,sh are source image position and size


hub(Posted 2010) [#3]
thanks
i've tested myself :

w is for the width and h for the height as drawimagerect !