boxes: Move Rectangle.crop_and_scale to Mtk

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3501>
This commit is contained in:
Bilal Elmoussaoui
2024-01-06 19:36:22 +01:00
committed by Marge Bot
parent abe47769b7
commit 59457dff81
6 changed files with 36 additions and 35 deletions

View File

@ -252,10 +252,4 @@ void meta_rectangle_transform (const MtkRectangle *rect,
MetaMonitorTransform transform,
int width,
int height,
MtkRectangle *dest);
void meta_rectangle_crop_and_scale (const MtkRectangle *rect,
graphene_rect_t *src_rect,
int dst_width,
int dst_height,
MtkRectangle *dest);
MtkRectangle *dest);