Category: Images and Rendering
DrawImageEx(imageReference As Integer, x As Integer, y As Integer, rotation As Double)
DrawImageEx(imageReference As Integer, x As Integer, y As Integer, rotation As Double, scale As Double)
Void
Queues an image like DrawImage, but also rotates it and optionally scales it uniformly.
The rotation is measured in degrees and is centered on the current image hotspot. When scale is omitted, it defaults to 1.0.
player = LoadImage("player.png")
SetImageHotspot(player, 15, 15)
DrawImageEx(player, 160, 120, 45)
DrawImageEx(player, 160, 120, 90, 2.0)