mypaint_ffi 0.0.5
mypaint_ffi: ^0.0.5 copied to clipboard
Android-only Flutter FFI plugin wrapping libmypaint to paint MyPaint brush strokes with pressure and tilt onto a pixel surface.
0.0.3 #
- Fix Android build from the published archive: stop excluding the
libmypaint/glib/directory in.pubignore.mypaint-brush.cunconditionally#includesglib/mypaint-brush.candglib/mypaint-brush.h; their bodies are guarded by#if MYPAINT_CONFIG_USE_GLIB(off, so they compile to nothing) but the files must exist for the include to resolve.
0.0.2 #
- Fix Android build from the published archive: vendor
mypaint-config.hintosrc/libmypaint_shim/. The header is required by libmypaint's sources but was missing from the package archive (fatal error: 'mypaint-config.h' file not found).
0.0.1 #
Initial release. Android-only Flutter FFI plugin wrapping libmypaint.
- Paint MyPaint brush strokes with pressure and tilt onto a fixed-size RGBA
surface backed by libmypaint's
MyPaintFixedTiledSurface. - Load MyPaint
.mybbrushes from JSON strings. - Set brush base values (radius, hardness, opacity, eraser, …) and color.
- Render the surface to a
ui.Image, converting only the dirty region on each update for performance. - Builds libmypaint, json-c, and mypaint-brushes from source via the Android
NDK/CMake toolchain; ships
arm64-v8aandarmeabi-v7a. - Hand-written
dart:ffibindings over a smallmpf_*C API.