diff options
Diffstat (limited to 'doc/GetPixels.3')
-rw-r--r-- | doc/GetPixels.3 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/GetPixels.3 b/doc/GetPixels.3 index 6c31af9..568c601 100644 --- a/doc/GetPixels.3 +++ b/doc/GetPixels.3 @@ -9,7 +9,7 @@ .so man.macros .BS .SH NAME -Tk_GetPixelsFromObj, Tk_GetPixels, Tk_GetMMFromObj, Tk_GetScreenMM \- translate between strings and screen units +Tk_GetPixelsFromObj, Tk_GetPixels, Tk_GetMMFromObj, Tk_GetScreenMM, Tk_GetDoublePixelsFromObj \- translate between strings and screen units .SH SYNOPSIS .nf \fB#include <tk.h>\fR @@ -18,6 +18,9 @@ int \fBTk_GetPixelsFromObj(\fIinterp, tkwin, objPtr, intPtr\fB)\fR .sp int +\fBTk_GetDoublePixelsFromObj(\fIinterp, tkwin, objPtr, doublePtr\fB)\fR +.sp +int \fBTk_GetPixels(\fIinterp, tkwin, string, intPtr\fB)\fR .sp int @@ -81,6 +84,9 @@ in \fIinterp\fR's result if \fIinterp\fR is not NULL. value in \fIobjPtr\fR, which speeds up future calls to \fBTk_GetPixelsFromObj\fR with the same \fIobjPtr\fR. .PP +\fBTk_GetDoublePixelsFromObj\fR is identical to \fBTk_GetPixelsFromObj\fR +except it returns a double not rounded to the nearest integer. +.PP \fBTk_GetPixels\fR is identical to \fBTk_GetPixelsFromObj\fR except that the screen distance is specified with a string instead of an object. This prevents \fBTk_GetPixels\fR from caching the |