View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005258||Multi Theft Auto : San Andreas||Client||public||2010-03-26 13:40||2010-04-16 17:37|
|Target Version||1.0.4||Fixed in Version||1.0.4|
|Summary||0005258: Drawing part of an image using dxDrawImage|
Would it be possible to draw just part of image using dxDrawImage? For example from image 100x100px draw just part of image 20x20px ?
dxDrawImage ( X, Y, width, height, file, startAtX, startAtY, endAtX, endAtY, ... )
This could be realy userful - own radar, own fonts, and I think that many scripters will like it same as me...
I hope that I had put it into right section
|Tags||No tags attached.|
Made a more descriptive summary
untested, but should work:
Note: Forgot to add in commits: default startX and startY matches 0 and 0; endX and endY matches height and width of image;