mirror of
https://github.com/brl/mutter.git
synced 2025-08-03 23:24:40 +00:00
clutter/rect: Add utility function to scale the rectangle
Scale coordinates and size of the rectangle by the passed value. https://gitlab.gnome.org/GNOME/mutter/merge_requests/3
This commit is contained in:
@@ -361,6 +361,10 @@ void clutter_rect_inset (ClutterRect *rect
|
||||
float d_x,
|
||||
float d_y);
|
||||
CLUTTER_EXPORT
|
||||
void clutter_rect_scale (ClutterRect *rect,
|
||||
float s_x,
|
||||
float s_y);
|
||||
CLUTTER_EXPORT
|
||||
void clutter_rect_clamp_to_pixel (ClutterRect *rect);
|
||||
CLUTTER_EXPORT
|
||||
float clutter_rect_get_x (ClutterRect *rect);
|
||||
|
Reference in New Issue
Block a user