From ad474a60c0cb2fb7f00fa0f48dc32792c7cd005f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 3 Sep 2023 23:46:19 +0200 Subject: [PATCH] path-tool: Update docs --- docs/reference/gtk/gtk4-path-tool.rst | 54 ++++++++++++++++++++------- 1 file changed, 40 insertions(+), 14 deletions(-) diff --git a/docs/reference/gtk/gtk4-path-tool.rst b/docs/reference/gtk/gtk4-path-tool.rst index 2decd89171..2191067980 100644 --- a/docs/reference/gtk/gtk4-path-tool.rst +++ b/docs/reference/gtk/gtk4-path-tool.rst @@ -55,6 +55,22 @@ Showing The ``show`` command displays the given path in a window. The interior of the path is filled. +``--fill`` + + Fill the path (this is the default). + +``--stroke`` + + Stroke the path instead of filling it. + +``--points`` + + Show points on the path. + +``--controls`` + + Show control points. + ``--fill-rule=VALUE`` The fill rule that is used to determine what areas are inside the path. @@ -70,13 +86,10 @@ of the path is filled. The color that is used to render the background behind the path. If not specified, white is used. -``--fill`` +``--point-color=COLOR`` - Fill the path (this is the default). - -``--stroke`` - - Stroke the path instead of filling it. + The color that is used to render the points. + If not specified, red is used. ``--line-width=VALUE`` @@ -119,6 +132,22 @@ Rendering The ``render`` command renders the given path as a PNG image. The interior of the path is filled. +``--fill`` + + Fill the path (this is the default). + +``--stroke`` + + Stroke the path instead of filling it. + +``--points`` + + Show points on the path. + +``--controls`` + + Show control points. + ``--fill-rule=VALUE`` The fill rule that is used to determine what areas are inside the path. @@ -134,19 +163,16 @@ The interior of the path is filled. The color that is used to render the background behind the path. If not specified, white is used. +``--point-color=COLOR`` + + The color that is used to render the points. + If not specified, red is used. + ``--output-file=FILE`` The file to save the PNG image to. If not specified, "path.png" is used. -``--fill`` - - Fill the path (this is the default). - -``--stroke`` - - Stroke the path instead of filling it. - ``--line-width=VALUE`` The line width to use for the stroke. ``VALUE`` must be a positive number.