Check if image is midhandled?
BlitzMax Forums/BlitzMax Programming/Check if image is midhandled?
| ||
OK, so you can set an image to be midhandled, but is there a way to check if an image is midhandled? GetImageHandle doesn't exist ... Maybe I'll have to store this info myself. Thanks |
| ||
Image.handle_x and image.handle_y holds the imagehandle. If it's imagewidth/2 and imageheight/2 then it's midhandled. P.S. For further info look at the code for Midhandleimage. |
| ||
thanks Tonyg. |