Matthias Clasen
dcbca3f0d7
path-tool: Add a reverse command
...
It does what it says.
2023-08-28 00:27:29 -04:00
Matthias Clasen
cfaa31eeb8
Expand docs for GskPathMeasure
2023-08-25 20:23:08 -04:00
Matthias Clasen
3283157352
Bring arc_to back as convenience API
...
It is our main use of conics, so make it an API,
and use it internally.
2023-08-25 09:31:19 -04:00
Matthias Clasen
25e6231a88
path: Switch back to conics
...
Arcs were appealing, but they have a fatal flaw: we can't
split our arcs without changing the ellipse they trace.
That could be fixed by adding an extra parameter, but then
it is no longer any better than conics.
So switch back to conics, which have the advantage that they
are used elsewhere.
2023-08-25 07:33:16 -04:00
Matthias Clasen
5dc0cbc20f
Expand the path docs a bit
2023-08-24 15:00:14 -04:00
Matthias Clasen
d873643407
path docs: Add another illustration
2023-08-24 11:09:28 -04:00
Matthias Clasen
8a789d0234
path docs: Cosmetics
2023-08-24 10:54:23 -04:00
Matthias Clasen
3c5efbc77e
Merge branch 'wip/matthiasc/arcs' into 'main'
...
path: Add arcs
See merge request GNOME/gtk!6313
2023-08-23 19:17:01 +00:00
Matthias Clasen
d33ed4f9ab
path: Add elliptical arcs
...
Add a new curve type for elliptical arcs
and use it for rounded rectangles and circles.
We use the 'E' command to represent elliptical
arcs in serialized paths.
2023-08-23 12:43:52 -04:00
Matthias Clasen
a63af177a4
docs: Fix gsk->gtk links
...
gi-docgen can't handle these, since we don't have
a dependency.
2023-08-23 11:38:13 -04:00
Matthias Clasen
79e132ab7b
path-tool: Reorganize options
...
Put fill and stroke options into their own group.
This helps produce understandable --help output.
2023-08-22 09:56:43 -04:00
Matthias Clasen
b3fe68ca95
docs: Tweaks
2023-08-22 07:56:27 -04:00
Matthias Clasen
486674927a
Make sure stroke bounds are big enough
...
Our standard 'empty path' in gtk4-node-editor
was getting its pointy corners cut off.
2023-08-21 23:59:08 -04:00
Matthias Clasen
acf9612ed8
docs: Start a section on paths
2023-08-21 23:59:08 -04:00
Matthias Clasen
2b4e577b53
docs: Add more illustrations
...
Add illustrations to the various curve_to methods
of GskPathBuilder.
2023-08-20 22:28:06 -07:00
Matthias Clasen
5cf9a09c07
gsk: Add more details to the docs
2023-08-15 12:38:24 -04:00
Matthias Clasen
081f504ae4
Tweak the directions illustration
...
Still not 100% happy with it, but it is better.
2023-08-14 16:09:27 -04:00
Matthias Clasen
a85ab3585e
Revise gsk_path_point_get_tangent
...
Update the directions enum to allow all four
tangents to be obtained. Add an illustration
to the docs for clarity.
Update all callers.
2023-08-14 14:58:22 -04:00
Matthias Clasen
8bf7187b89
path-tool: Make the docs match
...
We've removed various things from the tool,
and forgot to keep the docs up-to-date.
2023-08-12 19:29:27 -04:00
Matthias Clasen
62176a3bd0
tools: Add gtk4-path-tool
...
This comes in handy for testing, among other things.
For now, this supports decomposing, reversing, rendering,
info and preview.
2023-08-12 16:34:19 -04:00
Matthias Clasen
47ddc742fc
path: Some documentation improvements
...
Among other things, add a quick summary of
SVG path syntax, and add a few illustrations.
2023-08-11 12:09:12 -04:00
Hari Rana
544320a961
section-accessibility: Close tag
2023-08-05 12:25:23 -04:00
Matthias Clasen
6af55a31d7
build: Rename docs build options
...
Rename gtk_doc to documentation and update_screenshots
to screenshots. The old names are still accepted.
2023-08-04 22:30:13 -04:00
Matthias Clasen
d30adc48d4
RELEASE-HOWTO: Some updates
2023-08-02 20:07:00 +00:00
Thomas Lange
51e617daf3
docs: Fix typo
2023-08-01 23:51:34 +00:00
Benjamin Otte
cf39c80fe2
docs: Update for recent rendernode-tool changes
2023-07-31 16:51:03 +02:00
Matthias Clasen
96145ae8ed
tools: Update the docs
...
Mention that the render command can produce png or tiff
images.
2023-07-28 09:06:14 +03:00
Jordan Petridis
0e5f2cd6f6
docs: getting_started: Update links to some guides
2023-07-26 15:37:13 +03:00
Matthias Clasen
0751f59ee8
Drop GTK_DEBUG_TOUCHSCREEN
...
This flag was never doing much, and is only raising
the wrong expectations. Remove it.
Fixes : #5893
2023-07-22 16:43:20 -04:00
Daniel Boles
6260a33e8e
Merge branch 'dboles/PopoverMenu-png' into 'main'
...
Fix broken image menu.png in Gtk.PopoverMenu intro
See merge request GNOME/gtk!6187
2023-07-22 08:43:25 +00:00
Matthias Clasen
601011ccc0
Add a gtk4-rendernode-tool
...
This is meant to work with serialized render nodes.
2023-07-21 06:26:11 -04:00
Daniel Boles
9fbd582951
Fix broken image menu.png in Gtk.PopoverMenu intro
...
The previous menu.png appears to be just a wide transparent box. Let's
just replace it with a snip of a popover menu from the widget-factory.
2023-07-16 09:33:07 +01:00
Daniel Boles
d5ea376e7b
docs/list-widget: links, DirList, correct Sections
...
* Add links to various symbols.
* Mention DirectoryList in the "ready-made choices available" section.
* Don't say that GridView can display headers: it makes no attempt to.
2023-07-05 12:02:08 +01:00
Matthias Clasen
33fc4d6495
buildertool: Make render an alias for screenshot
...
Its a more neutral name and will align better with
other tools.
2023-06-26 10:58:35 -04:00
Daniel Boles
2d648f84a9
docs/ref/gtk/running: Mention GDK_DEBUG=no-portals
...
It was omitted from !5336
2023-06-23 14:24:47 +01:00
Matthias Clasen
1066374909
docs: Mention GtkAccessibleRange
...
In the accessibility docs about custom widgets,
mention GtkAccessibleRange as the best way to
implement custom range widgets.
2023-06-21 22:15:59 -04:00
Matthias Clasen
315ded687c
Docs: update
2023-06-19 18:38:58 -04:00
Matthias Clasen
c2d6f900d9
window: Use application as accessible role
...
ARIA deems the window role to be abstract,
so lets use the application role instead.
Update affected tests.
2023-06-19 18:38:58 -04:00
Matthias Clasen
f2a2e97004
docs: Add guidance on container roles
...
Provide some guidance on whether group or generic
is a more suitable role for containers.
2023-06-19 11:17:47 -04:00
Matthias Clasen
53503e3f19
Merge branch 'a11y-computed-name' into 'main'
...
atcontext: Update name computation
See merge request GNOME/gtk!6088
2023-06-16 16:30:51 +00:00
Daniel Boles
8106dc0f46
reference/gtk/coordinates: Fix typos of “widget’s”
2023-06-15 17:40:08 +01:00
Matthias Clasen
9831632fbd
a11y docs: Some updates
...
Clarify what UI properties go into the name computation,
and mention the inspector tools for accessiblity.
2023-06-13 14:12:16 -04:00
Daniel Boles
0f6219c9ca
docs/reference/gtk/running: Incl GDK_DEBUG=portals
...
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5871
2023-06-12 16:29:52 +01:00
Matthias Clasen
534f11e317
Improve section model docs
...
Mention sections in the list widget overview,
and document the list models that support sections.
2023-05-21 19:20:08 -04:00
Arjan Molenaar
d9ec27ab29
Fix typo in CSS docs
2023-05-21 12:11:19 +02:00
Matthias Clasen
edfd37dfe2
docs: Mention pixbufs in the migration guide
2023-05-15 23:05:52 -04:00
Matthias Clasen
18b8baaf25
Merge branch 'input-doc-fixes' into 'main'
...
GTK reference docs: Some fixes
See merge request GNOME/gtk!5969
2023-05-14 21:49:10 +00:00
FeRD (Frank Dana)
c01be6cac7
doc/actions: Fix end-of-file :
...
The actions document ended with a : where there used to be a period,
seemingly a bug in the conversion from XML. Replace that : with a
period, and remove another spurious : inserted during the conversion.
2023-05-14 17:01:38 -04:00
FeRD (Frank Dana)
8b4e7a638c
docs/input: <kbd>␣</kbd> => <kbd>Space</kbd>
...
- Switch to semantic newlines, where adding <kbd> caused wrapped text
to grow wider than 80 characters on some lines.
2023-05-14 16:23:41 -04:00
FeRD (Frank Dana)
59acec21d4
docs/input-handling: A few more <kbd> wrappings
...
- Format a few missed keypresses/combos using <kbd>
- Switch to semantic newlines for those (paragraphs, bullet points)
2023-05-14 16:20:33 -04:00