tags:

views:

31

answers:

0

Hi,i'm new using directx. I was hooking a game and then,i used the directx to draw a own image,using ID3DXSprite.Draw. Its Draw the image,but,its too more big than the original! I'm are handling click in this image using X,Y Size from the image,but its big then its not matche and then its handling the clicks wrong. Anyone know how to print a .bmp image in directx in normal size? I used D3DXMatrixScaling to resize the img,i find a good size,but,with this,the directx are not drawing its in the correct Screen X,Y Pos. like i said before,i need this in perfect mode to handle the clicks in right way.

Thanks.

Ps: The example can be in any language,i've searched on google but no founds.