summaryrefslogtreecommitdiffstats
path: root/doc
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
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')
-rw-r--r--doc/photo.n11
-rw-r--r--doc/tk_mac.n4
2 files changed, 9 insertions, 6 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
diff --git a/doc/tk_mac.n b/doc/tk_mac.n
index 6c50281..8b701e6 100644
--- a/doc/tk_mac.n
+++ b/doc/tk_mac.n
@@ -124,6 +124,8 @@ proc ::tk::mac::OpenDocument {args} {
}
.CE
.RE
+Note: the application must be running for this command to work.
+
.TP
\fB::tk::mac::PrintDocument \fIfile...\fR
.
@@ -131,7 +133,7 @@ If a proc of this name is defined it is the default Apple Event handler for
kAEPrintDocuments,
.QW pdoc ,
the Apple Event sent when your application is asked to print a
-document. It takes a single absolute file path as an argument.
+document. It takes a single absolute file path as an argument. Note: the application must be running for this command to work.
.TP
\fB::tk::mac::Quit\fR
.