Tk_GetCapStyle
NAMESYNOPSIS
ARGUMENTS
DESCRIPTION
KEYWORDS
___________________________
NAME
Tk_GetCapStyle, Tk_NameOfCapStyle − translate between strings and cap styles
SYNOPSIS
#include <tk.h>
int
Tk_GetCapStyle(interp, string, capPtr)
const char *
Tk_NameOfCapStyle(cap)
ARGUMENTS
Tcl_Interp *interp (in) |
Interpreter to use for error reporting. | ||
const char *string (in) |
String containing name of cap style: one of “butt”, “projecting”, or “round”. | ||
int *capPtr (out) |
Pointer to location in which to store X cap style corresponding to string. | ||
int cap (in) |
Cap style: one of CapButt, CapProjecting, or CapRound. |
______________
DESCRIPTION
Tk_GetCapStyle places in *capPtr the X cap style corresponding to string. This will be one of the values CapButt, CapProjecting, or CapRound. Cap styles are typically used in X graphics contexts to indicate how the end-points of lines should be capped. See the X documentation for information on what each style implies.
Under normal circumstances the return value is TCL_OK and interp is unused. If string does not contain a valid cap style or an abbreviation of one of these names, then an error message is stored in interp->result, TCL_ERROR is returned, and *capPtr is unmodified.
Tk_NameOfCapStyle is the logical inverse of Tk_GetCapStyle. Given a cap style such as CapButt it returns a statically-allocated string corresponding to cap. If cap is not a legal cap style, then “unknown cap style” is returned.
KEYWORDS
butt, cap style, projecting, round
More Linux Commands
manpages/TAP::Parser::IteratorFactory.3pm.html
TAP::Parser::IteratorFactory(3pm) - Figures out which Source
This is a factory class that takes a TAP::Parser::Source and runs it through all the registered TAP::Parser::SourceHandlers to see which one should handle the s
manpages/Tk_ChangeWindowAttributes.3.html
Tk_ChangeWindowAttributes(3) - change window configuration o
These procedures are analogous to the X library procedures with similar names, such as XConfigureWindow. Each one of the above procedures calls the correspondin
manpages/ldap_objectclass_free.3.html
ldap_objectclass_free(3) - Schema definition handling routin
These routines are used to parse schema definitions in the syntax defined in RFC 4512 into structs and handle these structs. These routines handle four kinds of
manpages/ttytype.5.html
ttytype(5) - terminal device to default terminal type mappin
The /etc/ttytype file associates termcap(5)/terminfo(5) terminal type names with tty lines. Each line consists of a terminal type, followed by whitespace, follo
manpages/lbxproxy.1.html
lbxproxy(1) - Low BandWidth X proxy - Linux manual page.....
Applications that would like to take advantage of the Low Bandwidth extension to X (LBX) must make their connections to an lbxproxy. These applications need to
manpages/Tcl_DeleteTrace.3.html
Tcl_DeleteTrace(3) - arrange for command execution to be tra
Tcl_CreateObjTrace arranges for command tracing. After it is called, objProc will be invoked before the Tcl interpreter calls any command procedure when evaluat
manpages/mm2gv.1.html
mm2gv(1) - Matrix Market-DOT converters - Linux manual page
mm2gv converts a sparse matrix of the Matrix Market format to a graph in the GV (formerly DOT) format. If the matrix M is not square, the graph is considered bi
manpages/asn1_der_decoding_element.3.html
asn1_der_decoding_element(3) - Fill the element named ELEMEN
Fill the element named ELEMENTNAME with values of a DER encoding string. The structure must just be created with function asn1_create_element(). The DER vector
manpages/lynx.1.html
lynx(1) - a general purpose distributed information browser
Lynx is a fully-featured World Wide Web (WWW) client for users running cursor-addressable, character-cell display devices (e.g., vt100 terminals, vt100 emulator
manpages/Tie::RefHash.3pm.html
Tie::RefHash(3pm) - use references as hash keys (Man Page)
This module provides the ability to use references as hash keys if you first tie the hash variable to this module. Normally, only the keys of the tied hash itse
manpages/getttynam.3.html
getttynam(3) - get ttys file entry - Linux manual page......
These functions provide an interface to the file _PATH_TTYS (e.g., /etc/ttys). The function setttyent() opens the file or rewinds it if already open. The functi
manpages/applydeltarpm.8.html
applydeltarpm(8) - reconstruct an rpm from a deltarpm.......
applydeltarpm applies a binary delta to either an old rpm or to on-disk data to re-create a new rpm. The old rpm can be specified with the -r option, if no rpm
