summaryrefslogtreecommitdiff
path: root/tk/doc/CanvPsY.3
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2002-09-24 20:37:56 +0000
committerKeith Seitz <keiths@redhat.com>2002-09-24 20:37:56 +0000
commitc709ff98b014a66934671dcece6d2b26d5101b1a (patch)
tree2cae57d3bed8d1c06b191a3d847ed0bfd0f48676 /tk/doc/CanvPsY.3
parent07296cfdb73a6d68eb6b921fd25c7c9dacdf1eec (diff)
downloadgdb-c709ff98b014a66934671dcece6d2b26d5101b1a.tar.gz
import tk 8.4.0TK_8_4_0
Diffstat (limited to 'tk/doc/CanvPsY.3')
-rw-r--r--tk/doc/CanvPsY.311
1 files changed, 5 insertions, 6 deletions
diff --git a/tk/doc/CanvPsY.3 b/tk/doc/CanvPsY.3
index 3901af5dcf5..fda70a767e8 100644
--- a/tk/doc/CanvPsY.3
+++ b/tk/doc/CanvPsY.3
@@ -7,7 +7,7 @@
'\" RCS: @(#) $Id$
'\"
.so man.macros
-.TH Tk_CanvasPsY 3 4.0 Tk "Tk Library Procedures"
+.TH Tk_CanvasPs 3 4.0 Tk "Tk Library Procedures"
.BS
.SH NAME
Tk_CanvasPsY, Tk_CanvasPsBitmap, Tk_CanvasPsColor, Tk_CanvasPsFont, Tk_CanvasPsPath, Tk_CanvasPsStipple \- utility procedures for generating Postscript for canvases
@@ -25,14 +25,14 @@ int
\fBTk_CanvasPsColor\fR(\fIinterp, canvas, colorPtr\fR)
.sp
int
-\fBTk_CanvasPsFont\fR(\fIinterp, canvas, fontStructPtr\fR)
+\fBTk_CanvasPsFont\fR(\fIinterp, canvas, tkFont\fR)
.sp
\fBTk_CanvasPsPath\fR(\fIinterp, canvas, coordPtr, numPoints\fR)
.sp
int
\fBTk_CanvasPsStipple\fR(\fIinterp, canvas, bitmap\fR)
.SH ARGUMENTS
-.AS "unsigned int" *fontStructPtr
+.AS "unsigned int" "numPoints"
.AP Tk_Canvas canvas in
A token that identifies a canvas widget for which Postscript is
being generated.
@@ -53,7 +53,7 @@ Width of region of bitmap to output, in pixels.
Height of region of bitmap to output, in pixels.
.AP XColor *colorPtr in
Information about color value to set in Postscript.
-.AP XFontStruct *fontStructPtr in
+.AP Tk_Font tkFont in
Font for which Postscript is to be generated.
.AP double *coordPtr in
Pointer to an array of coordinates for one or more
@@ -97,7 +97,7 @@ TCL_OK unless an error occurs, in which case TCL_ERROR is returned and
\fIinterp->result\fR is overwritten with an error message.
.PP
\fBTk_CanvasPsFont\fR generates Postscript that sets the current font
-to match \fIfontStructPtr\fR as closely as possible.
+to match \fItkFont\fR as closely as possible.
\fBTk_CanvasPsFont\fR takes into account any font map specified
in the \fBpostscript\fR command, and it does
the best it can at mapping X fonts to Postscript fonts.
@@ -120,4 +120,3 @@ returned, unless an error occurs, in which case TCL_ERROR is returned and
.SH KEYWORDS
bitmap, canvas, color, font, path, Postscript, stipple
-