#ifndef _PEXLIB_H_
#define _PEXLIB_H_
#include <X11/Xlib.h>
#include <X11/PEX5/PEX.h>
#include <X11/Xfuncproto.h>
#define PEXMinFloatIeee_754_32 1.40129846432481707e-45
#define PEXMaxFloatIeee_754_32 3.40282346638528860e+38
#define PEXMinFloatIeee_754_64 4.94065645841246544e-324
#define PEXMaxFloatIeee_754_64 1.797693134862315708e+308
#define PEXBadExtension 1
#define PEXBadProtocolVersion 2
#define PEXBadFloatConversion 3
#define PEXBadLocalAlloc 4
#define PEXErrorStringLength 80
typedef XID PEXFont;
typedef XID PEXLookupTable;
typedef XID PEXNameSet;
typedef XID PEXPickMeasure;
typedef XID PEXPipelineContext;
typedef XID PEXRenderer;
typedef XID PEXSearchContext;
typedef XID PEXStructure;
typedef XID PEXWorkstation;
typedef unsigned long PEXBitmask;
typedef unsigned short PEXBitmaskShort;
typedef short PEXColorType;
typedef unsigned char PEXContourHint;
typedef unsigned short PEXCoordType;
typedef short PEXComposition;
typedef unsigned short PEXCullMode;
typedef unsigned char PEXDynamicType;
typedef short PEXEnumTypeIndex;
typedef float PEXMatrix[4][4];
typedef float PEXMatrix3x3[3][3];
typedef unsigned long PEXName;
typedef int PEXOCRequestType;
typedef unsigned short PEXShapeHint;
typedef unsigned char PEXSwitch;
typedef unsigned short PEXTableIndex;
typedef unsigned short PEXTypeOrTableIndex;
#if NeedFunctionPrototypes
typedef void *PEXPointer;
#else
typedef char *PEXPointer;
#endif
typedef struct {
unsigned short major_version;
unsigned short minor_version;
unsigned long release;
unsigned long subset_info;
char *vendor_name;
int major_opcode;
int first_event;
int first_error;
} PEXExtensionInfo;
typedef struct {
PEXEnumTypeIndex index;
char *descriptor;
} PEXEnumTypeDesc;
typedef union {
unsigned long integer;
float flt_point;
} PEXImpDepConstant;
typedef struct {
int depth;
int type;
Visual *visual;
} PEXRenderingTarget;
#define PEXOCRender 0
#define PEXOCStore 1
#define PEXOCRenderSingle 2
#define PEXOCStoreSingle 3
typedef struct {
float x;
float y;
float z;
} PEXCoord;
typedef struct {
float x;
float y;
} PEXCoord2D;
typedef struct {
float x;
float y;
float z;
float w;
} PEXCoord4D;
typedef struct {
unsigned long count;
PEXCoord2D *points;
} PEXListOfCoord2D;
typedef struct {
unsigned long count;
PEXCoord *points;
} PEXListOfCoord;
typedef struct {
unsigned long count;
PEXCoord4D *points;
} PEXListOfCoord4D;
typedef union {
PEXCoord2D *point_2d;
PEXCoord *point;
PEXCoord4D *point_4d;
} PEXArrayOfCoord;
typedef struct {
float red;
float green;
float blue;
} PEXColorRGB;
typedef struct {
float hue;
float saturation;
float value;
} PEXColorHSV;
typedef struct {
float hue;
float lightness;
float saturation;
} PEXColorHLS;
typedef struct {
float x;
float y;
float z;
} PEXColorCIE;
typedef struct {
unsigned char red;
unsigned char green;
unsigned char blue;
unsigned char reserved;
} PEXColorRGB8;
typedef struct {
unsigned short red;
unsigned short green;
unsigned short blue;
unsigned short reserved;
} PEXColorRGB16;
typedef struct {
PEXTableIndex index;
unsigned short reserved;
} PEXColorIndexed;
typedef union {
PEXColorIndexed indexed;
PEXColorRGB rgb;
PEXColorHSV hsv;
PEXColorHLS hls;
PEXColorCIE cie;
PEXColorRGB8 rgb8;
PEXColorRGB16 rgb16;
} PEXColor;
typedef union {
PEXColorIndexed *indexed;
PEXColorRGB *rgb;
PEXColorHSV *hsv;
PEXColorHLS *hls;
PEXColorCIE *cie;
PEXColorRGB8 *rgb8;
PEXColorRGB16 *rgb16;
} PEXArrayOfColor;
typedef struct {
float x;
float y;
float z;
} PEXVector;
typedef struct {
float x;
float y;
} PEXVector2D;
typedef struct {
PEXColorIndexed index;
PEXVector normal;
} PEXColorIndexedNormal;
typedef struct {
PEXColorRGB rgb;
PEXVector normal;
} PEXColorRGBNormal;
typedef struct {
PEXColorCIE cie;
PEXVector normal;
} PEXColorCIENormal;
typedef struct {
PEXColorHSV hsv;
PEXVector normal;
} PEXColorHSVNormal;
typedef struct {
PEXColorHLS hls;
PEXVector normal;
} PEXColorHLSNormal;
typedef struct {
PEXColorRGB8 rgb8;
PEXVector normal;
} PEXColorRGB8Normal;
typedef struct {
PEXColorRGB16 rgb16;
PEXVector normal;
} PEXColorRGB16Normal;
typedef union {
PEXColorIndexed index;
PEXColorRGB rgb;
PEXColorHSV hsv;
PEXColorHLS hls;
PEXColorCIE cie;
PEXColorRGB8 rgb8;
PEXColorRGB16 rgb16;
PEXVector normal;
PEXColorIndexedNormal index_normal;
PEXColorRGBNormal rgb_normal;
PEXColorHSVNormal hsv_normal;
PEXColorHLSNormal hls_normal;
PEXColorCIENormal cie_normal;
PEXColorRGB8Normal rgb8_normal;
PEXColorRGB16Normal rgb16_normal;
} PEXFacetData;
typedef union {
PEXColorIndexed *index;
PEXColorRGB *rgb;
PEXColorHSV *hsv;
PEXColorHLS *hls;
PEXColorCIE *cie;
PEXColorRGB8 *rgb8;
PEXColorRGB16 *rgb16;
PEXVector *normal;
PEXColorIndexedNormal *index_normal;
PEXColorRGBNormal *rgb_normal;
PEXColorCIENormal *cie_normal;
PEXColorHSVNormal *hsv_normal;
PEXColorHLSNormal *hls_normal;
PEXColorRGB8Normal *rgb8_normal;
PEXColorRGB16Normal *rgb16_normal;
} PEXArrayOfFacetData;
typedef struct {
PEXCoord point;
PEXColorIndexed index;
} PEXVertexIndexed;
typedef struct {
PEXCoord point;
PEXColorRGB rgb;
} PEXVertexRGB;
typedef struct {
PEXCoord point;
PEXColorHSV hsv;
} PEXVertexHSV;
typedef struct {
PEXCoord point;
PEXColorHLS hls;
} PEXVertexHLS;
typedef struct {
PEXCoord point;
PEXColorCIE cie;
} PEXVertexCIE;
typedef struct {
PEXCoord point;
PEXColorRGB8 rgb8;
} PEXVertexRGB8;
typedef struct {
PEXCoord point;
PEXColorRGB16 rgb16;
} PEXVertexRGB16;
typedef struct {
PEXCoord point;
PEXVector normal;
} PEXVertexNormal;
typedef struct {
PEXCoord point;
unsigned int edge;
} PEXVertexEdge;
typedef struct {
PEXCoord point;
PEXColorIndexed index;
PEXVector normal;
} PEXVertexIndexedNormal;
typedef struct {
PEXCoord point;
PEXColorRGB rgb;
PEXVector normal;
} PEXVertexRGBNormal;
typedef struct {
PEXCoord point;
PEXColorHSV hsv;
PEXVector normal;
} PEXVertexHSVNormal;
typedef struct {
PEXCoord point;
PEXColorHLS hls;
PEXVector normal;
} PEXVertexHLSNormal;
typedef struct {
PEXCoord point;
PEXColorCIE cie;
PEXVector normal;
} PEXVertexCIENormal;
typedef struct {
PEXCoord point;
PEXColorRGB8 rgb8;
PEXVector normal;
} PEXVertexRGB8Normal;
typedef struct {
PEXCoord point;
PEXColorRGB16 rgb16;
PEXVector normal;
} PEXVertexRGB16Normal;
typedef struct {
PEXCoord point;
PEXColorIndexed index;
unsigned int edge;
} PEXVertexIndexedEdge;
typedef struct {
PEXCoord point;
PEXColorRGB rgb;
unsigned int edge;
} PEXVertexRGBEdge;
typedef struct {
PEXCoord point;
PEXColorHSV hsv;
unsigned int edge;
} PEXVertexHSVEdge;
typedef struct {
PEXCoord point;
PEXColorHLS hls;
unsigned int edge;
} PEXVertexHLSEdge;
typedef struct {
PEXCoord point;
PEXColorCIE cie;
unsigned int edge;
} PEXVertexCIEEdge;
typedef struct {
PEXCoord point;
PEXColorRGB8 rgb8;
unsigned int edge;
} PEXVertexRGB8Edge;
typedef struct {
PEXCoord point;
PEXColorRGB16 rgb16;
unsigned int edge;
} PEXVertexRGB16Edge;
typedef struct {
PEXCoord point;
PEXVector normal;
unsigned int edge;
} PEXVertexNormalEdge;
typedef struct {
PEXCoord point;
PEXColorIndexed index;
PEXVector normal;
unsigned int edge;
} PEXVertexIndexedNormalEdge;
typedef struct {
PEXCoord point;
PEXColorRGB rgb;
PEXVector normal;
unsigned int edge;
} PEXVertexRGBNormalEdge;
typedef struct {
PEXCoord point;
PEXColorHSV hsv;
PEXVector normal;
unsigned int edge;
} PEXVertexHSVNormalEdge;
typedef struct {
PEXCoord point;
PEXColorHLS hls;
PEXVector normal;
unsigned int edge;
} PEXVertexHLSNormalEdge;
typedef struct {
PEXCoord point;
PEXColorCIE cie;
PEXVector normal;
unsigned int edge;
} PEXVertexCIENormalEdge;
typedef struct {
PEXCoord point;
PEXColorRGB8 rgb8;
PEXVector normal;
unsigned int edge;
} PEXVertexRGB8NormalEdge;
typedef struct {
PEXCoord point;
PEXColorRGB16 rgb16;
PEXVector normal;
unsigned int edge;
} PEXVertexRGB16NormalEdge;
typedef union {
PEXCoord *no_data;
PEXVertexIndexed *index;
PEXVertexRGB *rgb;
PEXVertexHSV *hsv;
PEXVertexHLS *hls;
PEXVertexCIE *cie;
PEXVertexRGB8 *rgb8;
PEXVertexRGB16 *rgb16;
PEXVertexNormal *normal;
PEXVertexEdge *edge;
PEXVertexIndexedNormal *index_normal;
PEXVertexRGBNormal *rgb_normal;
PEXVertexHSVNormal *hsv_normal;
PEXVertexHLSNormal *hls_normal;
PEXVertexCIENormal *cie_normal;
PEXVertexRGB8Normal *rgb8_normal;
PEXVertexRGB16Normal *rgb16_normal;
PEXVertexIndexedEdge *index_edge;
PEXVertexRGBEdge *rgb_edge;
PEXVertexHSVEdge *hsv_edge;
PEXVertexHLSEdge *hls_edge;
PEXVertexCIEEdge *cie_edge;
PEXVertexRGB8Edge *rgb8_edge;
PEXVertexRGB16Edge *rgb16_edge;
PEXVertexNormalEdge *normal_edge;
PEXVertexIndexedNormalEdge *index_normal_edge;
PEXVertexRGBNormalEdge *rgb_normal_edge;
PEXVertexHSVNormalEdge *hsv_normal_edge;
PEXVertexHLSNormalEdge *hls_normal_edge;
PEXVertexCIENormalEdge *cie_normal_edge;
PEXVertexRGB8NormalEdge *rgb8_normal_edge;
PEXVertexRGB16NormalEdge *rgb16_normal_edge;
} PEXArrayOfVertex;
typedef struct {
unsigned long count;
PEXArrayOfVertex vertices;
} PEXListOfVertex;
typedef struct {
unsigned short count;
unsigned short *shorts;
} PEXListOfUShort;
typedef struct {
unsigned short count;
PEXListOfUShort *lists;
} PEXConnectivityData;
typedef struct {
unsigned short character_set;
unsigned char character_set_width;
unsigned char encoding_state;
unsigned short reserved;
unsigned short length;
char *ch;
} PEXEncodedTextData;
typedef struct {
unsigned short count;
PEXEncodedTextData *encoded_text;
} PEXListOfEncodedText;
typedef struct {
unsigned short count;
float *floats;
} PEXListOfFloat;
typedef struct {
PEXSwitch visibility;
unsigned char reserved;
unsigned short order;
PEXCoordType rationality;
PEXEnumTypeIndex approx_method;
float tolerance;
float tmin, tmax;
PEXListOfFloat knots;
unsigned short count;
PEXArrayOfCoord control_points;
} PEXTrimCurve;
typedef struct {
unsigned short count;
PEXTrimCurve *curves;
} PEXListOfTrimCurve;
typedef struct {
PEXCoord point;
PEXVector vector;
} PEXHalfSpace;
typedef struct {
PEXCoord2D point;
PEXVector2D vector;
} PEXHalfSpace2D;
typedef struct {
unsigned short placement_type;
unsigned short reserved;
unsigned short u_count;
unsigned short v_count;
} PEXPSCIsoparametricCurves;
typedef struct {
PEXCoord origin;
PEXVector direction;
unsigned short count;
unsigned short reserved;
float *parameters;
} PEXPSCLevelCurves;
typedef struct {
unsigned short length;
char *data;
} PEXPSCImpDepData;
typedef union {
PEXPSCIsoparametricCurves iso_curves;
PEXPSCLevelCurves level_curves;
PEXPSCImpDepData imp_dep;
} PEXPSCData;
typedef struct {
PEXColorType type;
unsigned short reserved;
PEXColor value;
} PEXColorSpecifier;
typedef struct {
unsigned short vertical;
unsigned short horizontal;
} PEXTextAlignment;
typedef struct {
PEXEnumTypeIndex method;
unsigned short reserved;
float tolerance;
} PEXCurveApprox;
typedef struct {
float ambient;
float diffuse;
float specular;
float specular_conc;
float transmission;
PEXColorSpecifier specular_color;
} PEXReflectionAttributes;
typedef struct {
PEXEnumTypeIndex method;
unsigned short reserved;
float u_tolerance;
float v_tolerance;
} PEXSurfaceApprox;
typedef struct {
unsigned short count;
PEXHalfSpace *half_spaces;
} PEXModelClipVolume;
typedef struct {
unsigned short count;
PEXTableIndex *indices;
} PEXListOfLight;
typedef struct {
short type;
PEXPSCData psc;
} PEXPSCSpecifier;
typedef struct {
PEXEnumTypeIndex marker_type;
float marker_scale;
PEXColorSpecifier marker_color;
PEXTableIndex marker_bundle_index;
PEXTableIndex text_font;
unsigned short text_precision;
float char_expansion;
float char_spacing;
PEXColorSpecifier text_color;
float char_height;
PEXVector2D char_up_vector;
unsigned short text_path;
PEXTextAlignment text_alignment;
float atext_height;
PEXVector2D atext_up_vector;
unsigned short atext_path;
PEXTextAlignment atext_alignment;
PEXEnumTypeIndex atext_style;
PEXTableIndex text_bundle_index;
PEXEnumTypeIndex line_type;
float line_width;
PEXColorSpecifier line_color;
PEXCurveApprox curve_approx;
PEXEnumTypeIndex polyline_interp;
PEXTableIndex line_bundle_index;
PEXEnumTypeIndex interior_style;
PEXTypeOrTableIndex interior_style_index;
PEXColorSpecifier surface_color;
PEXReflectionAttributes reflection_attr;
PEXEnumTypeIndex reflection_model;
PEXEnumTypeIndex surface_interp;
PEXEnumTypeIndex bf_interior_style;
PEXTypeOrTableIndex bf_interior_style_index;
PEXColorSpecifier bf_surface_color;
PEXReflectionAttributes bf_reflection_attr;
PEXEnumTypeIndex bf_reflection_model;
PEXEnumTypeIndex bf_surface_interp;
PEXSurfaceApprox surface_approx;
unsigned short culling_mode;
Bool distinguish;
PEXCoord2D pattern_size;
PEXCoord pattern_ref_point;
PEXVector pattern_ref_vec1;
PEXVector pattern_ref_vec2;
PEXTableIndex interior_bundle_index;
PEXSwitch surface_edges;
PEXEnumTypeIndex surface_edge_type;
float surface_edge_width;
PEXColorSpecifier surface_edge_color;
PEXTableIndex edge_bundle_index;
PEXMatrix local_transform;
PEXMatrix global_transform;
unsigned short model_clip;
PEXModelClipVolume model_clip_volume;
PEXTableIndex view_index;
PEXListOfLight light_state;
PEXTableIndex depth_cue_index;
PEXBitmask asf_enables;
PEXBitmask asf_values;
long pick_id;
unsigned long hlhsr_id;
PEXNameSet name_set;
PEXTableIndex color_approx_index;
PEXEnumTypeIndex rendering_color_model;
PEXPSCSpecifier para_surf_char;
} PEXPCAttributes;
#define PEXSetPCAttributeMask(mask, attr) \
mask[((attr)) >> 5] |= (unsigned long) 1 << ( ((attr)) & 0x1f)
#define PEXSetPCAttributeMaskAll(mask) \
mask[0] = 0xffffffff; \
mask[1] = 0xffffffff; \
mask[2] = 0x0
typedef struct {
short xmin;
short ymin;
short xmax;
short ymax;
} PEXDeviceRect;
typedef struct {
unsigned short count;
PEXDeviceRect *rectangles;
} PEXListOfClipRect;
typedef struct {
PEXCoord min;
PEXCoord max;
} PEXNPCSubVolume;
typedef struct {
short x;
short y;
float z;
} PEXDeviceCoord;
typedef struct {
short x;
short y;
} PEXDeviceCoord2D;
typedef struct {
PEXDeviceCoord min;
PEXDeviceCoord max;
PEXSwitch use_drawable;
unsigned char reserved[3];
} PEXViewport;
typedef struct {
PEXStructure structure;
unsigned long offset;
} PEXElementRef;
typedef struct {
unsigned long count;
PEXElementRef *elements;
} PEXStructurePath;
typedef struct {
PEXStructure sid;
unsigned long offset;
unsigned long pick_id;
} PEXPickElementRef;
typedef struct {
unsigned long count;
PEXPickElementRef *elements;
} PEXPickPath;
typedef struct {
PEXPipelineContext pipeline_context;
PEXStructurePath current_path;
PEXLookupTable marker_bundle;
PEXLookupTable text_bundle;
PEXLookupTable line_bundle;
PEXLookupTable interior_bundle;
PEXLookupTable edge_bundle;
PEXLookupTable view_table;
PEXLookupTable color_table;
PEXLookupTable depth_cue_table;
PEXLookupTable light_table;
PEXLookupTable color_approx_table;
PEXLookupTable pattern_table;
PEXLookupTable text_font_table;
PEXNameSet highlight_incl;
PEXNameSet highlight_excl;
PEXNameSet invisibility_incl;
PEXNameSet invisibility_excl;
int renderer_state;
PEXEnumTypeIndex hlhsr_mode;
PEXNPCSubVolume npc_subvolume;
PEXViewport viewport;
PEXListOfClipRect clip_list;
PEXNameSet pick_incl;
PEXNameSet pick_excl;
PEXStructurePath pick_start_path;
PEXColorSpecifier background_color;
Bool clear_image;
Bool clear_z;
int echo_mode;
} PEXRendererAttributes;
typedef PEXNPCSubVolume PEXPDNPCHitVolume;
typedef struct {
PEXDeviceCoord2D position;
float distance;
} PEXPDDCHitBox;
typedef struct {
unsigned short length;
char *record;
} PEXPickDataRecord;
typedef union {
PEXPDNPCHitVolume volume;
PEXPDDCHitBox box;
PEXPickDataRecord data;
} PEXPickRecord;
typedef struct {
PEXNameSet inclusion;
PEXNameSet exclusion;
} PEXNameSetPair;
typedef struct {
unsigned short count;
PEXNameSetPair *pairs;
} PEXListOfNameSetPair;
typedef struct {
Atom name;
unsigned long value;
} PEXFontProp;
typedef struct {
unsigned long first_glyph;
unsigned long last_glyph;
unsigned long default_glyph;
Bool all_exist;
Bool stroke;
unsigned short count;
PEXFontProp *props;
} PEXFontInfo;
typedef struct {
unsigned short length;
char *ch;
} PEXStringData;
typedef struct {
PEXCoord2D lower_left;
PEXCoord2D upper_right;
PEXCoord2D concat_point;
} PEXTextExtent;
typedef struct {
unsigned short definable_entries;
unsigned short predefined_count;
unsigned short predefined_min;
unsigned short predefined_max;
} PEXTableInfo;
typedef struct {
PEXEnumTypeIndex type;
PEXEnumTypeIndex interp_method;
PEXCurveApprox curve_approx;
float width;
PEXColorSpecifier color;
} PEXLineBundleEntry;
typedef struct {
PEXEnumTypeIndex type;
short reserved;
float scale;
PEXColorSpecifier color;
} PEXMarkerBundleEntry;
typedef struct {
PEXTableIndex font_index;
PEXEnumTypeIndex precision;
float char_expansion;
float char_spacing;
PEXColorSpecifier color;
} PEXTextBundleEntry;
typedef struct {
PEXEnumTypeIndex style;
PEXTypeOrTableIndex style_index;
PEXEnumTypeIndex reflection_model;
PEXEnumTypeIndex interp_method;
PEXEnumTypeIndex bf_style;
PEXTypeOrTableIndex bf_style_index;
PEXEnumTypeIndex bf_reflection_model;
PEXEnumTypeIndex bf_interp_method;
PEXSurfaceApprox surface_approx;
PEXColorSpecifier color;
PEXReflectionAttributes reflection_attr;
PEXColorSpecifier bf_color;
PEXReflectionAttributes bf_reflection_attr;
} PEXInteriorBundleEntry;
typedef struct {
PEXSwitch edge_flag;
unsigned char reserved;
PEXEnumTypeIndex type;
float width;
PEXColorSpecifier color;
} PEXEdgeBundleEntry;
typedef struct {
PEXColorType color_type;
unsigned short row_count;
unsigned short col_count;
PEXArrayOfColor colors;
} PEXPatternEntry;
typedef PEXColorSpecifier PEXColorEntry;
typedef struct {
unsigned short count;
PEXFont *fonts;
} PEXTextFontEntry;
typedef struct {
PEXEnumTypeIndex type;
unsigned short reserved;
PEXVector direction;
PEXCoord point;
float concentration;
float spread_angle;
float attenuation1;
float attenuation2;
PEXColorSpecifier color;
} PEXLightEntry;
typedef struct {
PEXSwitch mode;
unsigned char reserved[3];
float front_plane;
float back_plane;
float front_scaling;
float back_scaling;
PEXColorSpecifier color;
} PEXDepthCueEntry;
typedef struct {
PEXEnumTypeIndex type;
PEXEnumTypeIndex model;
unsigned short max1;
unsigned short max2;
unsigned short max3;
PEXSwitch dither;
unsigned char reserved;
unsigned long mult1;
unsigned long mult2;
unsigned long mult3;
float weight1;
float weight2;
float weight3;
unsigned long base_pixel;
} PEXColorApproxEntry;
typedef struct {
unsigned short clip_flags;
unsigned short reserved;
PEXNPCSubVolume clip_limits;
PEXMatrix orientation;
PEXMatrix mapping;
} PEXViewEntry;
typedef struct {
unsigned long element_count;
unsigned long size;
Bool has_refs;
unsigned short edit_mode;
unsigned long element_pointer;
} PEXStructureInfo;
typedef struct {
unsigned short type;
unsigned short length;
} PEXElementInfo;
typedef struct {
PEXCoord position;
float distance;
unsigned short ceiling;
Bool model_clip_flag;
PEXStructurePath start_path;
PEXListOfNameSetPair normal;
PEXListOfNameSetPair inverted;
} PEXSCAttributes;
typedef struct {
PEXTableIndex index;
unsigned short reserved;
PEXViewEntry view;
} PEXViewRep;
typedef struct {
unsigned short count;
PEXTableIndex *views;
} PEXListOfView;
typedef struct {
PEXStructure sid;
float priority;
} PEXPostedStructure;
typedef struct {
unsigned long count;
PEXPostedStructure *structures;
} PEXListOfPostedStructure;
typedef struct {
short drawable_update;
int visual_state;
int drawable_surface;
int view_update;
PEXListOfView defined_views;
int wks_update;
PEXNPCSubVolume req_npc_subvolume;
PEXNPCSubVolume cur_npc_subvolume;
PEXViewport req_workstation_viewport;
PEXViewport cur_workstation_viewport;
int hlhsr_update;
PEXEnumTypeIndex req_hlhsr_mode;
PEXEnumTypeIndex cur_hlhsr_mode;
Drawable drawable;
PEXLookupTable marker_bundle;
PEXLookupTable text_bundle;
PEXLookupTable line_bundle;
PEXLookupTable interior_bundle;
PEXLookupTable edge_bundle;
PEXLookupTable color_table;
PEXLookupTable depth_cue_table;
PEXLookupTable light_table;
PEXLookupTable color_approx_table;
PEXLookupTable pattern_table;
PEXLookupTable text_font_table;
PEXNameSet highlight_incl;
PEXNameSet highlight_excl;
PEXNameSet invisibility_incl;
PEXNameSet invisibility_excl;
PEXListOfPostedStructure posted_structures;
unsigned long count_priorities;
int buffer_update;
int req_buffer_mode;
int cur_buffer_mode;
} PEXWorkstationAttributes;
#define PEXSetPWAttributeMask(mask, attr) \
mask[((attr)) >> 5] |= (unsigned long) 1 << ( ((attr)) & 0x1f)
#define PEXSetPWAttributeMaskAll(mask) \
mask[0] = 0xffffffff; \
mask[1] = 0x00000003
typedef struct {
unsigned char view_rep;
unsigned char marker_bundle;
unsigned char text_bundle;
unsigned char line_bundle;
unsigned char interior_bundle;
unsigned char edge_bundle;
unsigned char color_table;
unsigned char pattern_table;
unsigned char wks_transform;
unsigned char highlight_filter;
unsigned char invisibility_filter;
unsigned char hlhsr_mode;
unsigned char structure_modify;
unsigned char post_structure;
unsigned char unpost_structure;
unsigned char delete_structure;
unsigned char reference_modify;
unsigned char buffer_modify;
unsigned char light_table;
unsigned char depth_cue_table;
unsigned char color_approx_table;
} PEXWorkstationDynamics;
typedef struct {
unsigned short status;
PEXPickPath pick_path;
} PEXPMAttributes;
typedef struct {
unsigned short status;
PEXPickPath path;
int path_order;
PEXNameSet inclusion;
PEXNameSet exclusion;
PEXPickRecord pick_record;
PEXEnumTypeIndex prompt_echo_type;
PEXViewport echo_volume;
int echo_switch;
} PEXPDAttributes;
typedef struct {
int type;
Display *display;
XID resourceid;
unsigned long serial;
unsigned char error_code;
unsigned char request_code;
unsigned char minor_code;
unsigned short op_code;
unsigned short count;
} PEXOCErrorEvent;
typedef struct {
int type;
unsigned long serial;
Bool send_event;
Display *display;
PEXRenderer renderer;
} PEXMaxHitsReachedEvent;
typedef struct {
unsigned short oc_type;
union {
struct {
unsigned long count;
PEXName *names;
} AddToNameSet;
struct {
int length;
char *data;
} ApplicationData;
struct {
PEXCoord point1;
PEXCoord point2;
PEXCoord point3;
unsigned int col_count;
unsigned int row_count;
PEXTableIndex *color_indices;
} CellArray;
struct {
PEXCoord2D point1;
PEXCoord2D point2;
unsigned int col_count;
unsigned int row_count;
PEXTableIndex *color_indices;
} CellArray2D;
struct {
PEXCoord origin;
PEXCoord offset;
unsigned int count;
PEXEncodedTextData *encoded_text;
} EncodedAnnoText;
struct {
PEXCoord2D origin;
PEXCoord2D offset;
unsigned int count;
PEXEncodedTextData *encoded_text;
} EncodedAnnoText2D;
struct {
PEXCoord origin;
PEXVector vector1;
PEXVector vector2;
unsigned int count;
PEXEncodedTextData *encoded_text;
} EncodedText;
struct {
PEXCoord2D origin;
unsigned int count;
PEXEncodedTextData *encoded_text;
} EncodedText2D;
struct {
PEXStructure structure;
} ExecuteStructure;
struct {
PEXCoord point1;
PEXCoord point2;
PEXCoord point3;
unsigned int col_count;
unsigned int row_count;
int color_type;
PEXArrayOfColor colors;
} ExtendedCellArray;
struct {
int shape_hint;
int ignore_edges;
unsigned int count;
PEXCoord *points;
} FillArea;
struct {
int shape_hint;
int ignore_edges;
unsigned int count;
PEXCoord2D *points;
} FillArea2D;
struct {
int shape_hint;
int ignore_edges;
int contour_hint;
unsigned int count;
PEXListOfCoord *point_lists;
} FillAreaSet;
struct {
int shape_hint;
int ignore_edges;
int contour_hint;
unsigned int count;
PEXListOfCoord2D *point_lists;
} FillAreaSet2D;
struct {
int shape_hint;
int ignore_edges;
int contour_hint;
unsigned int facet_attributes;
unsigned int vertex_attributes;
int color_type;
unsigned int count;
PEXFacetData facet_data;
PEXListOfVertex *vertex_lists;
} FillAreaSetWithData;
struct {
int shape_hint;
int ignore_edges;
unsigned int facet_attributes;
unsigned int vertex_attributes;
int color_type;
PEXFacetData facet_data;
unsigned int count;
PEXArrayOfVertex vertices;
} FillAreaWithData;
struct {
long gdp_id;
unsigned int count;
PEXCoord *points;
unsigned long length;
char *data;
} GDP;
struct {
long gdp_id;
unsigned int count;
PEXCoord2D *points;
unsigned long length;
char *data;
} GDP2D;
struct {
long id;
int length;
char *data;
} GSE;
struct {
long label;
} Label;
struct {
unsigned int count;
PEXCoord *points;
} Markers;
struct {
unsigned int count;
PEXCoord2D *points;
} Markers2D;
struct {
int rationality;
int order;
float *knots;
unsigned int count;
PEXArrayOfCoord points;
double tmin;
double tmax;
} NURBCurve;
struct {
int rationality;
int uorder;
int vorder;
float *uknots;
float *vknots;
unsigned int col_count;
unsigned int row_count;
PEXArrayOfCoord points;
unsigned int curve_count;
PEXListOfTrimCurve *trim_curves;
} NURBSurface;
struct {
unsigned int count;
PEXCoord *points;
} Polyline;
struct {
unsigned int count;
PEXCoord2D *points;
} Polyline2D;
struct {
unsigned int vertex_attributes;
int color_type;
unsigned int count;
PEXListOfVertex *vertex_lists;
} PolylineSetWithData;
struct {
int shape_hint;
unsigned int facet_attributes;
unsigned int vertex_attributes;
int color_type;
PEXArrayOfFacetData facet_data;
unsigned int col_count;
unsigned int row_count;
PEXArrayOfVertex vertices;
} QuadrilateralMesh;
struct {
unsigned long count;
PEXName *names;
} RemoveFromNameSet;
struct {
int halignment;
int valignment;
} SetATextAlignment;
struct {
double height;
} SetATextHeight;
struct {
int path;
} SetATextPath;
struct {
int style;
} SetATextStyle;
struct {
PEXVector2D vector;
} SetATextUpVector;
struct {
int style;
} SetBFInteriorStyle;
struct {
int index;
} SetBFInteriorStyleIndex;
struct {
PEXReflectionAttributes attributes;
} SetBFReflectionAttributes;
struct {
int model;
} SetBFReflectionModel;
struct {
int color_type;
PEXColor color;
} SetBFSurfaceColor;
struct {
unsigned int index;
} SetBFSurfaceColorIndex;
struct {
int method;
} SetBFSurfaceInterpMethod;
struct {
double expansion;
} SetCharExpansion;
struct {
double height;
} SetCharHeight;
struct {
double spacing;
} SetCharSpacing;
struct {
PEXVector2D vector;
} SetCharUpVector;
struct {
unsigned int index;
} SetColorApproxIndex;
struct {
int method;
double tolerance;
} SetCurveApprox;
struct {
unsigned int index;
} SetDepthCueIndex;
struct {
unsigned int index;
} SetEdgeBundleIndex;
struct {
int mode;
} SetFacetCullingMode;
struct {
int flag;
} SetFacetDistinguishFlag;
struct {
PEXMatrix transform;
} SetGlobalTransform;
struct {
PEXMatrix3x3 transform;
} SetGlobalTransform2D;
struct {
unsigned long hlhsr_id;
} SetHLHSRID;
struct {
unsigned long attribute;
int asf;
} SetIndividualASF;
struct {
unsigned int index;
} SetInteriorBundleIndex;
struct {
int style;
} SetInteriorStyle;
struct {
int index;
} SetInteriorStyleIndex;
struct {
unsigned int enable_count;
PEXTableIndex *enable;
unsigned int disable_count;
PEXTableIndex *disable;
} SetLightSourceState;
struct {
unsigned int index;
} SetLineBundleIndex;
struct {
int color_type;
PEXColor color;
} SetLineColor;
struct {
unsigned int index;
} SetLineColorIndex;
struct {
int line_type;
} SetLineType;
struct {
double width;
} SetLineWidth;
struct {
int composition;
PEXMatrix transform;
} SetLocalTransform;
struct {
int composition;
PEXMatrix3x3 transform;
} SetLocalTransform2D;
struct {
unsigned int index;
} SetMarkerBundleIndex;
struct {
int color_type;
PEXColor color;
} SetMarkerColor;
struct {
unsigned int index;
} SetMarkerColorIndex;
struct {
double scale;
} SetMarkerScale;
struct {
int marker_type;
} SetMarkerType;
struct {
int flag;
} SetModelClipFlag;
struct {
int op;
unsigned int count;
PEXHalfSpace *half_spaces;
} SetModelClipVolume;
struct {
int op;
unsigned int count;
PEXHalfSpace2D *half_spaces;
} SetModelClipVolume2D;
struct {
int shape_hint;
unsigned int facet_attributes;
unsigned int vertex_attributes;
unsigned int edge_attributes;
int contour_hint;
int contours_all_one;
int color_type;
unsigned int set_count;
PEXArrayOfFacetData facet_data;
unsigned int vertex_count;
PEXArrayOfVertex vertices;
unsigned int index_count;
PEXSwitch *edge_flags;
PEXConnectivityData *connectivity;
} SetOfFillAreaSets;
struct {
int psc_type;
PEXPSCData characteristics;
} SetParaSurfCharacteristics;
struct {
PEXCoord ref_point;
PEXVector vector1;
PEXVector vector2;
} SetPatternAttributes;
struct {
PEXCoord2D ref_point;
} SetPatternAttributes2D;
struct {
double width;
double height;
} SetPatternSize;
struct {
unsigned long pick_id;
} SetPickID;
struct {
int method;
} SetPolylineInterpMethod;
struct {
PEXReflectionAttributes attributes;
} SetReflectionAttributes;
struct {
int model;
} SetReflectionModel;
struct {
int model;
} SetRenderingColorModel;
struct {
int method;
double utolerance;
double vtolerance;
} SetSurfaceApprox;
struct {
int color_type;
PEXColor color;
} SetSurfaceColor;
struct {
unsigned int index;
} SetSurfaceColorIndex;
struct {
int color_type;
PEXColor color;
} SetSurfaceEdgeColor;
struct {
unsigned int index;
} SetSurfaceEdgeColorIndex;
struct {
int flag;
} SetSurfaceEdgeFlag;
struct {
int edge_type;
} SetSurfaceEdgeType;
struct {
double width;
} SetSurfaceEdgeWidth;
struct {
int method;
} SetSurfaceInterpMethod;
struct {
int halignment;
int valignment;
} SetTextAlignment;
struct {
unsigned int index;
} SetTextBundleIndex;
struct {
int color_type;
PEXColor color;
} SetTextColor;
struct {
unsigned int index;
} SetTextColorIndex;
struct {
unsigned int index;
} SetTextFontIndex;
struct {
int path;
} SetTextPath;
struct {
int precision;
} SetTextPrecision;
struct {
unsigned int index;
} SetViewIndex;
struct {
unsigned int facet_attributes;
unsigned int vertex_attributes;
int color_type;
PEXArrayOfFacetData facet_data;
unsigned int count;
PEXArrayOfVertex vertices;
} TriangleStrip;
} data;
} PEXOCData;
#define PEXGetOCAddrMaxSize(_display) \
((_display)->bufmax - (_display)->buffer)
#define PEXXAxis 1
#define PEXYAxis 2
#define PEXZAxis 3
#define PEXBadVector 1
#define PEXBadVectors 2
#define PEXBadLimits 3
#define PEXBadViewport 4
#define PEXBadPlanes 5
#define PEXBadPRP 6
#define PEXBadMatrix 7
#define PEXBadPrimitive 8
#define PEXBadDistance 9
#define PEXBadAxis 10
#define PEXBadHomoCoord 11
#define PEXBadSubVolume 12
_XFUNCPROTOBEGIN
extern void PEXAccumulateState(
#if NeedFunctionPrototypes
Display * ,
PEXRenderer ,
unsigned long ,
PEXElementRef *
#endif
);
extern void PEXAddToNameSet(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned long ,
PEXName *
#endif
);
extern void PEXAnnotationText(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXCoord * ,
PEXCoord * ,
int ,
char *
#endif
);
extern void PEXAnnotationText2D(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXCoord2D * ,
PEXCoord2D * ,
int ,
char *
#endif
);
extern void PEXApplicationData(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
char *
#endif
);
extern void PEXBeginPickAll(
#if NeedFunctionPrototypes
Display * ,
Drawable ,
PEXRenderer ,
long ,
int ,
int ,
int ,
int ,
PEXPickRecord *
#endif
);
extern void PEXBeginPickOne(
#if NeedFunctionPrototypes
Display * ,
Drawable ,
PEXRenderer ,
long ,
int ,
int ,
PEXPickRecord *
#endif
);
extern void PEXBeginRendering(
#if NeedFunctionPrototypes
Display * ,
Drawable ,
PEXRenderer
#endif
);
extern void PEXBeginStructure(
#if NeedFunctionPrototypes
Display * ,
PEXRenderer ,
long
#endif
);
extern void PEXBuildTransform(
#if NeedFunctionPrototypes
PEXCoord * ,
PEXVector * ,
double ,
double ,
double ,
PEXVector * ,
PEXMatrix
#endif
);
extern void PEXBuildTransform2D(
#if NeedFunctionPrototypes
PEXCoord2D * ,
PEXVector2D * ,
double ,
PEXVector2D * ,
PEXMatrix3x3
#endif
);
extern void PEXCellArray(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXCoord * ,
PEXCoord * ,
PEXCoord * ,
unsigned int ,
unsigned int ,
PEXTableIndex *
#endif
);
extern void PEXCellArray2D(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXCoord2D * ,
PEXCoord2D * ,
unsigned int ,
unsigned int ,
PEXTableIndex *
#endif
);
extern void PEXChangeNameSet(
#if NeedFunctionPrototypes
Display * ,
PEXNameSet ,
int ,
unsigned long ,
PEXName *
#endif
);
extern void PEXChangePickDevice(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation ,
int ,
unsigned long ,
PEXPDAttributes *
#endif
);
extern void PEXChangePipelineContext(
#if NeedFunctionPrototypes
Display * ,
PEXPipelineContext ,
unsigned long * ,
PEXPCAttributes *
#endif
);
extern void PEXChangeRenderer(
#if NeedFunctionPrototypes
Display * ,
PEXRenderer ,
unsigned long ,
PEXRendererAttributes *
#endif
);
extern void PEXChangeSearchContext(
#if NeedFunctionPrototypes
Display * ,
PEXSearchContext ,
unsigned long ,
PEXSCAttributes *
#endif
);
extern void PEXChangeStructureRefs(
#if NeedFunctionPrototypes
Display * ,
PEXStructure ,
PEXStructure
#endif
);
extern void PEXCopyBytesToOC(
#if NeedFunctionPrototypes
Display * ,
int ,
char *
#endif
);
extern void PEXCopyElements(
#if NeedFunctionPrototypes
Display * ,
PEXStructure ,
int ,
long ,
int ,
long ,
PEXStructure ,
int ,
long
#endif
);
extern void PEXCopyLookupTable(
#if NeedFunctionPrototypes
Display * ,
PEXLookupTable ,
PEXLookupTable
#endif
);
extern void PEXCopyNameSet(
#if NeedFunctionPrototypes
Display * ,
PEXNameSet ,
PEXNameSet
#endif
);
extern void PEXCopyPipelineContext(
#if NeedFunctionPrototypes
Display * ,
unsigned long * ,
PEXPipelineContext ,
PEXPipelineContext
#endif
);
extern void PEXCopySearchContext(
#if NeedFunctionPrototypes
Display * ,
unsigned long ,
PEXSearchContext ,
PEXSearchContext
#endif
);
extern void PEXCopyStructure(
#if NeedFunctionPrototypes
Display * ,
PEXStructure ,
PEXStructure
#endif
);
extern PEXLookupTable PEXCreateLookupTable(
#if NeedFunctionPrototypes
Display * ,
Drawable ,
int
#endif
);
extern PEXNameSet PEXCreateNameSet(
#if NeedFunctionPrototypes
Display *
#endif
);
extern PEXPickMeasure PEXCreatePickMeasure(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation ,
int
#endif
);
extern PEXPipelineContext PEXCreatePipelineContext(
#if NeedFunctionPrototypes
Display * ,
unsigned long * ,
PEXPCAttributes *
#endif
);
extern PEXRenderer PEXCreateRenderer(
#if NeedFunctionPrototypes
Display * ,
Drawable ,
unsigned long ,
PEXRendererAttributes *
#endif
);
extern PEXSearchContext PEXCreateSearchContext(
#if NeedFunctionPrototypes
Display * ,
unsigned long ,
PEXSCAttributes *
#endif
);
extern PEXStructure PEXCreateStructure(
#if NeedFunctionPrototypes
Display *
#endif
);
extern PEXWorkstation PEXCreateWorkstation(
#if NeedFunctionPrototypes
Display * ,
Drawable ,
PEXLookupTable ,
PEXLookupTable ,
PEXLookupTable ,
PEXLookupTable ,
PEXLookupTable ,
PEXLookupTable ,
PEXLookupTable ,
PEXLookupTable ,
PEXLookupTable ,
PEXLookupTable ,
PEXLookupTable ,
PEXNameSet ,
PEXNameSet ,
PEXNameSet ,
PEXNameSet ,
int
#endif
);
extern PEXOCData *PEXDecodeOCs(
#if NeedFunctionPrototypes
int ,
unsigned long ,
unsigned long ,
char *
#endif
);
extern void PEXDeleteBetweenLabels(
#if NeedFunctionPrototypes
Display * ,
PEXStructure ,
long ,
long
#endif
);
extern void PEXDeleteElements(
#if NeedFunctionPrototypes
Display * ,
PEXStructure ,
int ,
long ,
int ,
long
#endif
);
extern void PEXDeleteTableEntries(
#if NeedFunctionPrototypes
Display * ,
PEXLookupTable ,
unsigned int ,
unsigned int
#endif
);
extern void PEXDeleteToLabel(
#if NeedFunctionPrototypes
Display * ,
PEXStructure ,
int ,
long ,
long
#endif
);
extern void PEXDestroyStructures(
#if NeedFunctionPrototypes
Display * ,
unsigned long ,
PEXStructure *
#endif
);
extern Status PEXElementSearch(
#if NeedFunctionPrototypes
Display * ,
PEXStructure ,
int ,
long ,
int ,
unsigned long ,
unsigned short * ,
unsigned long ,
unsigned short * ,
unsigned long *
#endif
);
extern char *PEXEncodeOCs(
#if NeedFunctionPrototypes
int ,
unsigned long ,
PEXOCData * ,
unsigned long *
#endif
);
extern void PEXEncodedAnnoText(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXCoord * ,
PEXCoord * ,
unsigned int ,
PEXEncodedTextData *
#endif
);
extern void PEXEncodedAnnoText2D(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXCoord2D * ,
PEXCoord2D * ,
unsigned int ,
PEXEncodedTextData *
#endif
);
extern void PEXEncodedText(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXCoord * ,
PEXVector * ,
PEXVector * ,
unsigned int ,
PEXEncodedTextData *
#endif
);
extern void PEXEncodedText2D(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXCoord2D * ,
unsigned int ,
PEXEncodedTextData *
#endif
);
extern PEXPickPath *PEXEndPickAll(
#if NeedFunctionPrototypes
Display * ,
PEXRenderer ,
int * ,
int * ,
unsigned long *
#endif
);
extern PEXPickPath *PEXEndPickOne(
#if NeedFunctionPrototypes
Display * ,
PEXRenderer ,
int * ,
int *
#endif
);
extern void PEXEndRendering(
#if NeedFunctionPrototypes
Display * ,
PEXRenderer ,
int
#endif
);
extern void PEXEndStructure(
#if NeedFunctionPrototypes
Display * ,
PEXRenderer
#endif
);
extern void PEXEscape(
#if NeedFunctionPrototypes
Display * ,
unsigned long ,
int ,
char *
#endif
);
extern char *PEXEscapeWithReply(
#if NeedFunctionPrototypes
Display * ,
unsigned long ,
int ,
char * ,
unsigned long *
#endif
);
extern void PEXExecuteDeferredActions(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation
#endif
);
extern void PEXExecuteStructure(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXStructure
#endif
);
extern void PEXExtendedCellArray(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXCoord * ,
PEXCoord * ,
PEXCoord * ,
unsigned int ,
unsigned int ,
int ,
PEXArrayOfColor
#endif
);
extern Status PEXFetchElements(
#if NeedFunctionPrototypes
Display * ,
PEXStructure ,
int ,
long ,
int ,
long ,
int ,
unsigned long * ,
unsigned long * ,
char **
#endif
);
extern Status PEXFetchElementsAndSend(
#if NeedFunctionPrototypes
Display * ,
PEXStructure ,
int ,
long ,
int ,
long ,
Display * ,
XID ,
PEXOCRequestType
#endif
);
extern void PEXFillArea(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
int ,
unsigned int ,
PEXCoord *
#endif
);
extern void PEXFillArea2D(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
int ,
unsigned int ,
PEXCoord2D *
#endif
);
extern void PEXFillAreaSet(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
int ,
int ,
unsigned int ,
PEXListOfCoord *
#endif
);
extern void PEXFillAreaSet2D(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
int ,
int ,
unsigned int ,
PEXListOfCoord2D *
#endif
);
extern void PEXFillAreaSetWithData(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
int ,
int ,
unsigned int ,
unsigned int ,
int ,
unsigned int ,
PEXFacetData * ,
PEXListOfVertex *
#endif
);
extern void PEXFillAreaWithData(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
int ,
unsigned int ,
unsigned int ,
int ,
PEXFacetData * ,
unsigned int ,
PEXArrayOfVertex
#endif
);
extern void PEXFinishOCs(
#if NeedFunctionPrototypes
Display *
#endif
);
extern void PEXFreeEnumInfo(
#if NeedFunctionPrototypes
unsigned long ,
unsigned long * ,
PEXEnumTypeDesc *
#endif
);
extern void PEXFreeFontInfo(
#if NeedFunctionPrototypes
unsigned long ,
PEXFontInfo *
#endif
);
extern void PEXFreeFontNames(
#if NeedFunctionPrototypes
unsigned long ,
char **
#endif
);
extern void PEXFreeLookupTable(
#if NeedFunctionPrototypes
Display * ,
PEXLookupTable
#endif
);
extern void PEXFreeNameSet(
#if NeedFunctionPrototypes
Display * ,
PEXNameSet
#endif
);
extern void PEXFreeOCData(
#if NeedFunctionPrototypes
unsigned long ,
PEXOCData *
#endif
);
extern void PEXFreePCAttributes(
#if NeedFunctionPrototypes
PEXPCAttributes *
#endif
);
extern void PEXFreePDAttributes(
#if NeedFunctionPrototypes
PEXPDAttributes *
#endif
);
extern void PEXFreePMAttributes(
#if NeedFunctionPrototypes
PEXPMAttributes *
#endif
);
extern void PEXFreePickMeasure(
#if NeedFunctionPrototypes
Display * ,
PEXPickMeasure
#endif
);
extern void PEXFreePickPaths(
#if NeedFunctionPrototypes
unsigned long ,
PEXPickPath *
#endif
);
extern void PEXFreePipelineContext(
#if NeedFunctionPrototypes
Display * ,
PEXPipelineContext
#endif
);
extern void PEXFreeRenderer(
#if NeedFunctionPrototypes
Display * ,
PEXRenderer
#endif
);
extern void PEXFreeRendererAttributes(
#if NeedFunctionPrototypes
PEXRendererAttributes *
#endif
);
extern void PEXFreeSCAttributes(
#if NeedFunctionPrototypes
PEXSCAttributes *
#endif
);
extern void PEXFreeSearchContext(
#if NeedFunctionPrototypes
Display * ,
PEXSearchContext
#endif
);
extern void PEXFreeStructurePaths(
#if NeedFunctionPrototypes
unsigned long ,
PEXStructurePath *
#endif
);
extern void PEXFreeTableEntries(
#if NeedFunctionPrototypes
int ,
unsigned int ,
PEXPointer
#endif
);
extern void PEXFreeWorkstation(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation
#endif
);
extern void PEXFreeWorkstationAttributes(
#if NeedFunctionPrototypes
PEXWorkstationAttributes *
#endif
);
extern void PEXGDP(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
long ,
unsigned int ,
PEXCoord * ,
unsigned long ,
char *
#endif
);
extern void PEXGDP2D(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
long ,
unsigned int ,
PEXCoord2D * ,
unsigned long ,
char *
#endif
);
extern void PEXGSE(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
long ,
int ,
char *
#endif
);
extern int PEXGeoNormFillArea(
#if NeedFunctionPrototypes
unsigned int ,
unsigned int ,
int ,
PEXFacetData * ,
unsigned int ,
PEXArrayOfVertex
#endif
);
extern int PEXGeoNormFillAreaSet(
#if NeedFunctionPrototypes
unsigned int ,
unsigned int ,
int ,
unsigned int ,
PEXFacetData * ,
PEXListOfVertex *
#endif
);
extern int PEXGeoNormQuadrilateralMesh(
#if NeedFunctionPrototypes
unsigned int ,
unsigned int ,
int ,
PEXArrayOfFacetData ,
unsigned int ,
unsigned int ,
PEXArrayOfVertex
#endif
);
extern int PEXGeoNormSetOfFillAreaSets(
#if NeedFunctionPrototypes
unsigned int ,
unsigned int ,
int ,
unsigned int ,
PEXArrayOfFacetData ,
unsigned int ,
PEXArrayOfVertex ,
unsigned int ,
PEXConnectivityData *
#endif
);
extern int PEXGeoNormTriangleStrip(
#if NeedFunctionPrototypes
unsigned int ,
unsigned int ,
int ,
PEXArrayOfFacetData ,
unsigned int ,
PEXArrayOfVertex
#endif
);
extern PEXStructurePath *PEXGetAncestors(
#if NeedFunctionPrototypes
Display * ,
PEXStructure ,
int ,
unsigned long ,
unsigned long *
#endif
);
extern Status PEXGetDefinedIndices(
#if NeedFunctionPrototypes
Display * ,
PEXLookupTable ,
unsigned long * ,
PEXTableIndex **
#endif
);
extern PEXStructurePath *PEXGetDescendants(
#if NeedFunctionPrototypes
Display * ,
PEXStructure ,
int ,
unsigned long ,
unsigned long *
#endif
);
extern Status PEXGetElementInfo(
#if NeedFunctionPrototypes
Display * ,
PEXStructure ,
int ,
long ,
int ,
long ,
int ,
unsigned long * ,
PEXElementInfo **
#endif
);
extern Status PEXGetEnumTypeInfo(
#if NeedFunctionPrototypes
Display * ,
Drawable ,
unsigned long ,
int * ,
unsigned long ,
unsigned long ** ,
PEXEnumTypeDesc **
#endif
);
extern PEXExtensionInfo *PEXGetExtensionInfo(
#if NeedFunctionPrototypes
Display *
#endif
);
extern Status PEXGetImpDepConstants(
#if NeedFunctionPrototypes
Display * ,
Drawable ,
unsigned long ,
unsigned short * ,
PEXImpDepConstant **
#endif
);
extern Status PEXGetNameSet(
#if NeedFunctionPrototypes
Display * ,
PEXNameSet ,
unsigned long * ,
PEXName **
#endif
);
extern char *PEXGetOCAddr(
#if NeedFunctionPrototypes
Display * ,
int
#endif
);
extern PEXPDAttributes *PEXGetPickDevice(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation ,
int ,
unsigned long
#endif
);
extern PEXPMAttributes *PEXGetPickMeasure(
#if NeedFunctionPrototypes
Display * ,
PEXPickMeasure ,
unsigned long
#endif
);
extern PEXPCAttributes *PEXGetPipelineContext(
#if NeedFunctionPrototypes
Display * ,
PEXPipelineContext ,
unsigned long *
#endif
);
extern Status PEXGetPredefinedEntries(
#if NeedFunctionPrototypes
Display * ,
Drawable ,
int ,
unsigned int ,
unsigned int ,
PEXPointer *
#endif
);
extern int PEXGetProtocolFloatFormat(
#if NeedFunctionPrototypes
Display *
#endif
);
extern PEXRendererAttributes *PEXGetRendererAttributes(
#if NeedFunctionPrototypes
Display * ,
PEXRenderer ,
unsigned long
#endif
);
extern Status PEXGetRendererDynamics(
#if NeedFunctionPrototypes
Display * ,
PEXRenderer ,
unsigned long * ,
unsigned long * ,
unsigned long *
#endif
);
extern PEXSCAttributes *PEXGetSearchContext(
#if NeedFunctionPrototypes
Display * ,
PEXSearchContext ,
unsigned long
#endif
);
extern int PEXGetSizeOCs(
#if NeedFunctionPrototypes
int ,
int ,
PEXOCData *
#endif
);
extern Status PEXGetStructureInfo(
#if NeedFunctionPrototypes
Display * ,
PEXStructure ,
int ,
unsigned long ,
PEXStructureInfo *
#endif
);
extern PEXStructure *PEXGetStructuresInNetwork(
#if NeedFunctionPrototypes
Display * ,
PEXStructure ,
int ,
unsigned long *
#endif
);
extern Status PEXGetTableEntries(
#if NeedFunctionPrototypes
Display * ,
PEXLookupTable ,
unsigned int ,
unsigned int ,
int ,
int * ,
PEXPointer *
#endif
);
extern PEXPointer PEXGetTableEntry(
#if NeedFunctionPrototypes
Display * ,
PEXLookupTable ,
unsigned int ,
int ,
int * ,
int *
#endif
);
extern Status PEXGetTableInfo(
#if NeedFunctionPrototypes
Display * ,
Drawable ,
int ,
PEXTableInfo *
#endif
);
extern PEXWorkstationAttributes *PEXGetWorkstationAttributes(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation ,
unsigned long *
#endif
);
extern Status PEXGetWorkstationDynamics(
#if NeedFunctionPrototypes
Display * ,
Drawable ,
PEXWorkstationDynamics *
#endif
);
extern Status PEXGetWorkstationPostings(
#if NeedFunctionPrototypes
Display * ,
PEXStructure ,
unsigned long * ,
PEXWorkstation **
#endif
);
extern Status PEXGetWorkstationViewRep(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation ,
unsigned int ,
int * ,
PEXViewRep * ,
PEXViewRep *
#endif
);
extern void PEXIdentityMatrix(
#if NeedFunctionPrototypes
PEXMatrix
#endif
);
extern void PEXIdentityMatrix2D(
#if NeedFunctionPrototypes
PEXMatrix3x3
#endif
);
extern int PEXInitialize(
#if NeedFunctionPrototypes
Display * ,
PEXExtensionInfo ** ,
int ,
char *
#endif
);
extern int PEXInvertMatrix(
#if NeedFunctionPrototypes
PEXMatrix ,
PEXMatrix
#endif
);
extern int PEXInvertMatrix2D(
#if NeedFunctionPrototypes
PEXMatrix3x3 ,
PEXMatrix3x3
#endif
);
extern void PEXLabel(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
long
#endif
);
extern char **PEXListFonts(
#if NeedFunctionPrototypes
Display * ,
char * ,
unsigned int ,
unsigned long *
#endif
);
extern char **PEXListFontsWithInfo(
#if NeedFunctionPrototypes
Display * ,
char * ,
unsigned int ,
unsigned long * ,
PEXFontInfo **
#endif
);
extern PEXFont PEXLoadFont(
#if NeedFunctionPrototypes
Display * ,
char *
#endif
);
extern int PEXLookAtViewMatrix(
#if NeedFunctionPrototypes
PEXCoord * ,
PEXCoord * ,
PEXVector * ,
PEXMatrix
#endif
);
extern Status PEXMapDCToWC(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation ,
unsigned long ,
PEXDeviceCoord * ,
unsigned int * ,
unsigned long * ,
PEXCoord **
#endif
);
extern Status PEXMapWCToDC(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation ,
unsigned long ,
PEXCoord * ,
unsigned int ,
unsigned long * ,
PEXDeviceCoord **
#endif
);
extern int PEXMapXCToNPC(
#if NeedFunctionPrototypes
int ,
PEXDeviceCoord2D * ,
unsigned int ,
double ,
PEXDeviceCoord * ,
PEXNPCSubVolume * ,
int ,
PEXViewEntry * ,
int * ,
int * ,
PEXCoord *
#endif
);
extern int PEXMapXCToNPC2D(
#if NeedFunctionPrototypes
int ,
PEXDeviceCoord2D * ,
unsigned int ,
PEXDeviceCoord2D * ,
PEXNPCSubVolume * ,
int ,
PEXViewEntry * ,
int * ,
int * ,
PEXCoord2D *
#endif
);
extern void PEXMarkers(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int ,
PEXCoord *
#endif
);
extern void PEXMarkers2D(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int ,
PEXCoord2D *
#endif
);
extern Status PEXMatchRenderingTargets(
#if NeedFunctionPrototypes
Display * ,
Drawable ,
int ,
int ,
Visual * ,
unsigned long ,
unsigned long * ,
PEXRenderingTarget **
#endif
);
extern void PEXMatrixMult(
#if NeedFunctionPrototypes
PEXMatrix ,
PEXMatrix ,
PEXMatrix
#endif
);
extern void PEXMatrixMult2D(
#if NeedFunctionPrototypes
PEXMatrix3x3 ,
PEXMatrix3x3 ,
PEXMatrix3x3
#endif
);
extern int PEXNPCToXCTransform(
#if NeedFunctionPrototypes
PEXNPCSubVolume * ,
PEXDeviceCoord * ,
unsigned int ,
PEXMatrix
#endif
);
extern int PEXNPCToXCTransform2D(
#if NeedFunctionPrototypes
PEXNPCSubVolume * ,
PEXDeviceCoord2D * ,
unsigned int ,
PEXMatrix3x3
#endif
);
extern void PEXNURBCurve(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
int ,
float * ,
unsigned int ,
PEXArrayOfCoord ,
double ,
double
#endif
);
extern void PEXNURBSurface(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
int ,
int ,
float * ,
float * ,
unsigned int ,
unsigned int ,
PEXArrayOfCoord ,
unsigned int ,
PEXListOfTrimCurve *
#endif
);
extern void PEXNoop(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType
#endif
);
extern int PEXNormalizeVectors(
#if NeedFunctionPrototypes
int ,
PEXVector * ,
PEXVector *
#endif
);
extern int PEXNormalizeVectors2D(
#if NeedFunctionPrototypes
int ,
PEXVector2D * ,
PEXVector2D *
#endif
);
extern int PEXOrthoProjMatrix(
#if NeedFunctionPrototypes
double ,
double ,
double ,
double ,
PEXMatrix
#endif
);
extern int PEXPerspProjMatrix(
#if NeedFunctionPrototypes
double ,
double ,
double ,
double ,
double ,
PEXMatrix
#endif
);
extern PEXPickPath *PEXPickAll(
#if NeedFunctionPrototypes
Display * ,
Drawable ,
PEXRenderer ,
int ,
int ,
int ,
PEXPickRecord * ,
int * ,
int * ,
unsigned long *
#endif
);
extern PEXPickPath *PEXPickOne(
#if NeedFunctionPrototypes
Display * ,
Drawable ,
PEXRenderer ,
PEXStructure ,
int ,
int ,
PEXPickRecord * ,
int * ,
int *
#endif
);
extern int PEXPolarViewMatrix(
#if NeedFunctionPrototypes
PEXCoord * ,
double ,
double ,
double ,
double ,
PEXMatrix
#endif
);
extern void PEXPolyline(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int ,
PEXCoord *
#endif
);
extern void PEXPolyline2D(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int ,
PEXCoord2D *
#endif
);
extern void PEXPolylineSetWithData(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int ,
int ,
unsigned int ,
PEXListOfVertex *
#endif
);
extern void PEXPostStructure(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation ,
PEXStructure ,
double
#endif
);
extern void PEXQuadrilateralMesh(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
unsigned int ,
unsigned int ,
int ,
PEXArrayOfFacetData ,
unsigned int ,
unsigned int ,
PEXArrayOfVertex
#endif
);
extern PEXTextExtent *PEXQueryEncodedTextExtents(
#if NeedFunctionPrototypes
Display * ,
XID ,
unsigned int ,
int ,
double ,
double ,
double ,
int ,
int ,
unsigned long ,
PEXListOfEncodedText *
#endif
);
extern PEXFontInfo *PEXQueryFont(
#if NeedFunctionPrototypes
Display * ,
PEXFont
#endif
);
extern PEXTextExtent *PEXQueryTextExtents(
#if NeedFunctionPrototypes
Display * ,
XID ,
unsigned int ,
int ,
double ,
double ,
double ,
int ,
int ,
unsigned long ,
PEXStringData *
#endif
);
extern void PEXRedrawAllStructures(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation
#endif
);
extern void PEXRedrawClipRegion(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation ,
unsigned long ,
PEXDeviceRect *
#endif
);
extern void PEXRemoveFromNameSet(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned long ,
PEXName *
#endif
);
extern void PEXRenderElements(
#if NeedFunctionPrototypes
Display * ,
PEXRenderer ,
PEXStructure ,
int ,
long ,
int ,
long
#endif
);
extern void PEXRenderNetwork(
#if NeedFunctionPrototypes
Display * ,
Drawable ,
PEXRenderer ,
PEXStructure
#endif
);
extern void PEXRestoreModelClipVolume(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType
#endif
);
extern int PEXRotate(
#if NeedFunctionPrototypes
int ,
double ,
PEXMatrix
#endif
);
extern void PEXRotate2D(
#if NeedFunctionPrototypes
double ,
PEXMatrix3x3
#endif
);
extern int PEXRotateGeneral(
#if NeedFunctionPrototypes
PEXCoord * ,
PEXCoord * ,
double ,
PEXMatrix
#endif
);
extern void PEXScale(
#if NeedFunctionPrototypes
PEXVector * ,
PEXMatrix
#endif
);
extern void PEXScale2D(
#if NeedFunctionPrototypes
PEXVector2D * ,
PEXMatrix3x3
#endif
);
extern Status PEXSearchNetwork(
#if NeedFunctionPrototypes
Display * ,
PEXSearchContext ,
PEXStructurePath **
#endif
);
extern void PEXSendOCs(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
unsigned long ,
unsigned int ,
char *
#endif
);
extern void PEXSetATextAlignment(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
int
#endif
);
extern void PEXSetATextHeight(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
double
#endif
);
extern void PEXSetATextPath(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetATextStyle(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetATextUpVector(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXVector2D *
#endif
);
extern void PEXSetBFInteriorStyle(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetBFInteriorStyleIndex(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetBFReflectionAttributes(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXReflectionAttributes *
#endif
);
extern void PEXSetBFReflectionModel(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetBFSurfaceColor(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
PEXColor *
#endif
);
extern void PEXSetBFSurfaceColorIndex(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int
#endif
);
extern void PEXSetBFSurfaceInterpMethod(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetCharExpansion(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
double
#endif
);
extern void PEXSetCharHeight(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
double
#endif
);
extern void PEXSetCharSpacing(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
double
#endif
);
extern void PEXSetCharUpVector(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXVector2D *
#endif
);
extern void PEXSetColorApproxIndex(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int
#endif
);
extern void PEXSetCurveApprox(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
double
#endif
);
extern void PEXSetDepthCueIndex(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int
#endif
);
extern void PEXSetEchoColor(
#if NeedFunctionPrototypes
Display * ,
PEXRenderer ,
int ,
PEXColor *
#endif
);
extern void PEXSetEdgeBundleIndex(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int
#endif
);
extern void PEXSetEditingMode(
#if NeedFunctionPrototypes
Display * ,
PEXStructure ,
int
#endif
);
extern void PEXSetElementPtr(
#if NeedFunctionPrototypes
Display * ,
PEXStructure ,
int ,
long
#endif
);
extern void PEXSetElementPtrAtLabel(
#if NeedFunctionPrototypes
Display * ,
PEXStructure ,
long ,
long
#endif
);
extern void PEXSetFacetCullingMode(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetFacetDistinguishFlag(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetGlobalTransform(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXMatrix
#endif
);
extern void PEXSetGlobalTransform2D(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXMatrix3x3
#endif
);
extern void PEXSetHLHSRID(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned long
#endif
);
extern void PEXSetIndividualASF(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned long ,
int
#endif
);
extern void PEXSetInteriorBundleIndex(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int
#endif
);
extern void PEXSetInteriorStyle(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetInteriorStyleIndex(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetLightSourceState(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int ,
PEXTableIndex * ,
unsigned int ,
PEXTableIndex *
#endif
);
extern void PEXSetLineBundleIndex(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int
#endif
);
extern void PEXSetLineColor(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
PEXColor *
#endif
);
extern void PEXSetLineColorIndex(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int
#endif
);
extern void PEXSetLineType(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetLineWidth(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
double
#endif
);
extern void PEXSetLocalTransform(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
PEXMatrix
#endif
);
extern void PEXSetLocalTransform2D(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
PEXMatrix3x3
#endif
);
extern void PEXSetMarkerBundleIndex(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int
#endif
);
extern void PEXSetMarkerColor(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
PEXColor *
#endif
);
extern void PEXSetMarkerColorIndex(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int
#endif
);
extern void PEXSetMarkerScale(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
double
#endif
);
extern void PEXSetMarkerType(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetModelClipFlag(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetModelClipVolume(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
unsigned int ,
PEXHalfSpace *
#endif
);
extern void PEXSetModelClipVolume2D(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
unsigned int ,
PEXHalfSpace2D *
#endif
);
extern void PEXSetOfFillAreaSets(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
unsigned int ,
unsigned int ,
unsigned int ,
int ,
int ,
int ,
unsigned int ,
PEXArrayOfFacetData ,
unsigned int ,
PEXArrayOfVertex ,
unsigned int ,
PEXSwitch * ,
PEXConnectivityData *
#endif
);
extern void PEXSetParaSurfCharacteristics(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
PEXPSCData *
#endif
);
extern void PEXSetPatternAttributes(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXCoord * ,
PEXVector * ,
PEXVector *
#endif
);
extern void PEXSetPatternAttributes2D(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXCoord2D *
#endif
);
extern void PEXSetPatternSize(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
double ,
double
#endif
);
extern void PEXSetPickID(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned long
#endif
);
extern void PEXSetPolylineInterpMethod(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetReflectionAttributes(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXReflectionAttributes *
#endif
);
extern void PEXSetReflectionModel(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetRenderingColorModel(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetSurfaceApprox(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
double ,
double
#endif
);
extern void PEXSetSurfaceColor(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
PEXColor *
#endif
);
extern void PEXSetSurfaceColorIndex(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int
#endif
);
extern void PEXSetSurfaceEdgeColor(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
PEXColor *
#endif
);
extern void PEXSetSurfaceEdgeColorIndex(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int
#endif
);
extern void PEXSetSurfaceEdgeFlag(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetSurfaceEdgeType(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetSurfaceEdgeWidth(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
double
#endif
);
extern void PEXSetSurfaceInterpMethod(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetTableEntries(
#if NeedFunctionPrototypes
Display * ,
PEXLookupTable ,
unsigned int ,
unsigned int ,
int ,
PEXPointer
#endif
);
extern void PEXSetTextAlignment(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
int
#endif
);
extern void PEXSetTextBundleIndex(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int
#endif
);
extern void PEXSetTextColor(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
PEXColor *
#endif
);
extern void PEXSetTextColorIndex(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int
#endif
);
extern void PEXSetTextFontIndex(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int
#endif
);
extern void PEXSetTextPath(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetTextPrecision(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int
#endif
);
extern void PEXSetViewIndex(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int
#endif
);
extern void PEXSetWorkstationBufferMode(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation ,
int
#endif
);
extern void PEXSetWorkstationDisplayUpdateMode(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation ,
int
#endif
);
extern void PEXSetWorkstationHLHSRMode(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation ,
int
#endif
);
extern void PEXSetWorkstationViewPriority(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation ,
unsigned int ,
unsigned int ,
int
#endif
);
extern void PEXSetWorkstationViewRep(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation ,
unsigned int ,
PEXViewEntry *
#endif
);
extern void PEXSetWorkstationViewport(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation ,
PEXViewport *
#endif
);
extern void PEXSetWorkstationWindow(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation ,
PEXNPCSubVolume *
#endif
);
extern Status PEXStartOCs(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
int ,
int ,
int
#endif
);
extern void PEXText(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXCoord * ,
PEXVector * ,
PEXVector * ,
int ,
char *
#endif
);
extern void PEXText2D(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
PEXCoord2D * ,
int ,
char *
#endif
);
extern int PEXTransformPoints(
#if NeedFunctionPrototypes
PEXMatrix ,
int ,
PEXCoord * ,
PEXCoord *
#endif
);
extern int PEXTransformPoints2D(
#if NeedFunctionPrototypes
PEXMatrix3x3 ,
int ,
PEXCoord2D * ,
PEXCoord2D *
#endif
);
extern void PEXTransformPoints2DH(
#if NeedFunctionPrototypes
PEXMatrix3x3 ,
int ,
PEXCoord * ,
PEXCoord *
#endif
);
extern void PEXTransformPoints4D(
#if NeedFunctionPrototypes
PEXMatrix ,
int ,
PEXCoord4D * ,
PEXCoord4D *
#endif
);
extern void PEXTransformVectors(
#if NeedFunctionPrototypes
PEXMatrix ,
int ,
PEXVector * ,
PEXVector *
#endif
);
extern void PEXTransformVectors2D(
#if NeedFunctionPrototypes
PEXMatrix3x3 ,
int ,
PEXVector2D * ,
PEXVector2D *
#endif
);
extern void PEXTranslate(
#if NeedFunctionPrototypes
PEXVector * ,
PEXMatrix
#endif
);
extern void PEXTranslate2D(
#if NeedFunctionPrototypes
PEXVector2D * ,
PEXMatrix3x3
#endif
);
extern void PEXTriangleStrip(
#if NeedFunctionPrototypes
Display * ,
XID ,
PEXOCRequestType ,
unsigned int ,
unsigned int ,
int ,
PEXArrayOfFacetData ,
unsigned int ,
PEXArrayOfVertex
#endif
);
extern void PEXUnloadFont(
#if NeedFunctionPrototypes
Display * ,
PEXFont
#endif
);
extern void PEXUnpostAllStructures(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation
#endif
);
extern void PEXUnpostStructure(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation ,
PEXStructure
#endif
);
extern void PEXUpdatePickMeasure(
#if NeedFunctionPrototypes
Display * ,
PEXPickMeasure ,
int ,
PEXPickRecord *
#endif
);
extern void PEXUpdateWorkstation(
#if NeedFunctionPrototypes
Display * ,
PEXWorkstation
#endif
);
extern int PEXViewMappingMatrix(
#if NeedFunctionPrototypes
PEXCoord2D * ,
PEXNPCSubVolume * ,
int ,
PEXCoord * ,
double ,
double ,
double ,
PEXMatrix
#endif
);
extern int PEXViewMappingMatrix2D(
#if NeedFunctionPrototypes
PEXCoord2D * ,
PEXCoord2D * ,
PEXMatrix3x3
#endif
);
extern int PEXViewOrientationMatrix(
#if NeedFunctionPrototypes
PEXCoord * ,
PEXVector * ,
PEXVector * ,
PEXMatrix
#endif
);
extern int PEXViewOrientationMatrix2D(
#if NeedFunctionPrototypes
PEXCoord2D * ,
PEXVector2D * ,
PEXMatrix3x3
#endif
);
extern int PEXXCToNPCTransform(
#if NeedFunctionPrototypes
PEXNPCSubVolume * ,
PEXDeviceCoord * ,
unsigned int ,
PEXMatrix
#endif
);
extern int PEXXCToNPCTransform2D(
#if NeedFunctionPrototypes
PEXNPCSubVolume * ,
PEXDeviceCoord2D * ,
unsigned int ,
PEXMatrix3x3
#endif
);
extern unsigned long PEXCountOCs(
#if NeedFunctionPrototypes
int ,
unsigned long ,
char *
#endif
);
_XFUNCPROTOEND
#endif