Manually managed image which is also GC-proof.
Rough anti-aliased fillsector
Draw a circle gradually fading in between r1 and r2 and fading out between r2 and r3
Blits a view onto another. The views must have the same size. PERF: optimize that
Crop a view from a box2i
Crop an ImageRef and get an ImageRef instead of a Voldemort type. This also avoid adding offset to coordinates.
Fill rectangle while interpolating a color horiontally
Loads two different images: - the 1st is the RGB channels - the 2nd is interpreted as greyscale and fetch in the alpha channel of the result. The OwnedImage is allocated with mallocEmplace and should be destroyed with destroyFree.
The one function you probably want to use. Loads an image from a static array. The OwnedImage is allocated with mallocEmplace and should be destroyed with destroyFree.
Additional graphics primitives, and image loading.