mypaint_ffi 0.0.5 copy "mypaint_ffi: ^0.0.5" to clipboard
mypaint_ffi: ^0.0.5 copied to clipboard

PlatformAndroid

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.c unconditionally #includes glib/mypaint-brush.c and glib/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.h into src/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 .myb brushes 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-v8a and armeabi-v7a.
  • Hand-written dart:ffi bindings over a small mpf_* C API.
1
likes
155
points
186
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Android-only Flutter FFI plugin wrapping libmypaint to paint MyPaint brush strokes with pressure and tilt onto a pixel surface.

Homepage
Repository (GitHub)
View/report issues

Topics

#painting #drawing #brush #graphics #ffi

License

MIT (license)

Dependencies

ffi, flutter, plugin_platform_interface

More

Packages that depend on mypaint_ffi

Packages that implement mypaint_ffi