Link to NiceSlice

In version 2.3.2, Gamemaker introduced a feature called nine-slice, which allows the user to easily create visual elements that scale to various sizes without distortion.

This is done by scaling, tiling, or otherwise transforming only the connecting pieces of a sprite element, but keeping corners unchanged.

alt text

However, Gamemaker's native nine-slice feature does not allow the user to change the internal scale of a nine-sliced sprite, which is bad news for anyone trying to, say, render scaled-up pixelart UI elements.

This library fixes that.