renderUtf8BlendedWrapped method

Pointer<SdlSurface> renderUtf8BlendedWrapped(
  1. String text,
  2. int fg,
  3. int wrapLength
)

Implementation

Pointer<SdlSurface> renderUtf8BlendedWrapped(
    String text, int fg, int wrapLength) {
  var fgPointer = calloc<SdlColor>()..fromU32(fg);
  // 2239
  var result =
      ttfRenderUtf8BlendedWrapped(this, text, fgPointer.ref, wrapLength);
  calloc.free(fgPointer);
  return result;
}