GetGlyphAtlasRec method

  1. @override
RectangleD GetGlyphAtlasRec(
  1. FontD font,
  2. int codepoint
)

Implementation

@override
RectangleD GetGlyphAtlasRec(
  FontD font,
  int codepoint,
) => $.Rectangle$.Extract1(
  (p) => _ffi.GetGlyphAtlasRec(
    $.Font$.Ref1(font).asNativePointer<FontC>().ref,
    codepoint,
  ).toDart(p.asNativePointer()),
);