mapRectScaleTranslate method
Sets dst to bounds of src corners mapped by Matrix. If matrix contains elements other than scale or translate: asserts if SK_DEBUG is defined; otherwise, results are undefined.
@param dst storage for bounds of mapped Point @param src Rect to map
Implementation
Rect mapRectScaleTranslate(Rect src) {
final p = calloc<c.mnn_cv_rect_t>();
c.mnn_cv_matrix_map_rect_scale_translate(ptr, p, src.ptr.cast());
return Rect.fromPointer(p.cast());
}