'\" t .\" @(#)PEXGSE-PEXSunGseIdSetEndcap.3 1.5 95/04/06 SMI; .so man3/pex.macs .TH PEXGSE-PEXSunGseIdSetEndcap 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXGSE-PEXSunGseIdSetEndcap - PEX Set Endcap .SH SYNTAX .HP void PEXGSE\^(\^Display *\fIdisplay\fP\^, XID \fIresource_id\fP\^, PEXOCRequestType \fIreq_type\fP\^, long \fIid\fP\^, int \fIlength\fP\^, char *\fIdata\fP\^) .SH PARAMETERS .TP 1i \fIdisplay\fP A pointer to a display structure returned by a successful .B XOpenDisplay call. .IP \fIresource_id\fP 1i The resource identifier of the renderer or structure. .IP \fIreq_type\fP 1i The request type for the output command ( .B PEXOCRender, .B PEXOCStore, .B PEXOCRenderSingle or .B PEXOCStoreSingle ). .IP \fIid\fP 1i The identifier of the GSE. .IP \fIlength\fP 1i The length, in bytes, of the GSE data. .IP \fIdata\fP 1i A pointer to the GSE data. .SH RETURNS None .SH DESCRIPTION .\" indexing .IX PEXGSE-PEXSunGseIdSetEndcap .IX "GSE" "PEXGSE-PEXSunGseIdSetEndcap" .LP To use the Sun SetEndcap GSE, the .I id parameter should be set to .B PEXSunGSEIdSetEndcap, the .I data parameter should be set to point to structure type .I pexSunGseEndcap, and the .I length parameter should be set to the total length of .I data. .LP This GSE specifies the style of stroke end caps. .SH DATA STRUCTURES .nf typedef struct { .br CARD32 prim; INT32 type; .br } pexSunGseEndcap; .fi .LP The .I prim field specifies which primitives this endcap-style applies to. Values for .I prim are defined in .B SunPEX.h as listed below: .\"@ .\" start equation_nroff_version .if t .ig xx .bp .xx .\"@ .\" start equation_troff_version .if n .ig yy .LP .yy .TS center, box; lf3 cf3 l c. Symbol Value _ PEXSunEndcapPrimLine 1 PEXSunEndcapPrimEdge 4 .TE .LP The .I type field specifies the endcap-style. Values for .I type are defined in .B SunPEX.h as listed below: .LP .TS center, box; lf3 cf3 l c. Symbol Value _ PEXSunEndcapTypeButt 0 PEXSunEndcapTypeSquare 1 PEXSunEndcapTypeRound 2 .TE .SH SEE ALSO .LP .nf .BR PEXGSE (3) .fi