renderUnicodeBlendedWrapped method

Pointer<SdlSurface> renderUnicodeBlendedWrapped(
  1. Pointer<Uint16> text,
  2. int fg,
  3. int wrapLength
)

Implementation

Pointer<SdlSurface> renderUnicodeBlendedWrapped(
    Pointer<Uint16> text, int fg, int wrapLength) {
  var fgPointer = calloc<SdlColor>()..fromU32(fg);
  // 2286
  var result =
      ttfRenderUnicodeBlendedWrapped(this, text, fgPointer.ref, wrapLength);
  calloc.free(fgPointer);
  return result;
}