Hi.
How can i scale textures?
I have trying with draw2dImage
virtual void draw2DImage(video::ITexture* texture, const core::position2d<s32>& destPos,const core::rect<s32>& sourceRect, const core::rect<s32>* clipRect = 0,SColor color=SColor(255,255,255,255), bool useAlphaChannelOfTexture=false) = 0;
sourceRect and clipRect do exactly the some thing, i think clipRect must be replaced by DestinyRect or something, or make other Draw2dImage function like this:
virtual void draw2DImage(video::ITexture* texture, const core::rect<s32>* destRect = 0, const core::rect<s32>& sourceRect, ,SColor color=SColor(255,255,255,255), bool useAlphaChannelOfTexture=false) = 0;
here i have destRect with have the coordinates of a simple rectangle where should draw the image.
thanks.