.\" @(#)PEXSetCurveApprox.3 1.4 95/03/24 SMI; .so man3/pex.macs .TH PEXSetCurveApprox 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXSetCurveApprox - Set Curve Approximation Method .SH SYNTAX .HP void PEXSetCurveApprox\^(\^Display *\fIdisplay\fP\^, XID \fIresource_id\fP\^, PEXOCRequestType \fIreq_type\fP\^, int \fImethod\fP\^, double \fItolerance\fP\^) .SH PARAMETERS .IP \fIdisplay\fP 1i 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 \fImethod\fP 1i The curve approximation method ( .B PEXApproxImpDep, .B PEXApproxConstantBetweenKnots, .B PEXApproxWCChordalSize, .B PEXApproxNPCChordalSize, .B PEXApproxDCChordalSize, .B PEXCurveApproxWCChordalDev, .B PEXCurveApproxNPCChordalDev, .B PEXCurveApproxDCChordalDev, .B PEXApproxWCRelative, .B PEXApproxNPCRelative, .B PEXApproxDCRelative ). .IP \fItolerance\fP 1i The curve approximation tolerance (specific to each method). .SH RETURNS .LP None .SH DESCRIPTION .\" indexing .IX PEXSetCurveApprox .LP This function creates an output primitive attribute which sets the curve approximation attribute. If the specified .I method is not supported, an implementation-dependent method (method 1) is used. Supported values for curve approximation are inquirable via .BR PEXGetEnumTypeInfo (3) . The .I tolerance value is provided to indicate the desired accuracy of the approximation, and is used in different ways for the different methods. .\" See \fIChapter 4: Pipeline Contexts\fP .\" for more information about tolerance values. .SH ERRORS .TP .SB BadPEXRenderer The specified renderer resource identifier is invalid. .TP .SB BadPEXStructure The specified structure resource identifier is invalid. .SH SEE ALSO .LP .nf .BR PEXSetIndividualASF (3) .BR PEXGetEnumTypeInfo (3) .fi