.\" @(#)PEXSetSurfaceApprox.3 1.4 95/03/24 SMI; .so man3/pex.macs .TH PEXSetSurfaceApprox 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXSetSurfaceApprox - Set Surface Approximation Method .SH SYNTAX .HP void PEXSetSurfaceApprox\^(\^Display *\fIdisplay\fP\^, XID \fIresource_id\fP\^, PEXOCRequestType \fIreq_type\fP\^, int \fImethod\fP\^, double \fIutolerance\fP\^, double \fIvtolerance\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 surface approximation method ( .B PEXApproxImpDep, .B PEXApproxConstantBetweenKnots, .B PEXApproxWCChordalSize, .B PEXApproxNPCChordalSize, .B PEXApproxDCChordalSize, .B PEXSurfaceApproxWCPlanarDev, .B PEXSurfaceApproxNPCPlanarDev, .B PEXSurfaceApproxDCPlanarDev, .B PEXApproxWCRelative, .B PEXApproxNPCRelative, .B PEXApproxDCRelative ). .IP \fIutolerance\fP 1i The surface approximation tolerance in the u direction. .IP \fIvtolerance\fP 1i The surface approximation tolerance in the v direction. .SH RETURNS .LP None .SH DESCRIPTION .\" indexing .IX PEXSetSurfaceApprox .LP This function creates an output primitive attribute which sets the surface approximation .I method attribute. If the specified .I method is not supported, .B PEXApproxImpDep is used. Supported values for surface approximation are inquirable via .BR PEXGetEnumTypeInfo (3) . The u and v tolerance values are provided to indicate the desired accuracy of the approximation, and are used in different ways for the different methods. .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