renderTextSolidWrapped method

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

Implementation

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