Open donotturnoff opened 2 years ago
int32_t clipped_src_w = std::min(src_w-(clipped_x-x), w-clipped_x); int32_t clipped_src_h = std::min(src_h-(clipped_y-y), h-clipped_y);
in Bitmap.
Bitmap
Should the second argument to min be w-x and h-y?
min
w-x
h-y
in
Bitmap
.Should the second argument to
min
bew-x
andh-y
?