summaryrefslogtreecommitdiffstats
path: root/doc/photo.n
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-06-10 12:10:57 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-06-10 12:10:57 (GMT)
commitb226034dbfd6109d17ec0fc8f941f88c00aa3c37 (patch)
treeee047865f96188aaf7e417b3068c0aa635874392 /doc/photo.n
parent5e6d237cf90c41cd630dd23727ca47ef9e18e62c (diff)
downloadtk-b226034dbfd6109d17ec0fc8f941f88c00aa3c37.zip
tk-b226034dbfd6109d17ec0fc8f941f88c00aa3c37.tar.gz
tk-b226034dbfd6109d17ec0fc8f941f88c00aa3c37.tar.bz2
Update documentation to reflect content of TIP #545
Diffstat (limited to 'doc/photo.n')
-rw-r--r--doc/photo.n11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/photo.n b/doc/photo.n
index 2f6076e..2673985 100644
--- a/doc/photo.n
+++ b/doc/photo.n
@@ -552,19 +552,20 @@ background on which the image is displayed to show through. This
usually also has the effect of desaturating the image. The
\fIalphaValue\fR must be between 0.0 and 1.0.
.TP
-\fBsvg \-dpi\fI dpiValue\fB \-scale\fI scaleValue\fB \-unit\fI unitValue\fR
+\fBsvg \-dpi\fI dpiValue\fB \-scale\fI scaleValue\fB \-scaletowidth \fI width\fB \-scaletoheight\fI height\fR
.
\fIdpiValue\fR is used in conversion between given coordinates and
screen resolution. The value must be greater than 0 and the default
value is 96.
\fIscaleValue\fR is used to scale the resulting image. The value must
be greater than 0 and the default value is 1.
-\fIunitValue\fR is the unit of all coordinates in the SVG data.
-Available units are px (default, coordinates in pixel), pt (1/72 inch),
-pc (12 pt), mm , cm and in.
+\fIwidth\fR and \fIheight\fR are the width or height that the image
+will be adjusted to. Only one parameter among \fB\-scale\fR,
+\fB\-scaletowidth\fR and \fB\-scaletoheight\fR can be given at a time
+and the aspect ratio of the original image is always preserved.
The svg format supports a wide range of SVG features, but the
full SVG standard is not available, for instance the 'text' feature
-is missing and silently ignores when reading the SVG data.
+is missing and silently ignored when reading the SVG data.
The supported SVG features are:
.
.RS