upperBlitScaled method
Implementation
int upperBlitScaled(
Pointer<SdlSurface> dst, {
math.Rectangle<double>? srcrect,
math.Rectangle<double>? dstrect,
}) {
Pointer<SdlRect> srcrectPointer = nullptr;
Pointer<SdlRect> dstrectPointer = nullptr;
if (srcrect != null) {
srcrectPointer = srcrect.calloc();
}
if (dstrect != null) {
dstrectPointer = dstrect.calloc();
}
// 1102
var result = sdlUpperBlitScaled(this, srcrectPointer, dst, dstrectPointer);
calloc.free(srcrectPointer);
calloc.free(dstrectPointer);
return result;
}