summaryrefslogtreecommitdiffstats
path: root/doc/CanvPsY.3
diff options
context:
space:
mode:
authorjenglish@flightlab.com <jenglish>2000-07-25 21:14:34 (GMT)
committerjenglish@flightlab.com <jenglish>2000-07-25 21:14:34 (GMT)
commitcdd4c4c1dacd96174225dc62905fedd31d8b27df (patch)
treebea05665891f61ab3749ece3ae4fe07945da4664 /doc/CanvPsY.3
parentc6bc600d803dbcb3b90be56c4653c52add4ba9b3 (diff)
downloadtk-cdd4c4c1dacd96174225dc62905fedd31d8b27df.zip
tk-cdd4c4c1dacd96174225dc62905fedd31d8b27df.tar.gz
tk-cdd4c4c1dacd96174225dc62905fedd31d8b27df.tar.bz2
CanvPsY.3, ConfigWidg.3, CrtImgType.3, CrtItemType.3,
FontId.3, GetFont.3, canvas.n, font.n, options.n, text.n: Documentation fix: Replaced references to XFontStruct * and Tk_FontStruct with Tk_Font.
Diffstat (limited to 'doc/CanvPsY.3')
-rw-r--r--doc/CanvPsY.312
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/CanvPsY.3 b/doc/CanvPsY.3
index c25f42f..af051ca 100644
--- a/doc/CanvPsY.3
+++ b/doc/CanvPsY.3
@@ -4,10 +4,10 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: CanvPsY.3,v 1.4 1999/04/21 21:53:20 rjohnson Exp $
+'\" RCS: @(#) $Id: CanvPsY.3,v 1.5 2000/07/25 21:14:34 jenglish Exp $
'\"
.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.