Tk_GetJoinStyle



Tk_GetJoinStyle

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
KEYWORDS

___________________________

NAME

Tk_GetJoinStyle, Tk_NameOfJoinStyle − translate between strings and join styles

SYNOPSIS

#include <tk.h>

int
Tk_GetJoinStyle(
interp, string, joinPtr)

const char *
Tk_NameOfJoinStyle(
join)

ARGUMENTS

Tcl_Interp *interp (in)

Interpreter to use for error reporting.

const char *string (in)

String containing name of join style: one of “bevel”, “miter”, or “round”.

int *joinPtr (out)

Pointer to location in which to store X join style corresponding to string.

int join (in)

Join style: one of JoinBevel, JoinMiter, JoinRound.

______________

DESCRIPTION

Tk_GetJoinStyle places in *joinPtr the X join style corresponding to string, which will be one of JoinBevel, JoinMiter, or JoinRound. Join styles are typically used in X graphics contexts to indicate how adjacent line segments should be joined together. 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 join style or an abbreviation of one of these names, then an error message is stored in interp->result, TCL_ERROR is returned, and *joinPtr is unmodified.

Tk_NameOfJoinStyle is the logical inverse of Tk_GetJoinStyle. Given a join style such as JoinBevel it returns a statically-allocated string corresponding to join. If join is not a legal join style, then “unknown join style” is returned.

KEYWORDS

bevel, join style, miter, round



More Linux Commands

manpages/xmlcatalog.1.html
xmlcatalog(1) - Command line tool to parse and manipulate XM
xmlcatalog is a command line application allowing users to monitor and manipulate XML and SGML catalogs. It is included in libxml(3). Its functions can be invok

manpages/Tk_Screen.3.html
Tk_Screen(3) - retrieve information from Tk's local data str
Tk_WindowId and the other names listed above are all macros that return fields from Tks local data structure for tkwin. None of these macros requires any intera

manpages/Tk_FreeSavedOptions.3.html
Tk_FreeSavedOptions(3) - process configuration options......
These procedures handle most of the details of parsing configuration options such as those for Tk widgets. Given a description of what options are supported, th

manpages/open_memstream.3.html
open_memstream(3) - open memory as stream - Linux man page
The fmemopen() function opens a stream that permits the access specified by mode. The stream allows I/O to be performed on the string or memory buffer pointed t

manpages/pread.2.html
pread(2) - read from or write to a file descriptor at a give
pread() reads up to count bytes from file descriptor fd at offset offset (from the start of the file) into the buffer starting at buf. The file offset is not ch

manpages/XkbGetDeviceLedInfo.3.html
XkbGetDeviceLedInfo(3) - Query the indicator names, maps, an
XkbGetDeviceLedInfo queries the server for the desired LED information for the feedback specified by led_class and led_id for the X input extension device indic

manpages/curl_multi_init.3.html
curl_multi_init(3) - create a multi handle - Linux man page
This function returns a CURLM handle to be used as input to all the other multi-functions, sometimes referred to as a multi handle in some places in the documen

manpages/Time::localtime.3pm.html
Time::localtime(3pm) - by-name interface to Perl's built-in
This modules default exports override the core localtime() function, replacing it with a version that returns Time::tm objects. This object has methods that ret

manpages/CPU_ALLOC.3.html
CPU_ALLOC(3) - macros for manipulating CPU sets (Man Page)
The cpu_set_t data structure represents a set of CPUs. CPU sets are used by sched_setaffinity(2) and similar interfaces. The cpu_set_t data type is implemented

manpages/XCreateSimpleWindow.3.html
XCreateSimpleWindow(3) - create windows and window attribute
XCreateSimpleWindow.3 - The XCreateWindow function creates an unmapped subwindow for a specified parent window, returns the window ID of the created window, and

manpages/setgroups32.2.html
setgroups32(2) - get/set list of supplementary group IDs....
getgroups() returns the supplementary group IDs of the calling process in list. The argument size should be set to the maximum number of items that can be store

manpages/send_easy_trap.3.html
send_easy_trap(3) - send TRAPs or INFORMs from a Net-SNMP MI
These three routines may be used to send traps from a MIB module within the Net-SNMP agent (including an AgentX subagent). send_easy_trap() sends an SNMPv1 trap





We can't live, work or learn in freedom unless the software we use is free.