LoadFontFromImage method

  1. @override
FontD LoadFontFromImage(
  1. ImageD image,
  2. ColorD key,
  3. int firstChar
)
override

Load font from Image (XNA style)

Implementation

@override
FontD LoadFontFromImage(
  ImageD image,
  ColorD key,
  int firstChar,
) => $.Font$.RefCapture(
  RaylibCaptureIds.LoadFontFromImage,
  (p) => _ffi.LoadFontFromImage(
    $.Image$.Ref1(image).asNativePointer<ImageC>().ref,
    $.Color$.Ref1(key).asNativePointer<ColorC>().ref,
    firstChar,
  ).toDart(p.asNativePointer()),
);