Seeking high level API overview for libmypaint ffi

Tags: #<Tag:0x00007f993fd6c1a0>

Hi! Looking at building ffi bindings for libmypaint in Java. What I’m missing is an overview of how the library API is supposed to work. Such questions as:

  • Which headers are part of the external API & which exist because “that’s how C works™?”
  • what data is my external app expected to supply? I’d assume I’m providing brush position, tilt, pressure at least.
  • How, exactly, are brush definitions managed? Do I provide a file pointer to an existing brush definition?

(Please keep in mind that I’m not from the “C” world at all. Some of these things may be painfully obvious to some of you just by a quick glance at the headers. Not so much for me.)