texturedPolygon method
Implementation
bool texturedPolygon(List<math.Point<double>> ps, Pointer<SdlSurface> texture,
math.Point<double> texturePos) {
var xsPointer = ps.callocInt16X();
var ysPointer = ps.callocInt16Y();
var result = gfx.texturedPolygon(this, xsPointer, ysPointer, ps.length,
texture, texturePos.x.toInt(), texturePos.y.toInt());
calloc.free(xsPointer);
calloc.free(ysPointer);
return result;
}