DrawTextCodepoints method

void DrawTextCodepoints(
  1. FontD font,
  2. List<int> codepoints,
  3. Vector2D position,
  4. num fontSize,
  5. num spacing,
  6. ColorD tint,
)

Implementation

void DrawTextCodepoints(
  FontD font,
  List<int> codepoints,
  Vector2D position,
  num fontSize,
  num spacing,
  ColorD tint,
) => run(
  () => 'DrawTextCodepoints($font, codepoints: ${codepoints.length}, $position, $fontSize, $spacing, $tint)',
  () => rl.Core.DrawTextCodepoints(
    _refFont1(font).ref,
    refListInt(codepoints),
    codepoints.length,
    _refVector21(position).ref,
    fontSize.toDouble(),
    spacing.toDouble(),
    _refColor1(tint).ref,
  ),
);