summaryrefslogtreecommitdiffstats
path: root/doc/photo.n
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-22 14:16:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-22 14:16:42 (GMT)
commite1486d48b18bdd738d42c22f61f597b17ea02fc4 (patch)
treef1ee74148eb7e6b073d776877344a0a9342ced75 /doc/photo.n
parent4424dff3092a2ea0574195815aca62fd5c751b08 (diff)
parent3c4e724f033bf187c86fe8b49e53abe44671ee47 (diff)
downloadtk-e1486d48b18bdd738d42c22f61f597b17ea02fc4.zip
tk-e1486d48b18bdd738d42c22f61f597b17ea02fc4.tar.gz
tk-e1486d48b18bdd738d42c22f61f597b17ea02fc4.tar.bz2
Merge trunk.
Eliminate use of "mouseunits", was not a good idea. Move code out of UpdateButtonEventState() function.
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