docs: Fix gsk->gtk links

gi-docgen can't handle these, since we don't have
a dependency.
This commit is contained in:
Matthias Clasen 2023-08-23 11:36:52 -04:00
parent 43c8e136b5
commit a63af177a4

View File

@ -80,8 +80,8 @@ to the path, which can be selected with a [enum@Gsk.FillRule] value.
<figcaption>The same path, filled with GSK_FILL_RULE_EVEN_ODD</figcaption> <figcaption>The same path, filled with GSK_FILL_RULE_EVEN_ODD</figcaption>
</figure> </figure>
To fill a path, use [method@Gtk.Snapshot.append_fill] or the more general To fill a path, use [gtk_snapshot_append_fill](../gtk4/method.Snapshot.append_fill.html)
[method@Gtk.Snapshot.push_fill]. or the more general [gtk_snapshot_push_fill](../gtk4/method.Snapshot.push_fill.html).
Alternatively, a path can be **_stroked_**, which means to emulate drawing Alternatively, a path can be **_stroked_**, which means to emulate drawing
with an idealized pen along the path. The result of stroking a path is another with an idealized pen along the path. The result of stroking a path is another
@ -105,8 +105,9 @@ of line joins and line caps, and a dash pattern.
<figcaption>The same path, stroked with GSK_LINE_JOIN_ROUND</figcaption> <figcaption>The same path, stroked with GSK_LINE_JOIN_ROUND</figcaption>
</figure> </figure>
To stroke a path, use [method@Gtk.Snapshot.append_stroke] or To stroke a path, use
[method@Gtk.Snapshot.push_stroke]. [gtk_snapshot_append_stroke](../gtk4/method.Snapshot.append_stroke.html)
or [gtk_snapshot_push_stroke](../gtk4/method.Snapshot.push_stroke.html).
## Hit testing ## Hit testing