View Issue Details

IDProjectCategoryView StatusLast Update
0005258Multi Theft Auto : San AndreasClientpublic2010-04-16 17:37
ReporterdrifterCZ Assigned Toccw  
Status resolvedResolutionfixed 
Product Version1.0.3 
Target Version1.0.4Fixed in Version1.0.4 
Summary0005258: 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, ... )
where startAtX, ..., endAtY will be the area of image to draw... I included picture for better imagination:

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

TagsNo tags attached.



2010-03-28 19:06

reporter   ~~0011276

Made a more descriptive summary


2010-04-10 14:05

updater   ~~0011351

Last edited: 2010-04-11 18:02

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;


2010-04-16 17:36

administrator   ~~0011366

Fixed in as above and

Issue History

Date Modified Username Field Change