I want to build a cross-platform library for generating images of certain type (e.g. retail receipts). As I get it, the only library that supports working with images and font drawing in Haxe universe is OpenFL. The question is the following - is it possible to create an OpenFL project that compiles to library? Or at least generates sources to be used as linked library? By default OpenFL generates an executable application which is not appropriate to me.
Target platforms are iOS and Android, i.e. C++ target should work for me.
As far as I know, you just create a standard haxe library and declare openfl as a dependency. Take a look at some of the libs on haxelib for an example..