Lacefx is a foundation library for graphics-oriented apps. It provides a C API and has native accelerated implementations on Mac, Windows and iOS.