LoadFontFromImage method

  1. @override
Font LoadFontFromImage(
  1. Image image,
  2. Color key,
  3. int firstChar
)
override

Load font from Image (XNA style)

Implementation

@override
Font LoadFontFromImage(
  Image image,
  Color 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()),
);