Method
GskPathtranslatable
unstable since: 4.26
Declaration [src]
gboolean
gsk_path_translatable (
const GskPath* path1,
const GskPath* path2
)
Description [src]
Returns whether 2 paths only differ by an x/y translation and
compare gsk_path_equal() otherwise.
If you want to know the translation, you can use
gsk_path_get_bounds() and compare the bounds.
Note that this function may return false for otherwise translatable paths due to floating point quantization.
Available since: 4.26
Parameters
path2-
Type:
GskPathAnother path.
The data is owned by the caller of the method.