void PEXOCCSetPolylineInterpMethod( PEXOCC context, int method )
void PEXSetPolylineInterpMethod( Display *display, XID resource_id, PEXOCRequestType req_type, int method )
None.
Invoke PEXOCCSetPolylineInterpMethod to create an attribute output command which sets the polyline interpolation method attribute in the renderer's pipeline state according to the value specified by method.
By setting the polyline interpolation method attribute's ASF to PEXIndividual (see PEXOCCSetIndividualASF), you use the pipeline state's polyline interpolation method entry to specify how color values are computed along the segments when rendering polyline primitives. The interpolation method applies to all components of color, including alpha. When you set the polyline interpolation method attribute's ASF to PEXBundled, the implementation uses the polyline interpolation method from the line bundle table.
PEXlib defines the following polyline interpolation methods (method):
If the implementation does not support the specified interpolation method, then the method defaults to PEXPolylineInterpNone. Inquire the supported values for the polyline interpolation method by invoking the PEXGetEnumTypeInfo function.
This function is a member of the shaded line attribute set.
For an overview and for a list of output attribute functions, see Output Attribute Functions.