readPixels method
Implementation
Pointer<SdlSurface> readPixels(math.Rectangle<double> rect) {
var rectPointer = rect.callocInt();
var result = sdlRenderReadPixels(this, rectPointer);
calloc.free(rectPointer);
return result;
}
Pointer<SdlSurface> readPixels(math.Rectangle<double> rect) {
var rectPointer = rect.callocInt();
var result = sdlRenderReadPixels(this, rectPointer);
calloc.free(rectPointer);
return result;
}