renderGlyphShaded method
Implementation
Pointer<SdlSurface> renderGlyphShaded(int ch, int fg, int bg) {
var fgPointer = calloc<SdlColor>()..fromU32(fg);
var bgPointer = calloc<SdlColor>()..fromU32(bg);
// 1976
var result = ttfRenderGlyphShaded(this, ch, fgPointer.ref, bgPointer.ref);
calloc.free(fgPointer);
calloc.free(bgPointer);
return result;
}