⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getcapstyl.3

📁 linux系统下的音频通信
💻 3
字号:
'\"'\" Copyright (c) 1990 The Regents of the University of California.'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.'\"'\" See the file "license.terms" for information on usage and redistribution'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.'\" '\" SCCS: @(#) GetCapStyl.3 1.9 96/03/26 18:09:14'\" .so man.macros.TH Tk_GetCapStyle 3 "" Tk "Tk Library Procedures".BS.SH NAMETk_GetCapStyle, Tk_NameOfCapStyle \- translate between strings and cap styles.SH SYNOPSIS.nf\fB#include <tk.h>\fR.spint\fBTk_GetCapStyle(\fIinterp, string, capPtr\fB)\fR.spchar *\fBTk_NameOfCapStyle(\fIcap\fB)\fR.SH ARGUMENTS.AS "Tcl_Interp" *capPtr.AP Tcl_Interp *interp inInterpreter to use for error reporting..AP char *string inString containing name of cap style: one of ```butt'', ``projecting'',or ``round''..AP int *capPtr outPointer to location in which to store X cap style corresponding to\fIstring\fR..AP int cap inCap style: one of \fBCapButt\fR, \fBCapProjecting\fR, or \fBCapRound\fR..BE.SH DESCRIPTION.PP\fBTk_GetCapStyle\fR places in \fI*capPtr\fR the X cap stylecorresponding to \fIstring\fR.This will be one of the values\fBCapButt\fR, \fBCapProjecting\fR, or \fBCapRound\fR.Cap styles are typically used in X graphics contexts to indicatehow the end-points of lines should be capped.See the X documentation for information on what each styleimplies..PPUnder normal circumstances the return value is \fBTCL_OK\fR and\fIinterp\fR is unused.If \fIstring\fR doesn't contain a valid cap styleor an abbreviation of one of these names, then an error message isstored in \fIinterp->result\fR, \fBTCL_ERROR\fR is returned, and\fI*capPtr\fR is unmodified..PP\fBTk_NameOfCapStyle\fR is the logical inverse of \fBTk_GetCapStyle\fR.Given a cap style such as \fBCapButt\fR it returns astatically-allocated string corresponding to \fIcap\fR.If \fIcap\fR isn't a legal cap style, then``unknown cap style'' is returned..SH KEYWORDSbutt, cap style, projecting, round

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -