renderUnicodeBlended method

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

Implementation

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