Check if image is midhandled?

BlitzMax Forums/BlitzMax Programming/Check if image is midhandled?

Grey Alien(Posted 2006) [#1]
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


tonyg(Posted 2006) [#2]
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.


Grey Alien(Posted 2006) [#3]
thanks Tonyg.