mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 14:53:03 +00:00
Neil Roberts
5a71ff4cdd
cogl-path: Export _cogl_path_get_bounds
_cogl_path_get_bounds is no longer static and is exported in cogl-path-private.h so that it can be used in the clip stack code. The old version of the function returned x/y and width/height. However this was mostly used to call cogl_rectangle which takes x1/y1 x2/y2. The function has been changed to just directly return the second form because it is more useful. Anywhere that was previously using the function now just directly looks at path->path_nodes_min and path->path_nodes_max instead.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%