lc_image_create function

  1. @Native<Pointer<LcImage> Function(Int32, Int32)>(ffi.Int32, ffi.Int32)>()
Pointer<LcImage> lc_image_create(
  1. int width,
  2. int height
)

Creates a blank, fully transparent canvas of width x height pixels. Returns NULL if width/height are not positive or on allocation failure.

Implementation

@ffi.Native<ffi.Pointer<LcImage> Function(ffi.Int32, ffi.Int32)>()
external ffi.Pointer<LcImage> lc_image_create(int width, int height);