renderUnicodeSolid method

Pointer<SdlSurface> renderUnicodeSolid(
  1. Pointer<Uint16> text,
  2. int fg
)

Implementation

Pointer<SdlSurface> renderUnicodeSolid(Pointer<Uint16> text, int fg) {
  var fgPointer = calloc<SdlColor>()..fromU32(fg);
  // 1426
  var result = ttfRenderUnicodeSolid(this, text, fgPointer.ref);
  calloc.free(fgPointer);
  return result;
}