Matthias Clasen
8c04801f6a
Stop using g_memdup
...
Its deprecated in favor of g_memdup2
2024-09-25 10:56:36 +02:00
Maximiliano Sandoval
949cd45bb7
gskstroke: Add missing return annotations
2024-06-01 10:01:19 +02:00
Benjamin Otte
0c3c8a6a85
stroke: Turn stroke copy intialization into a macro
...
That way I can use it in static initializers.
2023-12-28 07:35:46 +01:00
Matthias Clasen
677e19042d
Docs: Cosmetics
2023-08-25 22:21:27 -04:00
Philip Chimento
823cb714ec
introspection: Remove 'caller-allocates' from POD types
...
The (out caller-allocates) and (out callee-allocates) annotations are
meant for structured or pointer types. Plain old data types are just
regular out parameters and don't need the annotation about who allocates
them.
See glib!2005, gjs#570
2023-08-15 22:30:27 -07:00
Bilal Elmoussaoui
d4fcc883cb
gsk/gi: Add missing since annotations & docs
2023-08-09 20:26:46 +02:00
Matthias Clasen
c37c29422a
Add gsk_path_get_stroke_bounds
...
This is a helper to compute the bounds for
stroke nodes. We keep it private for now.
2023-08-07 13:02:57 -04:00
Matthias Clasen
db71c07f8f
Add GskStroke
...
A GskStroke struct collects the parameters that are
needed for stroking a path.
2023-08-07 13:02:57 -04:00