00001 /* 00002 * Copyright (c) 1998 by Tech Soft 3D, LLC. 00003 * The information contained herein is confidential and proprietary to 00004 * Tech Soft 3D, LLC., and considered a trade secret as defined under 00005 * civil and criminal statutes. Tech Soft 3D shall pursue its civil 00006 * and criminal remedies in the event of unauthorized use or misappropriation 00007 * of its trade secrets. Use of this information by anyone other than 00008 * authorized employees of Tech Soft 3D, LLC. is granted only under a 00009 * written non-disclosure agreement, expressly prescribing the scope and 00010 * manner of such use. 00011 * 00012 * $Id: hd__proto_8h-source.html,v 1.29 2008-03-10 07:09:28 stage Exp $ 00013 * 00014 * This file generated on Wed Jun 28 14:51:42 US/Pacific 2000 by covey 00015 */ 00016 00017 #ifndef HD_PROTO_DEFINED 00018 00019 00020 #ifndef DRIVER_DEFINED 00021 #include "driver.h" 00022 #endif 00023 00024 00025 EXTERNAL bool HC_CDECL HD_3rdParty_Driver (HT_Driver alter *actor, int request); 00026 EXTERNAL int HC_CDECL HD_Acquire_Clip_Points (HT_Net_Rendition const *nr, 00027 HT_Bounding const *bbox, 00028 int count, 00029 HT_Point const *object_points, 00030 HT_DC_Point alter *clip_points, 00031 float alter *ws, 00032 unsigned char alter *clip_case); 00033 EXTERNAL void HC_CDECL HD_Acquire_World_Vertex_Planes (HT_Net_Rendition const *nr, HT_Polyhedron_Status alter *status); 00034 EXTERNAL int HC_CDECL HD_All_In_Back_Of_Plane (HT_Hidden alter *p0, HT_Hidden alter *p1); 00035 EXTERNAL void HC_CDECL HD_Allow_For_Border (HT_Display_Context alter *dc, 00036 int delta_left, 00037 int delta_right, 00038 int delta_bottom, 00039 int delta_top); 00040 EXTERNAL bool HC_CDECL HD_Artcore_Renderer (HT_Net_Rendition const *nr, struct ht_renderer_actions *renderer); 00041 EXTERNAL bool HC_CDECL HD_Box_Outside_Cutting_Planes (HT_Transform_Rendition const *tr, 00042 float x, 00043 float y, 00044 float z, 00045 int width, 00046 int depth); 00047 EXTERNAL bool HC_CDECL HD_Box_Within_Cutting_Planes (HT_Transform_Rendition const *tr, 00048 float x, 00049 float y, 00050 float z, 00051 int width, 00052 int depth); 00053 EXTERNAL void HC_CDECL HD_Buffer_DC_Polydot_C08_Z00 (HT_Net_Rendition const *nr, int count, HT_DC_Point const *ipoint); 00054 EXTERNAL void HC_CDECL HD_Buffer_DC_Polydot_C08_Z16 (HT_Net_Rendition const *nr, int count, HT_DC_Point const *ipoint); 00055 EXTERNAL void HC_CDECL HD_Buffer_DC_Polydot_C24_Z00 (HT_Net_Rendition const *nr, int count, HT_DC_Point const *ipoint); 00056 EXTERNAL void HC_CDECL HD_Buffer_DC_Polydot_C24_Z16 (HT_Net_Rendition const *nr, int count, HT_DC_Point const *ipoint); 00057 EXTERNAL void HC_CDECL HD_Buffer_DC_Polyline_C08_Z00_C (HT_Net_Rendition const *nr, int count, 00058 HT_DC_Point const *points, 00059 HT_RGBAS32 const *colors, 00060 bool single); 00061 EXTERNAL void HC_CDECL HD_Buffer_DC_Polyline_C08_Z00_G (HT_Net_Rendition const *nr, int count, 00062 HT_DC_Point const *points, 00063 HT_RGBAS32 const *colors); 00064 EXTERNAL void HC_CDECL HD_Buffer_DC_Polyline_C08_Z00_U (HT_Net_Rendition const *nr, int count, HT_DC_Point const *points); 00065 EXTERNAL void HC_CDECL HD_Buffer_DC_Polyline_C08_Z16_C (HT_Net_Rendition const *nr, int count, 00066 HT_DC_Point const *points, 00067 HT_RGBAS32 const *color, 00068 bool single); 00069 EXTERNAL void HC_CDECL HD_Buffer_DC_Polyline_C08_Z16_G (HT_Net_Rendition const *nr, int count, 00070 HT_DC_Point const *points, 00071 HT_RGBAS32 const *colors); 00072 EXTERNAL void HC_CDECL HD_Buffer_DC_Polyline_C08_Z16_U (HT_Net_Rendition const *nr, int count, HT_DC_Point const *points); 00073 EXTERNAL void HC_CDECL HD_Buffer_DC_Polyline_C24_Z00_C (HT_Net_Rendition const *nr, int count, 00074 HT_DC_Point const *points, 00075 HT_RGBAS32 const *colors, 00076 bool single); 00077 EXTERNAL void HC_CDECL HD_Buffer_DC_Polyline_C24_Z00_G (HT_Net_Rendition const *nr, int count, 00078 HT_DC_Point const *points, 00079 HT_RGBAS32 const *colors); 00080 EXTERNAL void HC_CDECL HD_Buffer_DC_Polyline_C24_Z00_U (HT_Net_Rendition const *nr, int count, HT_DC_Point const *points); 00081 EXTERNAL void HC_CDECL HD_Buffer_DC_Polyline_C24_Z16_C (HT_Net_Rendition const *nr, int count, 00082 HT_DC_Point const *points, 00083 HT_RGBAS32 const *colors, 00084 bool single); 00085 EXTERNAL void HC_CDECL HD_Buffer_DC_Polyline_C24_Z16_G (HT_Net_Rendition const *nr, int count, 00086 HT_DC_Point const *points, 00087 HT_RGBAS32 const *colors); 00088 EXTERNAL void HC_CDECL HD_Buffer_DC_Polyline_C24_Z16_U (HT_Net_Rendition const *nr, int count, HT_DC_Point const *points); 00089 EXTERNAL void HC_CDECL HD_Buffer_DC_Raster_C08_Z00 (HT_Net_Rendition const *nr, 00090 HT_DC_Point const *istart, 00091 HT_DC_Point const *iend, 00092 int row_bytes, 00093 unsigned char const *raster); 00094 EXTERNAL void HC_CDECL HD_Buffer_DC_Raster_C08_Z16 (HT_Net_Rendition const *nr, 00095 HT_DC_Point const *istart, 00096 HT_DC_Point const *iend, 00097 int row_bytes, 00098 unsigned char const *raster); 00099 EXTERNAL void HC_CDECL HD_Buffer_DC_Raster_C24_Z00 (HT_Net_Rendition const *nr, 00100 HT_DC_Point const *istart, 00101 HT_DC_Point const *iend, 00102 int row_bytes, 00103 HT_RGBAS32 const *raster); 00104 EXTERNAL void HC_CDECL HD_Buffer_DC_Raster_C24_Z16 (HT_Net_Rendition const *nr, 00105 HT_DC_Point const *istart, 00106 HT_DC_Point const *iend, 00107 int row_bytes, 00108 HT_RGBAS32 const *raster); 00109 EXTERNAL void HC_CDECL HD_Buffer_DC_Raster_C32_Z00 (HT_Net_Rendition const *nr, 00110 HT_DC_Point const *istart, 00111 HT_DC_Point const *iend, 00112 int row_bytes, 00113 HT_RGBAS32 const *raster); 00114 EXTERNAL void HC_CDECL HD_Buffer_DC_Raster_C32_Z16 (HT_Net_Rendition const *nr, 00115 HT_DC_Point const *istart, 00116 HT_DC_Point const *iend, 00117 int row_bytes, 00118 HT_RGBAS32 const *raster); 00119 EXTERNAL void HC_CDECL HD_Buffer_DC_Rectangle_C08 (HT_Net_Rendition const *nr, int left, int right, int bottom, int top); 00120 EXTERNAL void HC_CDECL HD_Buffer_DC_Rectangle_C24 (HT_Net_Rendition const *nr, int left, int right, int bottom, int top); 00121 EXTERNAL void HC_CDECL HD_Buffer_DC_Polytris_C08_Z00_C (HT_Net_Rendition const *nr, int count, 00122 HT_DC_Point const *points, 00123 HT_RGBAS32 const *colors, 00124 bool single); 00125 EXTERNAL void HC_CDECL HD_Buffer_DC_Polytris_C08_Z00_G (HT_Net_Rendition const *nr, int count, 00126 HT_DC_Point const *points, 00127 HT_RGBAS32 const *colors); 00128 EXTERNAL void HC_CDECL HD_Buffer_DC_Polytris_C08_Z00_U (HT_Net_Rendition const *nr, int count, HT_DC_Point const *points); 00129 EXTERNAL void HC_CDECL HD_Buffer_DC_Polytris_C08_Z16_C (HT_Net_Rendition const *nr, int count, 00130 HT_DC_Point const *points, 00131 HT_RGBAS32 const *colors, 00132 bool single); 00133 EXTERNAL void HC_CDECL HD_Buffer_DC_Polytris_C08_Z16_G (HT_Net_Rendition const *nr, int count, 00134 HT_DC_Point const *points, 00135 HT_RGBAS32 const *colors); 00136 EXTERNAL void HC_CDECL HD_Buffer_DC_Polytris_C08_Z16_U (HT_Net_Rendition const *nr, int count, HT_DC_Point const *points); 00137 EXTERNAL void HC_CDECL HD_Buffer_DC_Polytris_C24_Z00_C (HT_Net_Rendition const *nr, int count, 00138 HT_DC_Point const *points, 00139 HT_RGBAS32 const *colors, 00140 bool single); 00141 EXTERNAL void HC_CDECL HD_Buffer_DC_Polytris_C24_Z00_G (HT_Net_Rendition const *nr, int count, 00142 HT_DC_Point const *points, 00143 HT_RGBAS32 const *colors); 00144 EXTERNAL void HC_CDECL HD_Buffer_DC_Polytris_C24_Z00_U (HT_Net_Rendition const *nr, int count, HT_DC_Point const *points); 00145 EXTERNAL void HC_CDECL HD_Buffer_DC_Polytris_C24_Z16_C (HT_Net_Rendition const *nr, int count, 00146 HT_DC_Point const *points, 00147 HT_RGBAS32 const *colors, 00148 bool single); 00149 EXTERNAL void HC_CDECL HD_Buffer_DC_Polytris_C24_Z16_G (HT_Net_Rendition const *nr, int count, 00150 HT_DC_Point const *points, 00151 HT_RGBAS32 const *colors); 00152 EXTERNAL void HC_CDECL HD_Buffer_DC_Polytris_C24_Z16_U (HT_Net_Rendition const *nr, int count, HT_DC_Point const *points); 00153 EXTERNAL char alter * HC_CDECL HD_Build_Special_Event_String (char alter *string, 00154 char const *brand, 00155 HT_Segment const *actor, 00156 POINTER_SIZED_INT window, 00157 int event_type); 00158 EXTERNAL bool HC_CDECL HD_CGM_Driver (HT_Driver alter *actor, int request); 00159 EXTERNAL bool HC_CDECL HD_CGM3_Driver (HT_Driver alter *actor, int request); 00160 EXTERNAL void HC_CDECL HD_Calculate_Outer_Window (HT_Net_Rendition alter *nr); 00161 EXTERNAL bool HC_CDECL HD_Calc_Image_Position_And_Size(HT_Net_Rendition const *nr, 00162 HT_Image const *image, int *width, int *height, float *out_fx, float *out_fy, float *out_fz); 00163 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Check_Polygon_Include (HT_Net_Rendition const *nr); 00164 EXTERNAL void HC_CDECL HD_Check_Soft_Clip (HT_Net_Rendition const *nr, HT_Segment const *start); 00165 EXTERNAL void HC_CDECL HD_Choose_Font (HT_Net_Rendition const *nr, 00166 HT_Font_Name const *possible_names, 00167 char encoding, 00168 bool complain); 00169 EXTERNAL void HC_CDECL HD_Clear_Software_Z_Buffer (HT_Net_Rendition const *nr); 00170 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Compute_Full_Hard_Clip (HT_Net_Rendition alter *nr, 00171 HT_Rectangle const *new_scope); 00172 EXTERNAL void HC_CDECL HD_Clip_DC_Face ( 00173 HT_Net_Rendition const *nr, 00174 int count, 00175 HT_DC_Point const * points, 00176 HT_RGBAS32 const *color, 00177 int flags); 00178 EXTERNAL void HC_CDECL HD_Clip_DC_Polydot ( 00179 HT_Net_Rendition const *nr, 00180 int count, 00181 HT_DC_Point const * points, 00182 HT_RGBAS32 const *rgb32_colors, 00183 int flags); 00184 EXTERNAL void HC_CDECL HD_Clip_DC_Polyline ( 00185 HT_Net_Rendition const *nr, 00186 int count, 00187 HT_DC_Point const * points, 00188 HT_RGBAS32 const *rgb32_colors, 00189 HT_RGBA const *rgba_colors, 00190 HT_Plane const * planes, 00191 HT_Parameter const *vertex_params, 00192 int param_width, 00193 HT_Parameter_Flags param_flags, 00194 int flags); 00195 EXTERNAL void HC_CDECL HD_Clip_DC_Polytriangle ( 00196 HT_Net_Rendition const *nr, 00197 int count, 00198 HT_DC_Point const * points, 00199 HT_RGBAS32 const *rgb32_colors, 00200 HT_RGBA const *rgba_colors, 00201 HT_Plane const * planes, 00202 HT_Parameter const *vertex_params, 00203 int param_width, 00204 HT_Parameter_Flags param_flags, 00205 int flags); 00206 EXTERNAL void HC_CDECL HD_Clip_Poly ( 00207 HT_Clip_Rectangle const * clip_rec, 00208 int n_in, 00209 HT_DC_Point const * in_points, 00210 int alter * n_out, 00211 HT_DC_Point alter * out_points, 00212 bool close); 00213 EXTERNAL void HC_CDECL HD_Compute_One_World_Plane (HT_Matrix const *nmm, 00214 HT_Vector const *normal, 00215 HT_Point const *point, 00216 HT_Plane alter *plane); 00217 EXTERNAL void HC_CDECL HD_Compute_Screen_Plane_Facings (HT_Net_Rendition const *nr, 00218 int count, HT_Plane const *planes, bool object_space, int alter *directions); 00219 EXTERNAL void HC_CDECL HD_Compute_Screen_Transform (HT_Net_Rendition const *nr, 00220 HT_Point alter *scale, 00221 HT_Point alter *translate); 00222 EXTERNAL int HC_CDECL HD_Compute_Trimmed_Clip_Points (HT_Transform_Rendition const *tr, 00223 int count, 00224 HT_DC_Point const *dc_points, float const *ws, unsigned char alter *clip_case); 00225 EXTERNAL void HC_CDECL HD_Compute_World_Edge_Planes (HT_Net_Rendition const *nr, 00226 HT_Polyhedron const *polyhedron, 00227 HT_Plane alter *planes); 00228 EXTERNAL void HC_CDECL HD_Compute_World_Face_Planes (HT_Net_Rendition const *nr, 00229 HT_Polyhedron const *polyhedron, 00230 HT_Plane alter *planes); 00231 EXTERNAL void HC_CDECL HD_Compute_World_Vertex_Planes (HT_Net_Rendition const *nr, 00232 int count, 00233 HT_Point const *points, 00234 HT_Vector const *normals, 00235 HT_Plane alter *planes); 00236 EXTERNAL bool HC_CDECL HD_Connect_Standard_Driver (HT_Driver alter *actor, 00237 int request, 00238 void (*action_getter) (HT_Action_Table alter *at)); 00239 EXTERNAL HT_Polyhedron_Status alter * HC_CDECL HD_Construct_Polyhedron_Status ( 00240 HT_Polyhedron const * polyhedron); 00241 EXTERNAL HT_Action_Rendition alter * HC_CDECL HD_Copy_Action_Rendition (HT_Action_Rendition const *ar, 00242 HT_Net_Rendition const *nr); 00243 EXTERNAL HT_Color_Map_Rendition alter * HC_CDECL HD_Copy_Color_Map_Rendition (HT_Color_Map_Rendition const *cmr, 00244 HT_Net_Rendition const *nr); 00245 EXTERNAL HT_Cutting_Plane_Rendition alter * HC_CDECL HD_Copy_Cutting_Plane_Rendition (HT_Cutting_Plane_Rendition const *oldcpr, 00246 HT_Net_Rendition const *nr); 00247 EXTERNAL HT_Display_Rendition alter * HC_CDECL HD_Copy_Display_Rendition (HT_Display_Rendition const *dr, HT_Net_Rendition const *nr); 00248 EXTERNAL HT_Face_Rendition alter * HC_CDECL HD_Copy_Face_Rendition (HT_Face_Rendition const *fr, HT_Net_Rendition const *nr); 00249 EXTERNAL HT_Hidden alter * HC_CDECL HD_Copy_Hidden_Item (HT_Hidden alter *old_item); 00250 EXTERNAL HT_Line_Rendition alter * HC_CDECL HD_Copy_Line_Rendition (HT_Line_Rendition const *lr, HT_Net_Rendition const *nr); 00251 EXTERNAL HT_Marker_Rendition alter * HC_CDECL HD_Copy_Marker_Rendition (HT_Marker_Rendition const *kr, 00252 HT_Net_Rendition const *nr); 00253 EXTERNAL HT_Material_Rendition alter * HC_CDECL HD_Copy_Material_Rendition (HT_Material_Rendition const *mr, 00254 HT_Net_Rendition const *nr); 00255 EXTERNAL HT_Misc_Rendition alter * HC_CDECL HD_Copy_Misc_Rendition (HT_Misc_Rendition const *mr, HT_Net_Rendition const *nr); 00256 EXTERNAL HT_Texture_Rendition alter * HC_CDECL HD_Copy_Texture_Rendition (HT_Texture_Rendition const *mr, HT_Net_Rendition const *nr); 00257 EXTERNAL HT_Line_Style_Rendition alter * HC_CDECL HD_Copy_Line_Style_Rendition (HT_Line_Style_Rendition const *mr, HT_Net_Rendition const *nr); 00258 EXTERNAL HT_Geometry_Rendition alter * HC_CDECL HD_Copy_Geometry_Rendition (HT_Geometry_Rendition const *gr, HT_Net_Rendition const *nr); 00259 EXTERNAL HT_Glyph_Rendition alter * HC_CDECL HD_Copy_Glyph_Rendition (HT_Glyph_Rendition const *mr, HT_Net_Rendition const *nr); 00260 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Copy_Net_Rendition (HT_Net_Rendition const *nr); 00261 EXTERNAL HT_Text_Rendition alter * HC_CDECL HD_Copy_Text_Rendition (HT_Text_Rendition const *xr, HT_Net_Rendition const *nr); 00262 EXTERNAL HT_Transform_Rendition alter * HC_CDECL HD_Copy_Transform_Rendition (HT_Transform_Rendition const *tr, 00263 HT_Net_Rendition const *nr); 00264 EXTERNAL HT_User_Rendition alter * HC_CDECL HD_Copy_User_Rendition (HT_User_Rendition const *ur, HT_Net_Rendition const *nr); 00265 EXTERNAL HT_Visualization_Rendition alter * HC_CDECL HD_Copy_Visualization_Rendition (HT_Visualization_Rendition const *vr, 00266 HT_Net_Rendition const *nr); 00267 EXTERNAL HT_Window_Rendition alter * HC_CDECL HD_Copy_Window_Rendition (HT_Window_Rendition const *wr, 00268 HT_Net_Rendition const *nr); 00269 EXTERNAL HT_Cutting_Plane_Instance* HD_Create_Hard_Clip_Cuts(HT_Clip_Rectangle const *clip_rec, HT_Matrix const *mat, int bias); 00270 EXTERNAL void HC_CDECL HD_Create_Generic_Driver (char const *name, 00271 bool (HC_CDECL * address) (HT_Driver alter *driver, 00272 int request)); 00273 EXTERNAL int HC_CDECL HD_Cut_Hidden_By_Plane (HT_Hidden alter *old_poly, HT_Plane alter *plane, bool suppress_slivers); 00274 EXTERNAL HT_Line_Style * HD_Define_Line_Style_Legacy(HT_Net_Rendition const *nr, void * pointer, int value1, int value2, bool short_data); 00275 EXTERNAL void HC_CDECL HD_Defer_Tree (HT_Net_Rendition const *nr, HT_Subsegment const *subseg); 00276 EXTERNAL void HC_CDECL HD_Defer_Tree_Batch (HT_Net_Rendition const *nr, HT_Subsegment const *subseg, int batchnum); 00277 EXTERNAL void HC_CDECL HD_Destruct_Polyhedron_Status (HT_Polyhedron_Status alter * status); 00278 EXTERNAL int HC_CDECL HD_Determine_Elliptical_Res (HT_Net_Rendition const *nr, HT_Generic_Arc const *curve); 00279 EXTERNAL void HC_CDECL HD_Determine_Fixed_Colors (HT_Display_Context const *dc, int start, int alter *fixed, int alter *parts); 00280 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Downwind_Camera (HT_Net_Rendition const *nr, HT_Attribute const *attribute); 00281 EXTERNAL HT_Material_Rendition alter * HC_CDECL HD_Downwind_Named_Material (HT_Net_Rendition const *nr, HT_Material_Rendition const *mat, HT_Named_Material const * newmat); 00282 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Downwind_Color (HT_Net_Rendition const *nr, 00283 HT_Attribute const *att, 00284 HT_Attribute_Lock const * lock); 00285 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Downwind_Color_Map (HT_Net_Rendition const *nr, HT_Attribute const *attribute); 00286 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Downwind_Handedness (HT_Net_Rendition const *nr, HT_Attribute const *attribute); 00287 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Downwind_Rendition (HT_Net_Rendition const *nr, HT_Attribute const *att, bool follow_list); 00288 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Downwind_Text_Font (HT_Net_Rendition const *nr, HT_Text_Font const *font); 00289 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Downwind_Window (HT_Net_Rendition const *nr, HT_Attribute const *attribute); 00290 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Downwind_Window_Frame (HT_Net_Rendition const *nr, HT_Attribute const *attribute); 00291 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Downwind_Modelling_Matrix ( 00292 HT_Net_Rendition const *nr, 00293 HT_Attribute const *attribute); 00294 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Append_Modelling_Matrix ( 00295 HT_Net_Rendition const *nr, 00296 HT_Matrix const *matrix); 00297 EXTERNAL void HC_CDECL HD_Draw_Defined_Font (HT_Net_Rendition const *in_nr, 00298 HT_Font_Instance const *specific, 00299 HT_Point const *where, 00300 int count, 00301 unsigned short const *string, 00302 HT_Vector const *scale); 00303 EXTERNAL void HC_CDECL HD_Draw_Clipped_DC_Image (HT_Net_Rendition const *nr, 00304 HT_DC_Point const *start, 00305 HT_DC_Point const *end, 00306 int hoffset, 00307 char format, 00308 int row_bytes, 00309 void const * const *rasters, 00310 int pattern, 00311 HT_Driver_Color const *contrast_color, 00312 HT_Image const *db_image); 00313 EXTERNAL void HC_CDECL HD_Draw_Deferred_Trees (HT_Display_Context alter *dc); 00314 EXTERNAL void HC_CDECL HD_Draw_Freetype_Font (HT_Net_Rendition const *nr, 00315 HT_Font_Instance const *specific, 00316 HT_Point const *where, 00317 int count, 00318 unsigned short const *string, 00319 HT_Vector const *scale); 00320 EXTERNAL void HC_CDECL HD_Draw_Glyphs ( 00321 HT_Net_Rendition const *in_nr, 00322 HT_Glyph const **glyphs, 00323 int count, 00324 HT_DC_Point const *points, 00325 HT_RGBAS32 const *colors, 00326 bool single_color, 00327 float const *rotations, 00328 float const *size_fixups); 00329 EXTERNAL void HC_CDECL HD_Draw_Hidden_Item (HT_Hidden alter *hidden, bool whole_list); 00330 EXTERNAL void HC_CDECL HD_Draw_Indexicated_3D_Polyedge (HT_Net_Rendition const *inr, HT_Polyedge const *ipe); 00331 EXTERNAL void HC_CDECL HD_Draw_Indexicated_3D_Tristrip (HT_Net_Rendition const *inr, HT_Tristrip const *its); 00332 EXTERNAL void HC_CDECL HD_Draw_Lighted_Face (HT_Net_Rendition const *nr, 00333 int count, 00334 HT_DC_Point const *dcp, 00335 HT_Geometry const *geometry); 00336 EXTERNAL void HC_CDECL HD_Draw_Lighted_Polygon (HT_Net_Rendition const *nr, 00337 int count, 00338 HT_DC_Point const *dcp, 00339 HT_Geometry const *geometry); 00340 EXTERNAL void HC_CDECL HD_Draw_Overlay_Tree (HT_Net_Rendition const *inr, 00341 HT_Subsegment const *start, 00342 HT_Draw_Tree_Action action); 00343 EXTERNAL void HC_CDECL HD_Draw_Partial_Erase_Tree (HT_Net_Rendition const *inr, HT_Subsegment const *start, bool force); 00344 EXTERNAL void HC_CDECL HD_Draw_Radiosity_Tree (HT_Net_Rendition const *inr, HT_Subsegment const *start); 00345 EXTERNAL void HC_CDECL HD_Draw_Silhouette_Edges (HT_Net_Rendition const *nr, HT_Polyedge const *ipe); 00346 EXTERNAL void HC_CDECL HD_Draw_NonCulled_Edges (HT_Net_Rendition const *nr, HT_Polyedge const *ipe); 00347 EXTERNAL void HC_CDECL HD_Draw_Soft_Z_Buffered_Tree (HT_Net_Rendition const *inr, HT_Subsegment const *start); 00348 EXTERNAL void HC_CDECL HD_Draw_Sprites (HT_Display_Context alter *dc, HT_Frame_Buffer_Info alter *fbi, bool compute, bool force_stereo_left); 00349 EXTERNAL void HC_CDECL HD_Draw_Trimmed_DC_Image (HT_Net_Rendition const *nr, 00350 HT_DC_Point const *start, 00351 HT_DC_Point const *end, 00352 int hoffset, 00353 char format, 00354 int row_bytes, 00355 void const * const *rasters, 00356 int pattern, 00357 HT_Driver_Color const *contrast_color, 00358 HT_Image const *db_image); 00359 EXTERNAL void HC_CDECL HD_Elaborate_Selection (HT_Net_Rendition const *nr, 00360 HT_Geometry const *item, 00361 int offset1, 00362 int offset2, 00363 int offset3, 00364 float zw, 00365 float proximity, 00366 HT_Integer32 typeflag, 00367 HT_Selection_Extras * extras); 00368 EXTERNAL bool HC_CDECL HD_Exit_Update (HT_Display_Context const *dc); 00369 EXTERNAL void HC_CDECL HD_Interrupt_Update (HT_Display_Context const *dc, bool do_not_draw, bool recycle); 00370 EXTERNAL void HC_CDECL HD_Figure_Light (HT_Net_Rendition const *nr, HT_Geometry const *geometry, HT_RGBA alter *total); 00371 EXTERNAL void HC_CDECL HD_Find_One_Font (HT_Display_Context const *dc); 00372 EXTERNAL void HC_CDECL HD_Find_Basic_Fonts (HT_Display_Context const *dc); 00373 EXTERNAL void HC_CDECL HD_Find_All_Fonts (HT_Display_Context const *dc); 00374 EXTERNAL void HC_CDECL HD_Find_Cutting_Planes (HT_Net_Rendition const *nr, HT_Segment const *seg); 00375 EXTERNAL HT_Display_Context alter * HC_CDECL HD_Find_DC_From_WID (POINTER_SIZED_INT wid); 00376 EXTERNAL int HC_CDECL HD_Find_Dither_Pattern (HT_Net_Rendition const *nr, 00377 HT_RGBAS32 const *target, 00378 unsigned short alter *icomposites, 00379 int alter *patterns); 00380 EXTERNAL HT_Font_Instance const * HC_CDECL HD_Find_Fill_In_Font (HT_Net_Rendition const *in_nr, HT_Font_Instance const * in_font, unsigned short in_kar, unsigned short * out_kar); 00381 EXTERNAL void HC_CDECL HD_Find_Font_Height (HT_Display_Context const *dc, HT_Font_Instance const *const_instance); 00382 EXTERNAL void HC_CDECL HD_Find_Freetype_Fonts (HT_Display_Context const *dc); 00383 EXTERNAL bool HC_CDECL HD_Find_One_Freetype_Font (HT_Display_Context const *dc, char const *in_name); 00384 EXTERNAL void HC_CDECL HD_Find_Geometry_Screen_Plane (HT_Net_Rendition const *nr, 00385 HT_Geometry const *geometry, 00386 HT_Plane alter *plane); 00387 EXTERNAL float HC_CDECL HD_Find_Geometry_Screen_Plane_C (HT_Net_Rendition const *nr, HT_Geometry const *geometry); 00388 EXTERNAL HT_Glyph * HD_Find_Glyph(HT_Glyph_Rendition const *gr, const char * name_string, HT_Name const * name, HT_Integer32 key, bool error); 00389 EXTERNAL HT_Glyph * HD_Find_Glyph_Legacy(HT_Net_Rendition const *nr, char symbol); 00390 EXTERNAL char HD_Find_Glyph_Legacy_Symbol(HT_Glyph const *glyph); 00391 EXTERNAL HT_Line_Style * HD_Find_Line_Style(HT_Net_Rendition const *nr, const char * name); 00392 EXTERNAL HT_Line_Style * HD_Find_Line_Style_Legacy(HT_Net_Rendition const *nr, char symbol); 00393 EXTERNAL char HD_Find_Line_Style_Legacy_P(HT_Line_Style const *line_style); 00394 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Find_Lights (HT_Net_Rendition const *nr, HT_Segment const *seg); 00395 EXTERNAL HT_Hidden alter * HC_CDECL HD_Find_Next_To_Draw (HT_Hidden alter *head, HT_Hidden alter * alter *pendingp); 00396 EXTERNAL void HC_CDECL HD_Set_Driver (HT_Driver_Action action); 00397 EXTERNAL void HC_CDECL HD_Find_Specific_Driver (HT_Driver const *actor, HT_Driver_Action action); 00398 EXTERNAL void HC_CDECL HD_Finish_Priority_Inclusion (HT_Net_Rendition const *nr); 00399 EXTERNAL void HC_CDECL HD_Force_Font_Load (HT_Net_Rendition const *nr); 00400 EXTERNAL void HC_CDECL HD_Force_Partial_Refresh (HT_Display_Context const *dc, int left, int right, int bottom, int top); 00401 EXTERNAL void HC_CDECL HD_Force_Refresh (HT_Display_Context const *dc); 00402 EXTERNAL void HC_CDECL HD_Free_Colors (HT_Display_Context alter *dc); 00403 EXTERNAL void HC_CDECL HD_Free_Cutting_Plane_Rendition (HT_Cutting_Plane_Rendition const *cpr); 00404 EXTERNAL void HC_CDECL HD_Free_Defined_Font_Family (HT_Display_Context alter *dc, HT_Font_Family alter *family); 00405 EXTERNAL void HC_CDECL HD_Free_Fonts (HT_Display_Context alter *dc); 00406 EXTERNAL void HC_CDECL HD_Free_Frame_Buffer_Info (HT_Net_Rendition const *nr, HT_Frame_Buffer_Info const *fbi); 00407 EXTERNAL void HC_CDECL HD_Free_Freetype_Globals (HT_World *world); 00408 EXTERNAL void HC_CDECL HD_Free_Hidden_List (HT_Hidden alter *hidden); 00409 EXTERNAL void HC_CDECL HD_Free_Hidden_Payload (HT_Hidden_Payload alter *payload); 00410 EXTERNAL void HC_CDECL HD_Free_Light_Rendition (HT_Light_Rendition const *lir); 00411 EXTERNAL void HC_CDECL HD_Free_Face_Rendition (HT_Face_Rendition const *fr); 00412 EXTERNAL void HC_CDECL HD_Free_Line_Rendition (HT_Line_Rendition const *lr); 00413 EXTERNAL void HC_CDECL HD_Free_Material_Rendition (HT_Material_Rendition const *mat); 00414 EXTERNAL void HC_CDECL HD_Free_Net_Rendition (HT_Net_Rendition const *nr); 00415 EXTERNAL void HC_CDECL HD_Free_Sprite_List (HT_Display_Context alter *dc, HT_Spriting_Item alter * alter *backlink); 00416 EXTERNAL void HC_CDECL HD_Free_Overlay_Segments (HT_Overlay_Segment alter * alter *linker); 00417 EXTERNAL void HC_CDECL HD_Free_Transform_Rendition (HT_Transform_Rendition const *tr); 00418 EXTERNAL void HC_CDECL HD_Free_Window_Rendition (HT_Net_Rendition const *nr, HT_Window_Rendition const *wr); 00419 EXTERNAL bool HC_CDECL HD_Gather_Device_Info (HT_Display_Context const *dc, HT_Gather_Device_Info alter *gdi); 00420 EXTERNAL bool HC_CDECL HD_Gather_Font_Info (HT_Display_Context alter *dc, HT_Gather_Font_Info alter *gfi); 00421 EXTERNAL bool HC_CDECL HD_Gather_Font_Names (HT_Display_Context const *dc, HT_Gather_Font_Names alter *gfn); 00422 EXTERNAL void HC_CDECL HD_Gather_Freetype_Text (HT_Net_Rendition const *nr, 00423 HT_Font_Instance const *specific, 00424 int count, 00425 unsigned short const *string, 00426 HT_Vector const *scale, 00427 char encoding, 00428 HT_Gather_Font_Info *gfi); 00429 EXTERNAL bool HC_CDECL HD_Gather_Screen_Extent (HT_Display_Context alter *dc, HT_Gather_Screen_Extent alter *gse); 00430 EXTERNAL bool HC_CDECL HD_Gather_Text_Extent (HT_Display_Context alter *dc, HT_Gather_Font_Info alter *gfi); 00431 EXTERNAL bool HC_CDECL HD_Gather_Text_Outline (HT_Display_Context alter *dc, HT_Gather_Font_Info alter *gfi); 00432 EXTERNAL bool HC_CDECL HD_Gather_Window_Extent (HT_Display_Context alter *dc, HT_Gather_Window_Extent alter *gwe); 00433 EXTERNAL int alter * HC_CDECL HD_Generate_DC_Screen_Facings (HT_Net_Rendition const *nr, int count, HT_Plane const * planes, bool object_space); 00434 EXTERNAL int HC_CDECL HD_Generate_Elliptical_Points (HT_Net_Rendition const *nr, 00435 HT_Generic_Arc const *curve, 00436 int res, 00437 HT_Point alter *ipl); 00438 EXTERNAL void HC_CDECL HD_Get_Actions (HT_Action_Table alter *at, void (*driver_getter) (HT_Action_Table alter *at)); 00439 EXTERNAL void HC_CDECL HD_Get_Bit_Patterns (HT_Display_Context alter *dc, bool reverse); 00440 EXTERNAL void HC_CDECL HD_Get_Bit_Patterns_8 (HT_Display_Context alter *dc, bool reverse); 00441 EXTERNAL void HC_CDECL HD_Get_Colors (HT_Display_Context alter *dc); 00442 EXTERNAL void HC_CDECL HD_Get_Current_Info (HT_Display_Context alter *dc); 00443 EXTERNAL void HC_CDECL HD_Get_Gamma_Table (HT_Display_Context alter *dc, bool nonlinear); 00444 EXTERNAL void HC_CDECL HD_Get_Physical_Info (HT_Display_Context alter *dc); 00445 EXTERNAL void HC_CDECL HD_HL_DC_Colorized_Polytris (HT_Net_Rendition const * nr, int count, 00446 HT_DC_Point const * points, 00447 HT_RGBAS32 const * color, bool single); 00448 EXTERNAL void HC_CDECL HD_HL_DC_Colorized_Polyline (HT_Net_Rendition const * nr, int count, 00449 HT_DC_Point const * points, 00450 HT_RGBAS32 const * color, bool single); 00451 EXTERNAL void HC_CDECL HD_HL_DC_Colorized_Polymarker (HT_Net_Rendition const * nr, int count, 00452 HT_DC_Point const * points, 00453 HT_RGBAS32 const * color, bool single, float const * rotations, float const *size_fixups); 00454 EXTERNAL void HC_CDECL HD_HL_DC_Gouraud_Polyline (HT_Net_Rendition const * nr, int count, 00455 HT_DC_Point const * points, 00456 HT_RGBAS32 const * colors); 00457 EXTERNAL void HC_CDECL HD_HL_DC_Gouraud_Polytris (HT_Net_Rendition const * nr, int count, 00458 HT_DC_Point const * points, 00459 HT_RGBAS32 const * colors); 00460 EXTERNAL void HC_CDECL HD_HL_3D_Image (HT_Net_Rendition const * nr, HT_Image const * image); 00461 EXTERNAL void HC_CDECL HD_HL_DC_Image (HT_Net_Rendition const * nr, 00462 HT_DC_Point const * start, 00463 HT_DC_Point const * end, 00464 int hoffset, 00465 char format, 00466 int row_bytes, 00467 void const * const * rasters, 00468 int pattern, 00469 HT_Driver_Color const * contrast_color, 00470 HT_Image const *db_image); 00471 EXTERNAL void HC_CDECL HD_HL_DC_Polymarker ( 00472 HT_Net_Rendition const * nr, 00473 int count, 00474 HT_DC_Point const * point, 00475 float const * rotations, 00476 float const *size_fixups); 00477 EXTERNAL void HC_CDECL HD_HL_DC_Polyline (HT_Net_Rendition const * nr, int count, HT_DC_Point const * points); 00478 EXTERNAL void HC_CDECL HD_HL_DC_Polytriangle (HT_Net_Rendition const * nr, int count, HT_DC_Point const * points); 00479 EXTERNAL void HC_CDECL HD_HL_DC_Phong_Polyline (HT_Net_Rendition const * nr, int count, 00480 HT_DC_Point const * points, 00481 HT_RGBA const * colors, 00482 HT_Plane const * planes); 00483 EXTERNAL void HC_CDECL HD_HL_DC_Textured_Polyline (HT_Net_Rendition const * nr, int count, 00484 HT_DC_Point const * points, 00485 HT_RGBA const * colors, 00486 HT_Plane const * planes, 00487 HT_Parameter const *vertex_params, 00488 int param_width, 00489 HT_Parameter_Flags alter param_flags); 00490 EXTERNAL void HC_CDECL HD_HL_DC_Phong_Polytris (HT_Net_Rendition const * nr, int count, 00491 HT_DC_Point const * points, 00492 HT_RGBA const * colors, 00493 HT_Plane const * planes); 00494 EXTERNAL void HC_CDECL HD_HL_DC_Textured_Polytris (HT_Net_Rendition const * nr, int count, 00495 HT_DC_Point const * points, 00496 HT_RGBA const * colors, 00497 HT_Plane const * planes, 00498 HT_Parameter const *vertex_params, 00499 int param_width, 00500 HT_Parameter_Flags alter param_flags); 00501 EXTERNAL void HC_CDECL HD_HL_DC_Text (HT_Net_Rendition const *nr, HT_DC_Point const *where, int count, unsigned short const *kstring); 00502 EXTERNAL void HC_CDECL HD_HL_Plain_Text (HT_Net_Rendition const * nr, 00503 HT_Text const * dbtext, 00504 HT_Point const * point, 00505 int count, 00506 unsigned short const * kp, 00507 HT_Text_Karacter_Info const * ki); 00508 EXTERNAL void HC_CDECL HD_HL_See_Whats_Hidden (HT_Display_Context alter * dc); 00509 EXTERNAL bool HC_CDECL HD_HPGL2_Driver (HT_Driver alter *actor, int request); 00510 EXTERNAL bool HC_CDECL HD_HPGL_Driver (HT_Driver alter *actor, int request); 00511 EXTERNAL void HC_CDECL HD_Hide_DC_Colorized_Face (HT_Net_Rendition const *nr, 00512 int count, 00513 HT_DC_Point const *points, 00514 HT_RGBAS32 const *color); 00515 EXTERNAL void HC_CDECL HD_Hide_DC_Colorized_Polyline (HT_Net_Rendition const *nr, int count, HT_DC_Point const *dcp, HT_RGBAS32 const *color, bool single); 00516 EXTERNAL void HC_CDECL HD_Hide_DC_Colorized_Polytris (HT_Net_Rendition const *nr, int count, 00517 HT_DC_Point const *points, 00518 HT_RGBAS32 const *color, bool single); 00519 EXTERNAL void HC_CDECL HD_Hide_DC_Face (HT_Net_Rendition const *nr, int count, HT_DC_Point const *points); 00520 EXTERNAL void HC_CDECL HD_Hide_DC_Gouraud_Polyline (HT_Net_Rendition const *nr, int count, HT_DC_Point const *dcp, HT_RGBAS32 const *colors); 00521 EXTERNAL void HC_CDECL HD_Hide_DC_Gouraud_Polytris (HT_Net_Rendition const *nr, int count, 00522 HT_DC_Point const *points, 00523 HT_RGBAS32 const *colors); 00524 EXTERNAL void HC_CDECL HD_Hide_DC_Image (HT_Net_Rendition const *nr, 00525 HT_DC_Point const *start, 00526 HT_DC_Point const *end, 00527 int hoffset, 00528 char format, 00529 int row_bytes, 00530 void const * const *rasters, 00531 int pattern, 00532 HT_Driver_Color const *contrast_color, 00533 HT_Image const *db_image); 00534 EXTERNAL void HC_CDECL HD_Hide_DC_Polydot (HT_Net_Rendition const *nr, int count, HT_DC_Point const *dcp); 00535 EXTERNAL void HC_CDECL HD_Hide_DC_Colorized_Polydot (HT_Net_Rendition const *nr, int count, HT_DC_Point const *dcp, HT_RGBAS32 const *color, bool single); 00536 EXTERNAL void HC_CDECL HD_Hide_DC_Polygon (HT_Net_Rendition const *nr, int count, HT_DC_Point const *points); 00537 EXTERNAL void HC_CDECL HD_Hide_DC_Polyline (HT_Net_Rendition const *nr, int count, HT_DC_Point const *dcp); 00538 EXTERNAL void HC_CDECL HD_Hide_DC_Polytriangle (HT_Net_Rendition const *nr, int count, HT_DC_Point const *points); 00539 EXTERNAL void HC_CDECL HD_Hide_DC_Phong_Polyline (HT_Net_Rendition const *nr, int count, 00540 HT_DC_Point const *dcp, 00541 HT_RGBA const *colors, 00542 HT_Plane const *planes); 00543 EXTERNAL void HC_CDECL HD_Hide_DC_Phong_Polytris (HT_Net_Rendition const *nr, int count, 00544 HT_DC_Point const *points, 00545 HT_RGBA const *colors, 00546 HT_Plane const *planes); 00547 EXTERNAL void HC_CDECL HD_Hide_DC_Textured_Polyline (HT_Net_Rendition const *nr, int count, 00548 HT_DC_Point const *dcp, 00549 HT_RGBA const *colors, 00550 HT_Plane const *planes, 00551 HT_Parameter const *vertex_params, 00552 int param_width, 00553 HT_Parameter_Flags param_flags); 00554 EXTERNAL void HC_CDECL HD_Hide_DC_Textured_Polytris (HT_Net_Rendition const *nr, int count, 00555 HT_DC_Point const *points, 00556 HT_RGBA const *colors, 00557 HT_Plane const *planes, 00558 HT_Parameter const *vertex_params, 00559 int param_width, 00560 HT_Parameter_Flags param_flags); 00561 EXTERNAL void HC_CDECL HD_Hide_DC_Stenciled_Quad (HT_Net_Rendition const *nr, 00562 HT_DC_Point const *points, 00563 HT_Stencil_Bitmap const *stencil); 00564 EXTERNAL void HC_CDECL HD_Hide_DC_Text (HT_Net_Rendition const *nr, HT_DC_Point const *where, int count, unsigned short const *kstring); 00565 EXTERNAL void HC_CDECL HD_Hide_Plain_Text ( 00566 HT_Net_Rendition const * nr, 00567 HT_Text const * dbtext, 00568 HT_Point const * position, 00569 int count, 00570 unsigned short const * kp, 00571 HT_Text_Karacter_Info const * ki); 00572 EXTERNAL bool HC_CDECL HD_Image_Driver (HT_Driver alter *actor, int request); 00573 EXTERNAL void HC_CDECL HD_Image_To_Bit_Rasters (HT_Net_Rendition const *nr, 00574 HT_DC_Point const *istart, 00575 HT_DC_Point const *iend, 00576 int hoffset, 00577 char format, 00578 int row_bytes, 00579 void const * const *image_rasters, 00580 int pattern, 00581 HT_Driver_Color const *contrast_color, 00582 HT_Image const *db_image); 00583 EXTERNAL void HC_CDECL HD_Image_To_Gray8_Rasters (HT_Net_Rendition const *nr, 00584 HT_DC_Point const *istart, 00585 HT_DC_Point const *iend, 00586 int hoffset, 00587 char format, 00588 int row_bytes, 00589 void const * const *image_rasters, 00590 int pattern, 00591 HT_Driver_Color const *contrast_color, 00592 HT_Image const *db_image); 00593 EXTERNAL void HC_CDECL HD_Image_To_Mapped16_Rasters (HT_Net_Rendition const *nr, 00594 HT_DC_Point const *istart, 00595 HT_DC_Point const *iend, 00596 int hoffset, 00597 char format, 00598 int row_bytes, 00599 void const * const *image_rasters, 00600 int pattern, 00601 HT_Driver_Color const *contrast_color, 00602 HT_Image const *db_image); 00603 EXTERNAL void HC_CDECL HD_Image_To_Mapped8_Rasters (HT_Net_Rendition const *nr, 00604 HT_DC_Point const *istart, 00605 HT_DC_Point const *iend, 00606 int hoffset, 00607 char format, 00608 int row_bytes, 00609 void const * const *image_rasters, 00610 int pattern, 00611 HT_Driver_Color const *contrast_color, 00612 HT_Image const *db_image); 00613 EXTERNAL void HC_CDECL HD_Image_To_RGB32_Rasters (HT_Net_Rendition const *nr, 00614 HT_DC_Point const *istart, 00615 HT_DC_Point const *iend, 00616 int hoffset, 00617 char format, 00618 int row_bytes, 00619 void const * const *image_rasters, 00620 int pattern, 00621 HT_Driver_Color const *contrast_color, 00622 HT_Image const *db_image); 00623 EXTERNAL HT_Frame_Buffer_Info alter * HC_CDECL HD_Init_Frame_Buffer_Info (HT_Net_Rendition const *nr, HT_Subsegment const *subseg); 00624 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Init_Rendition (HT_Display_Context alter *dc); 00625 EXTERNAL void HC_CDECL HD_Initialize_HL_Data (HT_Display_Context alter *dc); 00626 EXTERNAL void HC_CDECL HD_Insert_In_Hidden_Tree (HT_Hidden alter *item); 00627 EXTERNAL void HC_CDECL HD_Interpolate_Z (HT_Net_Rendition const *nr, HT_DC_Point alter *point, HT_Geometry const *geometry); 00628 EXTERNAL void HC_CDECL HD_Kill_Driver (HT_Display_Context const *dc); 00629 EXTERNAL void HC_CDECL HD_Linearize_Hidden_Tree (HT_Hidden alter *x, int count, int hsra, HT_Hidden alter **head_out, HT_Hidden alter **tail_out); 00630 EXTERNAL bool HC_CDECL HD_Load_Font (HT_Display_Context const *dc, HT_Font_Instance const *const_instance); 00631 EXTERNAL bool HC_CDECL HD_Unload_Oldest_Font (HT_Display_Context alter *dc, int font_type); 00632 EXTERNAL void * HC_CDECL HD_Load_Defined_Font (HT_Display_Context const *dc, char const *name, HT_Font_Instance alter *font); 00633 EXTERNAL void HC_CDECL HD_Get_Freetype_Font_Bounding (HT_Font_Instance const * instance, HT_Bounding_Rectangle alter *font_bbox); 00634 EXTERNAL void * HC_CDECL HD_Load_Freetype_Font (HT_Display_Context const *dc, char const *name, HT_Font_Instance alter *instance); 00635 EXTERNAL bool HC_CDECL HD_MSW_Driver (HT_Driver alter *actor, int request); 00636 EXTERNAL bool HC_CDECL HD_Mark_Font_As_Aliased (HT_Display_Context const *dc, char const *name, char const *real_name_string, long index); 00637 EXTERNAL bool HC_CDECL HD_Mark_Font_As_Defined (HT_Display_Context const *dc, char const *name, HT_Font const *font); 00638 EXTERNAL bool HC_CDECL HD_Mark_Font_As_Freetype (HT_Display_Context const *dc, char const *name); 00639 EXTERNAL bool HC_CDECL HD_Mark_Font_As_Generic (HT_Display_Context const *dc, char const *name, int generic); 00640 EXTERNAL bool HC_CDECL HD_Mark_Font_As_System_Default (HT_Display_Context const *dc, char const *name, float Aheight); 00641 EXTERNAL bool HC_CDECL HD_Mark_Font_As_Transformable (HT_Display_Context const *dc, char const *name, int transformable); 00642 EXTERNAL bool HC_CDECL HD_Measure_Characters (HT_Net_Rendition const *nr, int count, unsigned short const *kp, char const encoding, float *size_out); 00643 EXTERNAL bool HC_CDECL HD_Measure_Freetype_Char (HT_Net_Rendition const *nr, HT_Font_Instance const *font, unsigned short kar, float alter *size_out, bool alter *missing, void ** per_char_data); 00644 EXTERNAL bool HC_CDECL HD_Measure_Defined_Char (HT_Net_Rendition const *nr, HT_Font_Instance const *font, unsigned short kar, float alter *size_out, bool alter *any_missing, void ** per_char_data); 00645 EXTERNAL bool HC_CDECL HD_Minimum_Update (HT_Display_Context alter *dc, bool extra); 00646 EXTERNAL float HC_CDECL HD_NURBS_Point_Invert (HT_NURBS_Curve const *curve, HT_Point const *point); 00647 EXTERNAL bool HC_CDECL HD_No_Driver (HT_Driver const *actor, int request, char const *driver_name); 00648 EXTERNAL bool HC_CDECL HD_No_Such_Keyboard (HT_Display_Context const *dc, int alter *button, int alter *status); 00649 EXTERNAL bool HC_CDECL HD_No_Such_Locater (HT_Display_Context const *dc, int alter *button, int alter *x, int alter *y); 00650 EXTERNAL bool HC_CDECL HD_Null_Driver (HT_Driver alter *actor, int request); 00651 EXTERNAL bool HC_CDECL HD_OpenGL_Driver (HT_Driver alter * actor, int request); 00652 EXTERNAL bool HC_CDECL HD_Overlapped_Polygons (HT_Hidden alter *eh, HT_Hidden alter *ph); 00653 EXTERNAL void HC_CDECL HD_Painters_Bias_Z (HT_Hidden alter *hidden, bool backwards); 00654 EXTERNAL bool HC_CDECL HD_Point_Within_Cutting_Planes (HT_Transform_Rendition const *tr, float x, float y, float z); 00655 EXTERNAL bool HC_CDECL HD_Point_Within_Cutting_Set (HT_Cutting_Plane_Set const *cps, float x, float y, float z); 00656 EXTERNAL bool HC_CDECL HD_PostScript_Driver (HT_Driver alter *actor, int request); 00657 EXTERNAL bool HC_CDECL HD_PDF_Driver (HT_Driver alter *actor, int request); 00658 EXTERNAL bool HC_CDECL HD_QT_Driver (HT_Driver alter *actor, int request); 00659 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Preprocess (HT_Net_Rendition alter *nr); 00660 EXTERNAL bool HC_CDECL HD_Printf_Driver (HT_Driver alter *actor, int request); 00661 EXTERNAL bool HC_CDECL HD_Quartz_Driver (HT_Driver alter *actor, int request); 00662 EXTERNAL bool HC_CDECL HD_Whip2D_Driver (HT_Driver alter *actor, int request); 00663 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Action_Rendition (HT_Net_Rendition const *nr); 00664 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Color_Map_Rendition (HT_Net_Rendition const *nr); 00665 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Simple_Reflection_Face_Rendition (HT_Net_Rendition const *nr); 00666 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Cut_Face_Rendition (HT_Net_Rendition const *nr); 00667 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Cut_Edge_Rendition (HT_Net_Rendition const *nr); 00668 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Display_Rendition (HT_Net_Rendition const *nr); 00669 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Drawing_State (HT_Net_Rendition const *nr); 00670 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Face_Rendition (HT_Net_Rendition const *nr); 00671 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Line_Rendition (HT_Net_Rendition const *nr); 00672 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Marker_Rendition (HT_Net_Rendition const *nr); 00673 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Misc_Rendition (HT_Net_Rendition const *nr); 00674 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Texture_Rendition (HT_Net_Rendition const *nr); 00675 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Line_Style_Rendition (HT_Net_Rendition const *nr); 00676 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Geometry_Rendition (HT_Net_Rendition const *nr); 00677 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Glyph_Rendition (HT_Net_Rendition const *nr); 00678 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Edge_Rendition (HT_Net_Rendition const *nr); 00679 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Text_Rendition (HT_Net_Rendition const *nr); 00680 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Transform_Rendition (HT_Net_Rendition const *nr); 00681 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_User_Rendition (HT_Net_Rendition const *nr); 00682 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Vertex_Rendition (HT_Net_Rendition const *nr); 00683 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Window_Rendition (HT_Net_Rendition const *nr); 00684 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Push_Visualization_Rendition (HT_Net_Rendition const *nr); 00685 EXTERNAL void HC_CDECL HD_Queue_Pixel_Location_Event (HT_Display_Context const *dc, int status, int ix, int iy); 00686 EXTERNAL void HC_CDECL HD_Rasterize_DC_Spans_C08_U (HT_Net_Rendition const *nr, 00687 HT_Span_Rendition const *sr, 00688 HT_Span const *span, 00689 int num_spans, 00690 int bottom); 00691 EXTERNAL void HC_CDECL HD_Rasterize_DC_Spans_C24_G (HT_Net_Rendition const *nr, 00692 HT_Span_Rendition const *sr, 00693 HT_Span const *span, 00694 int num_spans, 00695 int bottom); 00696 EXTERNAL void HC_CDECL HD_Rasterize_DC_Spans_C24_R (HT_Net_Rendition const *nr, 00697 HT_Span_Rendition const *sr, 00698 HT_Span const *span, 00699 int num_spans, 00700 int bottom, 00701 HT_Parameter_Flags param_flags); 00702 EXTERNAL void HC_CDECL HD_Rasterize_DC_Spans_C24_U (HT_Net_Rendition const *nr, 00703 HT_Span_Rendition const *sr, 00704 HT_Span const *span, 00705 int num_spans, 00706 int bottom); 00707 EXTERNAL void HC_CDECL HD_Reconnect_Polygon_Pieces (HT_Net_Rendition const *nr, 00708 HT_Edge_Interval alter *edgelist, 00709 HT_DC_Point const *point_array, 00710 HT_DC_Point const *point_array_end, 00711 bool lower_left_inside, 00712 HT_Geometry const *db_geometry); 00713 EXTERNAL void HC_CDECL HD_Record_Driver_Options (HT_Display_Context alter *dc, HT_Attribute const *attribute); 00714 EXTERNAL void HC_CDECL HD_Record_Font (HT_Display_Context const *dc, 00715 char const *family_name_string, 00716 char const *specific_name_string, 00717 float Aheight, 00718 float vspace); 00719 EXTERNAL void HC_CDECL HD_Record_Font_Debug (char const *msg); 00720 EXTERNAL void HC_CDECL HD_Record_Font_With_Encoding (HT_Display_Context const *dc, 00721 char const *family_name_string, 00722 char const *specific_name_string, 00723 char encoding, 00724 float Aheight, 00725 float vspace); 00726 EXTERNAL HT_Font_Instance const * HC_CDECL HD_Record_Scaleable_Instance ( 00727 HT_Display_Context const *dc, 00728 HT_Font_Instance const *specific, 00729 float Aheight, 00730 float vspace); 00731 EXTERNAL void HC_CDECL HD_Redo_Screen (HT_Net_Rendition const *nr, HT_Matrix alter *matrix); 00732 EXTERNAL void HC_CDECL HD_Reload_Colors (HT_Display_Context alter *dc); 00733 EXTERNAL void HC_CDECL HD_Remove_Hidden_Followers (HT_Hidden alter *thing, HT_Hidden alter *start); 00734 EXTERNAL void HC_CDECL HD_Report_Null_Color_Map (HT_Polyhedron_Status alter * status, HT_Color_Map const * color_map); 00735 EXTERNAL void HC_CDECL HD_Reset_Palette (char const *segment); 00736 EXTERNAL void HC_CDECL HD_Resize_Subscreen (HT_Display_Context const *const_dc, 00737 bool actual, 00738 int new_left, 00739 int new_right, 00740 int new_bottom, 00741 int new_top); 00742 00743 EXTERNAL void HC_CDECL HD_SP_Hide_DC_Colorized_Line (HT_Net_Rendition const * nr, 00744 HT_DC_Point const * points, 00745 HT_RGBAS32 const * color); 00746 EXTERNAL void HC_CDECL HD_SP_Hide_DC_Colorized_Trian (HT_Net_Rendition const * nr, 00747 HT_DC_Point const * points, 00748 HT_RGBAS32 const * color); 00749 EXTERNAL void HC_CDECL HD_SP_Hide_DC_Gouraud_Line (HT_Net_Rendition const * nr, 00750 HT_DC_Point const * points, 00751 HT_RGBAS32 const * colors); 00752 EXTERNAL void HC_CDECL HD_SP_Hide_DC_Gouraud_Trian (HT_Net_Rendition const * nr, 00753 HT_DC_Point const * points, 00754 HT_RGBAS32 const * colors); 00755 EXTERNAL void HC_CDECL HD_SP_Hide_DC_Image (HT_Net_Rendition const * nr, 00756 HT_DC_Point const * start, 00757 HT_DC_Point const * end, 00758 int hoffset, 00759 char format, 00760 int row_bytes, 00761 void const * const * rasters, 00762 int pattern, 00763 HT_Driver_Color const * contrast_color, 00764 HT_Image const *db_image); 00765 EXTERNAL void HC_CDECL HD_SP_Hide_DC_Line (HT_Net_Rendition const * nr, HT_DC_Point const * points); 00766 EXTERNAL void HC_CDECL HD_SP_Hide_DC_Marker (HT_Net_Rendition const * nr, HT_DC_Point const * point); 00767 EXTERNAL void HC_CDECL HD_SP_Hide_DC_Reshaded_Line (HT_Net_Rendition const * nr, 00768 HT_DC_Point const * points, 00769 HT_RGB const * colors, 00770 HT_Plane const * planes, 00771 HT_Parameter const *vertex_params, 00772 int param_width, 00773 HT_Parameter_Flags alter param_flags); 00774 EXTERNAL void HC_CDECL HD_SP_Hide_DC_Reshaded_Trian (HT_Net_Rendition const * nr, 00775 HT_DC_Point const * points, 00776 HT_RGB const * colors, 00777 HT_Plane const * planes, 00778 HT_Parameter const *vertex_params, 00779 int param_width, 00780 HT_Parameter_Flags alter param_flags); 00781 EXTERNAL void HC_CDECL HD_SP_Hide_DC_Text (HT_Net_Rendition const * nr, HT_DC_Point const * where, int count, unsigned short const * kstring); 00782 EXTERNAL void HC_CDECL HD_SP_Hide_DC_Triangle (HT_Net_Rendition const * nr, HT_DC_Point const * points); 00783 EXTERNAL void HC_CDECL HD_SP_Hide_Plain_Text (HT_Net_Rendition const * nr, 00784 HT_Text const * dbtext, 00785 HT_Point const * point, 00786 int count, 00787 unsigned short const * kp, 00788 HT_Text_Karacter_Info const * ki); 00789 EXTERNAL void HC_CDECL HD_See_Whats_Hidden (HT_Display_Context alter *dc); 00790 EXTERNAL bool HC_CDECL HD_Select_Circle_By_Polyline (HT_Net_Rendition const *nr, HT_DC_Point alter *center, float radius); 00791 EXTERNAL void HC_CDECL HD_Select_Dot (HT_Net_Rendition const *nr, 00792 HT_Geometry const *thing, 00793 HT_Integer32 type, 00794 HT_Point const *whereabouts); 00795 EXTERNAL void HC_CDECL HD_Select_Ellipse (HT_Net_Rendition const *nr, HT_Ellipse const *ellipse, bool face_test); 00796 EXTERNAL void HC_CDECL HD_Select_Elliptical_Arc (HT_Net_Rendition const *nr, HT_Elliptical_Arc const *arc); 00797 EXTERNAL void HC_CDECL HD_Select_Grid (HT_Net_Rendition const *nr, HT_Grid const *grid); 00798 EXTERNAL void HC_CDECL HD_Select_Image (HT_Net_Rendition const *nr, HT_Image const *image); 00799 EXTERNAL void HC_CDECL HD_Select_Inner_Window (HT_Subsegment alter *subsegment, HT_Window_Tree alter *parent); 00800 EXTERNAL void HC_CDECL HD_Select_Marker (HT_Net_Rendition const *nr, HT_Marker const *marker); 00801 EXTERNAL void HC_CDECL HD_Select_NURBS_Curve (HT_Net_Rendition const *nr, HT_NURBS_Curve alter *curve); 00802 EXTERNAL void HC_CDECL HD_Select_Cylinder (HT_Net_Rendition const *nr, HT_Cylinder const *cylinder); 00803 EXTERNAL void HC_CDECL HD_Select_PolyCylinder (HT_Net_Rendition const *nr, HT_PolyCylinder const *polycylinder); 00804 EXTERNAL void HC_CDECL HD_Select_Sphere (HT_Net_Rendition const *nr, HT_Sphere const *sphere); 00805 EXTERNAL void HC_CDECL HD_Select_NURBS_Surface (HT_Net_Rendition const *nr, HT_NURBS_Surface const *surf); 00806 EXTERNAL bool HC_CDECL HD_Select_Point_By_Polygon (HT_Net_Rendition const *nr, HT_DC_Point alter *center); 00807 EXTERNAL bool HC_CDECL HD_Select_Point_List (HT_Net_Rendition const *nr, 00808 HT_Geometry const *geometry, 00809 int icount, 00810 HT_Point const *ipl, 00811 bool closed, 00812 bool face_test, 00813 int alter *offset1, 00814 int alter *offset2, 00815 float alter *prox, 00816 float alter *zw); 00817 EXTERNAL void HC_CDECL HD_Select_Polyglin (HT_Net_Rendition const *nr, HT_Geometry const *geometry, bool face_test); 00818 EXTERNAL void HC_CDECL HD_Select_Polyhedron (HT_Net_Rendition const *nr, HT_Polyhedron const *polyhedron); 00819 EXTERNAL void HC_CDECL HD_Select_Text (HT_Net_Rendition const *nr, HT_Text const *text); 00820 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Selection_Downwind (HT_Net_Rendition alter *nr, HT_Attribute alter *att); 00821 EXTERNAL void HC_CDECL HD_Selection_Render (HT_Net_Rendition const *nr, HT_Geometry const *geo, bool single); 00822 EXTERNAL void HC_CDECL HD_Selection_Walk_Tree (HT_Net_Rendition const *inr, HT_Subsegment const *start); 00823 EXTERNAL void HC_CDECL HD_Set_DC_Cutting_Planes (HT_Net_Rendition const *nr); 00824 EXTERNAL void HC_CDECL HD_Set_Z_Buffering_Transform (HT_Net_Rendition const *nr, 00825 bool z_transforms, 00826 bool z_buffering, 00827 float z_max); 00828 EXTERNAL void HC_CDECL HD_Setup_Frame_Buffer (HT_Net_Rendition const *nr); 00829 EXTERNAL void HC_CDECL HD_Span_DC_Colorized_Polyline (HT_Net_Rendition const *nr, 00830 int count, 00831 HT_DC_Point const *points, 00832 HT_RGBAS32 const *in_color, 00833 bool single); 00834 EXTERNAL void HC_CDECL HD_Span_DC_Colorized_Polytris (HT_Net_Rendition const *nr, 00835 int count, 00836 HT_DC_Point const *points, 00837 HT_RGBAS32 const *in_color, 00838 bool single); 00839 EXTERNAL void HC_CDECL HD_Span_DC_Gouraud_Polyline (HT_Net_Rendition const *nr, int count, HT_DC_Point const *points, HT_RGBAS32 const *colors); 00840 EXTERNAL void HC_CDECL HD_Span_DC_Gouraud_Polytris (HT_Net_Rendition const *nr, int count, 00841 HT_DC_Point const *points, 00842 HT_RGBAS32 const *colors); 00843 EXTERNAL void HC_CDECL HD_Span_DC_Polyline (HT_Net_Rendition const *nr, int count, HT_DC_Point const *points); 00844 EXTERNAL void HC_CDECL HD_Span_DC_Rectangle (HT_Net_Rendition const *nr, int left, int right, int bottom, int top); 00845 EXTERNAL void HC_CDECL HD_Span_DC_Phong_Polyline (HT_Net_Rendition const *nr, int count, 00846 HT_DC_Point const *points, 00847 HT_RGBA const *colors, 00848 HT_Plane const *planes); 00849 EXTERNAL void HC_CDECL HD_Span_DC_Textured_Polyline (HT_Net_Rendition const *nr, int count, 00850 HT_DC_Point const *points, 00851 HT_RGBA const *colors, 00852 HT_Plane const *planes, 00853 HT_Parameter const *vertex_params, 00854 int param_width, 00855 HT_Parameter_Flags param_flags); 00856 EXTERNAL void HC_CDECL HD_Span_DC_Phong_Polytris (HT_Net_Rendition const *nr, int count, 00857 HT_DC_Point const *points, 00858 HT_RGBA const *colors, 00859 HT_Plane const *planes); 00860 EXTERNAL void HC_CDECL HD_Span_DC_Textured_Polytris (HT_Net_Rendition const *nr, int count, 00861 HT_DC_Point const *points, 00862 HT_RGBA const *colors, 00863 HT_Plane const *planes, 00864 HT_Parameter const *vertex_params, 00865 int param_width, 00866 HT_Parameter_Flags param_flags); 00867 EXTERNAL void HC_CDECL HD_Span_DC_Polytriangle (HT_Net_Rendition const *nr, int count, HT_DC_Point const *points); 00868 EXTERNAL void HC_CDECL HD_Standard_Compute_Shading (HT_Net_Rendition const *nr, 00869 HT_Light_Rendition const *lir, 00870 HT_Material_Rendition const *material, 00871 HT_Point const *location, 00872 HT_RGB const *color, 00873 HT_Plane const *plane, 00874 HT_Vector const *aligner, 00875 float const * params, 00876 int param_width, 00877 int param_flags, 00878 HT_RGBA alter *result, 00879 HT_RGBA alter *specular_result); 00880 EXTERNAL void HC_CDECL HD_Activate_Texture_Image( 00881 HT_Net_Rendition const *nr, 00882 HT_Texture alter *txr, 00883 unsigned int needed_flags, 00884 int min_size_x, int max_size_x, 00885 int min_size_y, int max_size_y); 00886 EXTERNAL void HC_CDECL HD_Set_Image_Alpha(HT_Image alter *image, unsigned char alpha); 00887 EXTERNAL void HC_CDECL HD_Standard_Compute_Texture (HT_Net_Rendition const *nr, 00888 HT_Texture const *texture, 00889 HT_Point const *location, 00890 HT_Plane const *plane, 00891 float const * params, 00892 int param_width, 00893 int param_flags, 00894 int usage, 00895 HT_RGBA alter *out_color); 00896 EXTERNAL bool HC_CDECL HD_Standard_Name_Font(HT_Net_Rendition const *nr, HT_Font_Name const *font_name_in, HT_Font_Name alter *font_name_out); 00897 EXTERNAL void HC_CDECL HD_Std_3D_Contour (HT_Net_Rendition const *nr, HT_Contour const *contour); 00898 EXTERNAL void HC_CDECL HD_Std_3D_Cylinder (HT_Net_Rendition const *nr, HT_Cylinder const *cylinder); 00899 EXTERNAL void HC_CDECL HD_Std_3D_PolyCylinder (HT_Net_Rendition const *nr, HT_PolyCylinder const *polycylinder); 00900 EXTERNAL void HC_CDECL HD_Std_3D_Sphere (HT_Net_Rendition const *nr, HT_Sphere const *sphere); 00901 EXTERNAL void HC_CDECL HD_Std_3D_Ellipse (HT_Net_Rendition const *nr, HT_Ellipse const *ellipse); 00902 EXTERNAL void HC_CDECL HD_Std_3D_Grid (HT_Net_Rendition const *const_nr, HT_Grid const *grid); 00903 EXTERNAL void HC_CDECL HD_Std_3D_Image (HT_Net_Rendition const *nr, HT_Image const *image); 00904 EXTERNAL void HC_CDECL HD_Std_3D_Light (HT_Net_Rendition const *nr, HT_Light const *light); 00905 EXTERNAL void HC_CDECL HD_Std_3D_Marker (HT_Net_Rendition const *nr, HT_Marker const *marker); 00906 EXTERNAL void HC_CDECL HD_Std_3D_NURBS_Curve (HT_Net_Rendition const *nr, HT_NURBS_Curve const *curve); 00907 EXTERNAL void HC_CDECL HD_Std_3D_Polyedge (HT_Net_Rendition const *nr, HT_Polyedge const *pe); 00908 EXTERNAL void HC_CDECL HD_Std_3D_Polygon (HT_Net_Rendition const *nr, HT_Polygon const *polygon); 00909 EXTERNAL void HC_CDECL HD_Std_3D_Polyhedron (HT_Net_Rendition const * nr, HT_Polyhedron const * polyhedron); 00910 EXTERNAL void HC_CDECL HD_Std_3D_Polyline (HT_Net_Rendition const *nr, HT_Polyline const *pl); 00911 EXTERNAL void HC_CDECL HD_Std_3D_Infinite_Line (HT_Net_Rendition const *nr, HT_Polyline const *pl); 00912 EXTERNAL void HC_CDECL HD_Std_3D_Polymarker (HT_Net_Rendition const *inr, HT_Polymarker const *pm); 00913 EXTERNAL void HC_CDECL HD_Std_3D_Text (HT_Net_Rendition const *inr, HT_Text const *text); 00914 EXTERNAL void HC_CDECL HD_Std_3D_Tristrip (HT_Net_Rendition const *nr, HT_Tristrip const *ts); 00915 EXTERNAL void HC_CDECL HD_Std_3D_NURBS_Surface (HT_Net_Rendition const *nr, HT_NURBS_Surface const *surface); 00916 EXTERNAL void HC_CDECL HD_Std_DC_Ellipse (HT_Net_Rendition const *nr, 00917 HT_DC_Point const *where, 00918 HT_DC_Point const *radii); 00919 EXTERNAL void HC_CDECL HD_Std_DC_Face (HT_Net_Rendition const *nr, int count, HT_DC_Point const *points); 00920 EXTERNAL void HC_CDECL HD_Std_DC_Image (HT_Net_Rendition const *nr, 00921 HT_DC_Point const *start, 00922 HT_DC_Point const *end, 00923 int hoffset, 00924 char format, 00925 int row_bytes, 00926 void const * const *image_rasters, 00927 int pattern, 00928 HT_Driver_Color const *contrast_color, 00929 HT_Image const *db_image); 00930 EXTERNAL void HC_CDECL HD_Std_DC_Polydot (HT_Net_Rendition const *nr, int count, HT_DC_Point const *where); 00931 EXTERNAL void HC_CDECL HD_Std_DC_Colorized_Polydot (HT_Net_Rendition const *nr, int count, HT_DC_Point const *where, HT_RGBAS32 const *in_color, bool single); 00932 EXTERNAL void HC_CDECL HD_Std_DC_Polymarker ( 00933 HT_Net_Rendition const *nr, 00934 int count, 00935 HT_DC_Point const *where, 00936 float const *rotations, 00937 float const *size_fixups); 00938 EXTERNAL void HC_CDECL HD_Std_DC_Polygon (HT_Net_Rendition const *nr, int count, HT_DC_Point const *points); 00939 EXTERNAL void HC_CDECL HD_Std_DC_Polyline (HT_Net_Rendition const *oldnr, int count, HT_DC_Point const *points); 00940 EXTERNAL void HC_CDECL HD_Std_DC_Rectangle (HT_Net_Rendition const *nr, int left, int right, int bottom, int top); 00941 EXTERNAL void HC_CDECL HD_Std_DC_Text (HT_Net_Rendition const *oldnr, HT_DC_Point const *where, int count, unsigned short const *kstring); 00942 EXTERNAL void HC_CDECL HD_Std_DC_Polytriangle (HT_Net_Rendition const *oldnr, int count, HT_DC_Point const *points); 00943 EXTERNAL void HC_CDECL HD_Standard_Draw_Inter_Text (HT_Net_Rendition const *nr, HT_Text_Info const *ti); 00944 EXTERNAL void HC_CDECL HD_Standard_Draw_Overlay_List (HT_Net_Rendition const *inr); 00945 EXTERNAL void HC_CDECL HD_Standard_Draw_Plain_Text ( 00946 HT_Net_Rendition const * nr, 00947 HT_Text const * dbtext, 00948 HT_Point const * position, 00949 int count, 00950 unsigned short const * kp, 00951 HT_Text_Karacter_Info const * ki); 00952 EXTERNAL void HC_CDECL HD_Standard_Draw_Font (HT_Net_Rendition const *nr, 00953 HT_Font_Instance const *specific, 00954 HT_Point const *where, 00955 int count, 00956 unsigned short const *string, 00957 HT_Vector const *scale); 00958 EXTERNAL void HC_CDECL HD_Standard_Draw_Tree (HT_Net_Rendition const *inr, HT_Subsegment const *start); 00959 EXTERNAL void HC_CDECL HD_Standard_Draw_Window (HT_Net_Rendition const *nr, HT_Int_Rectangle const *extent); 00960 EXTERNAL void HC_CDECL HD_Standard_Draw_Window_Frame (HT_Net_Rendition const *nr, 00961 HT_Int_Rectangle const *extent, 00962 HT_Int_Rectangle alter *frame, 00963 bool calculate_only); 00964 EXTERNAL bool HC_CDECL HD_Standard_Driver (HT_Driver alter *actor, int request); 00965 EXTERNAL void HC_CDECL HD_Standard_Render (HT_Net_Rendition const *nr, HT_Geometry const *geometry, 00966 unsigned HT_Integer32 mask, bool single); 00967 EXTERNAL void HC_CDECL HD_Standard_Resize_Outer_Window (HT_Display_Context const *indc); 00968 EXTERNAL bool HC_CDECL HD_Standard_Select (HT_Display_Context alter *dc, HT_Selection_Event alter *se); 00969 EXTERNAL void HC_CDECL HD_Standard_UnDraw_Overlay_List (HT_Net_Rendition const *nr); 00970 EXTERNAL bool HC_CDECL HD_Standard_Update (HT_Display_Context alter *dc); 00971 EXTERNAL void HC_CDECL HD_Start_Drivers (void); 00972 EXTERNAL void HC_CDECL HD_Start_Priority_Inclusion (HT_Net_Rendition const *nr, long priority); 00973 EXTERNAL void HC_CDECL HD_Std_Create_Frame_Buffer (HT_Net_Rendition const *nr, 00974 int width, 00975 int height, 00976 char format, 00977 HT_Image alter * alter *image, 00978 void alter * alter *driver_specific); 00979 EXTERNAL void HC_CDECL HD_Std_Destroy_Frame_Buffer (HT_Net_Rendition const *nr, HT_Image alter *image, void alter *driver_specific); 00980 EXTERNAL void HC_CDECL HD_Std_Display_Frame_Buffer (HT_Net_Rendition const *nr, 00981 HT_DC_Point const *start, 00982 HT_DC_Point const *end, 00983 HT_Image const *image, 00984 int hoffset, 00985 int voffset, 00986 void const *driver_specific); 00987 EXTERNAL void HC_CDECL HD_Std_3D_Elliptical_Arc (HT_Net_Rendition const *nr, HT_Elliptical_Arc const *arc); 00988 EXTERNAL void HC_CDECL HD_Std_3D_Stenciled_Quad (HT_Net_Rendition const *inr, 00989 HT_Point const *points, 00990 HT_Stencil_Bitmap const *stencil); 00991 EXTERNAL void HC_CDECL HD_Std_DC_Colorized_Face (HT_Net_Rendition const *nr, 00992 int count, 00993 HT_DC_Point const *dcp, 00994 HT_RGBAS32 const *color); 00995 00996 EXTERNAL void HC_CDECL HD_Std_DC_Colorized_Polyline (HT_Net_Rendition const *nr, 00997 int count, 00998 HT_DC_Point const *points, 00999 HT_RGBAS32 const *color, 01000 bool single); 01001 EXTERNAL void HC_CDECL HD_Std_DC_Colorized_Polymarker (HT_Net_Rendition const *nr, 01002 int count, 01003 HT_DC_Point const *where, 01004 HT_RGBAS32 const *color, 01005 bool single, float const * rotations, 01006 float const *size_fixups); 01007 EXTERNAL void HC_CDECL HD_Std_DC_Colorized_Polytris (HT_Net_Rendition const *oldnr, 01008 int count, 01009 HT_DC_Point const *points, 01010 HT_RGBAS32 const *color, 01011 bool single); 01012 EXTERNAL void HC_CDECL HD_Std_DC_Elliptical_Arc (HT_Net_Rendition const *nr, 01013 HT_DC_Point const *center, 01014 HT_DC_Point const *radius, 01015 float start, 01016 float end); 01017 EXTERNAL void HC_CDECL HD_Std_DC_Gouraud_Polyline (HT_Net_Rendition const *oldnr, 01018 int count, 01019 HT_DC_Point const *points, 01020 HT_RGBAS32 const *colors); 01021 EXTERNAL void HC_CDECL HD_Std_DC_Gouraud_Polytris (HT_Net_Rendition const *oldnr, 01022 int count, 01023 HT_DC_Point const *points, 01024 HT_RGBAS32 const *colors); 01025 EXTERNAL void HC_CDECL HD_Std_DC_Outline_Ellipse (HT_Net_Rendition const *nr, 01026 HT_DC_Point const *where, 01027 HT_DC_Point const *radii); 01028 EXTERNAL void HC_CDECL HD_Std_DC_Phong_Polyline (HT_Net_Rendition const *nr, 01029 int count, 01030 HT_DC_Point const *points, 01031 HT_RGBA const *colors, 01032 HT_Plane const *planes); 01033 EXTERNAL void HC_CDECL HD_Std_DC_Phong_Polytris (HT_Net_Rendition const *nr, 01034 int count, 01035 HT_DC_Point const *points, 01036 HT_RGBA const *colors, 01037 HT_Plane const *planes); 01038 EXTERNAL void HC_CDECL HD_Std_DC_Textured_Polyline (HT_Net_Rendition const *nr, 01039 int count, 01040 HT_DC_Point const *points, 01041 HT_RGBA const *colors, 01042 HT_Plane const *planes, 01043 HT_Parameter const *vertex_params, 01044 int param_width, 01045 HT_Parameter_Flags param_flags); 01046 EXTERNAL void HC_CDECL HD_Std_DC_Textured_Polytris (HT_Net_Rendition const *nr, 01047 int count, 01048 HT_DC_Point const *points, 01049 HT_RGBA const *colors, 01050 HT_Plane const *planes, 01051 HT_Parameter const *vertex_params, 01052 int param_width, 01053 HT_Parameter_Flags param_flags); 01054 EXTERNAL void HC_CDECL HD_Std_DC_Stenciled_Quad (HT_Net_Rendition const *nr, 01055 HT_DC_Point const *points, 01056 HT_Stencil_Bitmap const *stencil); 01057 EXTERNAL void HC_CDECL HD_Std_Retitle_Outer_Window (HT_Display_Context const *indc); 01058 EXTERNAL int HC_CDECL HD_Fast_Test_Boundings ( 01059 HT_Net_Rendition const *nr, 01060 int count, 01061 HT_Bounding const **boundings, 01062 int extent_limit, 01063 bool foreshorten, 01064 int *results); 01065 EXTERNAL int HC_CDECL HD_Transform_And_Test_Bounding (HT_Net_Rendition const *nr, 01066 HT_Bounding const *bounding, 01067 HT_Rectangle const *outer, 01068 HT_Clip_Rectangle const *inner, 01069 int extent_limit); 01070 EXTERNAL int HC_CDECL HD_Transform_And_Test_Bounding_Return_Extents (HT_Net_Rendition const *nr, 01071 HT_Bounding const *bounding, 01072 HT_Rectangle const *outer, 01073 HT_Clip_Rectangle const *inner, 01074 int extent_limit, int *actual_extent); 01075 EXTERNAL int HC_CDECL HD_Transform_And_Test_XYZ_XY (HT_Transform_Rendition const *tr, 01076 int point_count, 01077 HT_Point const *in, 01078 float const *matrixp, 01079 HT_Rectangle const *clip, 01080 HT_DC_Point alter *out, 01081 float alter *ws, 01082 unsigned char alter *clip_case); 01083 EXTERNAL int HC_CDECL HD_Transform_And_Test_XYZ_XYZ (HT_Transform_Rendition const *tr, 01084 int point_count, 01085 HT_Point const *in, 01086 float const *matrixp, 01087 HT_Rectangle const *clip, 01088 HT_DC_Point alter *out, 01089 float alter *ws, 01090 unsigned char alter *clip_case); 01091 EXTERNAL int HC_CDECL HD_Transform_And_Test_XYZ_XYZ_W (HT_Transform_Rendition const *tr, 01092 int point_count, 01093 HT_Point const *in, 01094 float const *matrixp, 01095 HT_Rectangle const *clip, 01096 HT_DC_Point alter *out, 01097 float alter *ws, 01098 unsigned char alter *clip_case); 01099 EXTERNAL int HC_CDECL HD_Transform_And_Test_XYZ_XY_W (HT_Transform_Rendition const *tr, 01100 int point_count, 01101 HT_Point const *in, 01102 float const *matrixp, 01103 HT_Rectangle const *clip, 01104 HT_DC_Point alter *out, 01105 float alter *ws, 01106 unsigned char alter *clip_case); 01107 EXTERNAL int HC_CDECL HD_Transform_And_Test_XY_XY (HT_Transform_Rendition const *tr, 01108 int point_count, 01109 HT_Point const *in, 01110 float const *matrixp, 01111 HT_Rectangle const *clip, 01112 HT_DC_Point alter *out, 01113 float alter *ws, 01114 unsigned char alter *clip_case); 01115 EXTERNAL int HC_CDECL HD_Transform_Not_At_All (HT_Transform_Rendition const *tr, 01116 int point_count, 01117 HT_Point const *in, 01118 float const *matrixp, 01119 HT_Rectangle const *clip, 01120 HT_DC_Point alter *out, 01121 float alter *ws, 01122 unsigned char alter *clip_case); 01123 EXTERNAL void HC_CDECL HD_Undo_Screen (HT_Net_Rendition const *nr, HT_Matrix alter *matrix); 01124 EXTERNAL void HC_CDECL HD_Unload_All_Fonts (HT_Display_Context alter *dc); 01125 EXTERNAL void HC_CDECL HD_Unload_Defined_Font (HT_Display_Context const *dc, HT_Font_Instance alter *instance); 01126 EXTERNAL void HC_CDECL HD_Unload_Freetype_Font (HT_Display_Context const *dc, HT_Font_Instance alter *instance); 01127 EXTERNAL void HC_CDECL HD_Upwind_Driver_Options (HT_Display_Context alter *dc); 01128 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Upwind_Rendition (HT_Net_Rendition alter *nr); 01129 EXTERNAL void HD_Validate_Clip_Half_Planes (HT_Convex_Clip_Region *cr); 01130 EXTERNAL void HC_CDECL HD_Validate_Object_To_Proj (HT_Net_Rendition const *nr); 01131 EXTERNAL void HC_CDECL HD_Validate_Object_To_View (HT_Net_Rendition const *nr); 01132 EXTERNAL void HC_CDECL HD_Validate_World_To_Screen (HT_Net_Rendition const *nr); 01133 EXTERNAL bool HC_CDECL HD_Win32_OpenGL_Driver (HT_Driver alter * actor, int request); 01134 EXTERNAL void HC_CDECL HD_X11_Consume_Key (HT_Display_Context const *dc, 01135 void alter *xevent_void, 01136 int alter *first_key, 01137 void alter *display_void); 01138 EXTERNAL void HC_CDECL HD_X11_Consume_Key_Release (HT_Display_Context const *dc, void alter *xevent_void); 01139 EXTERNAL bool HC_CDECL HD_X11_Driver (HT_Driver alter *actor, int request); 01140 01141 EXTERNAL float HC_CDECL HD_Compute_Generic_Size ( 01142 HT_Net_Rendition const * nr, 01143 double value, 01144 HT_Generic_Size_Units units, 01145 float nominal_size, 01146 bool full_transforms, 01147 bool alter * success, 01148 bool errors); 01149 EXTERNAL void HC_CDECL HD_HL_3D_Polyhedron ( 01150 HT_Net_Rendition const * nr, 01151 HT_Polyhedron const * phedron); 01152 01153 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Fixup_Attributes ( 01154 HT_Net_Rendition const *nr, 01155 HT_Attribute_Lock const * lock); 01156 01157 EXTERNAL void HC_CDECL HD_Generate_Cut_Geometry ( 01158 HT_Net_Rendition const * nr, 01159 HT_Subsegment const *start, 01160 HT_Geometry const *geometry); 01161 EXTERNAL void HC_CDECL HD_Process_Cut_Geometry ( 01162 HT_Net_Rendition const * nr, 01163 HT_Subsegment const * start, 01164 bool generate, 01165 bool clean); 01166 EXTERNAL void HD_Delete_Cut_Geometry_Pieces ( 01167 HT_Display_Context alter * dc); 01168 EXTERNAL void HD_Shadow_Update ( 01169 HT_Net_Rendition const *nr, 01170 HT_Subsegment const *start); 01171 EXTERNAL void HD_Shadow_Map_Update ( 01172 HT_Net_Rendition alter *nr, 01173 HT_Subsegment const *start); 01174 EXTERNAL bool HC_CDECL HD_DX9_Driver (HT_Driver alter *actor, int request); 01175 EXTERNAL int HD_Generate_Complete_Points ( 01176 HT_Point const *center, 01177 HT_Vector const *basis1, 01178 HT_Vector const *basis2, 01179 int count, 01180 bool close_the_loop, 01181 HT_Point alter *pl); 01182 01183 01184 EXTERNAL void HC_CDECL HD_SZB_DC_Polytriangle ( 01185 HT_Net_Rendition const * nr, 01186 int count, 01187 HT_DC_Point const * points); 01188 EXTERNAL void HC_CDECL HD_SZB_DC_Colorized_Polytris ( 01189 HT_Net_Rendition const * nr, 01190 int count, 01191 HT_DC_Point const * points, 01192 HT_RGBAS32 const * color, 01193 bool single); 01194 EXTERNAL void HC_CDECL HD_SZB_DC_Gouraud_Polytris ( 01195 HT_Net_Rendition const * nr, 01196 int count, 01197 HT_DC_Point const * points, 01198 HT_RGBAS32 const * colors); 01199 EXTERNAL void HC_CDECL HD_SZB_DC_Phong_Polytris ( 01200 HT_Net_Rendition const *nr, 01201 int count, 01202 HT_DC_Point const *points, 01203 HT_RGBA const *colors, 01204 HT_Plane const *planes); 01205 EXTERNAL void HC_CDECL HD_SZB_DC_Textured_Polytris ( 01206 HT_Net_Rendition const *nr, 01207 int count, 01208 HT_DC_Point const *points, 01209 HT_RGBA const *colors, 01210 HT_Plane const *planes, 01211 float const *params, 01212 HT_Integer32 param_width, 01213 HT_Integer32 param_flags); 01214 01215 EXTERNAL void HC_CDECL HD_SZB_DC_Polyline ( 01216 HT_Net_Rendition const * nr, 01217 int count, 01218 HT_DC_Point const * points); 01219 EXTERNAL void HC_CDECL HD_SZB_DC_Colorized_Polyline ( 01220 HT_Net_Rendition const * nr, 01221 int count, 01222 HT_DC_Point const * points, 01223 HT_RGBAS32 const * color, 01224 bool single); 01225 EXTERNAL void HC_CDECL HD_SZB_DC_Gouraud_Polyline ( 01226 HT_Net_Rendition const * nr, 01227 int count, 01228 HT_DC_Point const * points, 01229 HT_RGBAS32 const * colors); 01230 01231 EXTERNAL void HC_CDECL HD_SZB_DC_Rectangle ( 01232 HT_Net_Rendition const * nr, 01233 int left, int right, int bottom, int top); 01234 01235 EXTERNAL void HC_CDECL HD_SZB_Process_Triangle ( 01236 HT_Net_Rendition const *nr); 01237 EXTERNAL void HC_CDECL HD_SZB_Process_Line ( 01238 HT_Net_Rendition const *nr); 01239 EXTERNAL void HC_CDECL HD_SZB_Process_Rectangle ( 01240 HT_Net_Rendition const *nr); 01241 01242 EXTERNAL void HC_CDECL HD_Compute_Polyhedron_LOD ( 01243 HT_Net_Rendition const *nr, 01244 HT_Polyhedron *phon, 01245 int start_depth); 01246 01247 01248 01249 01250 EXTERNAL HT_Octree_Base * HC_CDECL HD_Generate_Octree ( 01251 HT_Net_Rendition * nr, 01252 HT_Subsegment const * start); 01253 EXTERNAL void HC_CDECL HD_Delete_Octree ( 01254 HT_Net_Rendition * nr, 01255 HT_Octree_Base * node); 01256 EXTERNAL void HC_CDECL HD_Send_Queries ( 01257 HT_Net_Rendition * nr, 01258 HT_Octree_Base * root); 01259 EXTERNAL void HC_CDECL HD_Process_Queries ( 01260 HT_Net_Rendition * nr, 01261 HT_Octree_Base * root); 01262 01263 EXTERNAL void HC_CDECL HD_Sort_Grid_Delete ( 01264 HT_Sort_Grid *sg); 01265 01266 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Find_Local_Cutting_Planes ( 01267 HT_Net_Rendition const *inr, HT_Segment const *seg); 01268 01269 EXTERNAL void HC_CDECL HD_Select_Sphere_Polyhedron ( 01270 HT_Net_Rendition const *nr, HT_Sphere const *sphere); 01271 01272 EXTERNAL void HC_CDECL HD_Vanillify_Actions ( 01273 long pending, 01274 HT_Action_Table alter *actions); 01275 01276 EXTERNAL void HC_CDECL HD_Free_HL_Data (HT_HL_Data alter *data); 01277 01278 EXTERNAL void HC_CDECL HD_Unwrap_Polytriangle (HT_Net_Rendition const *oldnr, int count, HT_DC_Point const *points); 01279 EXTERNAL void HC_CDECL HD_Unwrap_Colorized_Polytriangle (HT_Net_Rendition const *oldnr, int count, HT_DC_Point const *points, HT_RGBAS32 const *color, bool single); 01280 EXTERNAL void HC_CDECL HD_Unwrap_Gouraud_Polytriangle (HT_Net_Rendition const *oldnr, int count, HT_DC_Point const *points, HT_RGBAS32 const *colors); 01281 EXTERNAL void HC_CDECL HD_Unwrap_Reshaded_Polytriangle (HT_Net_Rendition const *oldnr, int count, HT_DC_Point const *points, 01282 HT_RGBA const * colors, HT_Plane const * planes, 01283 HT_Parameter const *vertex_params, int param_width, HT_Parameter_Flags alter param_flags); 01284 EXTERNAL void HC_CDECL HD_Unwrap_Polyline (HT_Net_Rendition const *oldnr, int count, HT_DC_Point const *points); 01285 EXTERNAL void HC_CDECL HD_Unwrap_Colorized_Polyline (HT_Net_Rendition const *oldnr, int count, HT_DC_Point const *points, HT_RGBAS32 const *color, bool single); 01286 EXTERNAL void HC_CDECL HD_Unwrap_Gouraud_Polyline (HT_Net_Rendition const *oldnr, int count, HT_DC_Point const *points, HT_RGBAS32 const *colors); 01287 EXTERNAL void HC_CDECL HD_Unwrap_Reshaded_Polyline (HT_Net_Rendition const *oldnr, int count, HT_DC_Point const *points, 01288 HT_RGBA const * colors, HT_Plane const * planes, 01289 HT_Parameter const *vertex_params, int param_width, HT_Parameter_Flags alter param_flags); 01290 EXTERNAL void HC_CDECL HD_Unwrap_Polymarker (HT_Net_Rendition const *oldnr, int count, HT_DC_Point const *points, float const * rotations, float const *size_fixups); 01291 EXTERNAL void HC_CDECL HD_Unwrap_Colorized_Polymarker (HT_Net_Rendition const *oldnr, int count, HT_DC_Point const *points, HT_RGBAS32 const *color, bool single, float const * rotations, float const *size_fixups); 01292 EXTERNAL void HC_CDECL HD_Compute_Shadow_Resolution (HT_Net_Rendition const *inr, HT_Subsegment const *start); 01293 EXTERNAL void HC_CDECL HD_Reposition_Shadow (HT_Net_Rendition const *inr, HT_Subsegment const *start); 01294 EXTERNAL void HC_CDECL HD_Flush_Hidden_Item_Cache (HT_Display_Context alter *dc); 01295 EXTERNAL void HC_CDECL HD_Free_Hidden_Item_Cache (HT_Display_Context alter *dc); 01296 EXTERNAL void HC_CDECL HD_Clean_Texture_Image_Cache (HT_Net_Rendition const *inr, HT_Texture const *txr); 01297 EXTERNAL void HC_CDECL HD_Hide_3D_Tristrip( 01298 HT_Net_Rendition const *nr, 01299 HT_Net_Rendition const *back_nr, 01300 HT_Tristrip const *ts, 01301 int flags); 01302 01303 EXTERNAL void HC_CDECL HD_Cache_From_Hidden_Tristrip (HT_Hidden_Tristrip alter *hidden_tristrip, float next_z); 01304 EXTERNAL void HC_CDECL HD_Free_Hidden_Tristrip (HT_Hidden_Tristrip alter *hidden_tristrip); 01305 EXTERNAL void HC_CDECL HD_Alternate_Hidden_Root (HT_Display_Context alter *dc, int mode); 01306 EXTERNAL void HC_CDECL HD_Flush_Octree_Queries (HT_Net_Rendition * nr, HT_Subsegment const * start); 01307 EXTERNAL HT_Cutting_Plane_Set alter * HC_CDECL HD_Copy_Cutting_Plane_Sets (HT_Cutting_Plane_Set const *oldcps); 01308 EXTERNAL void HC_CDECL HD_Free_Cutting_Plane_Sets (HT_Cutting_Plane_Set const *cps); 01309 EXTERNAL void HC_CDECL HD_Validate_Cutting_Plane_Sets (HT_Cutting_Plane_Rendition alter *cpr); 01310 EXTERNAL void HC_CDECL HD_Validate_Transparent_Cutting_Sets (HT_Cutting_Plane_Rendition alter *cpr); 01311 EXTERNAL void* HC_CDECL HD_Find_X11_Display(char const * const name); 01312 EXTERNAL void HC_CDECL HD_Free_X11_Display(void const * display); 01313 EXTERNAL void HD_Validate_Elliptical_Arc ( 01314 HT_Generic_Arc const *curve, 01315 HT_Elliptical_Arc alter *arc, 01316 float *aspect); 01317 EXTERNAL void HC_CDECL HD_DC_Generate_Elliptical_Bezier ( 01318 HT_Net_Rendition const *nr, 01319 HT_DC_Point const *center, 01320 HT_DC_Point const *basis1, 01321 HT_DC_Point const *basis2, 01322 float start, 01323 float end, 01324 int *count, 01325 HT_DC_Point *buffer); 01326 EXTERNAL void HC_CDECL HD_Generate_Elliptical_Bezier ( 01327 HT_Net_Rendition const *nr, 01328 HT_Generic_Arc const *curve, 01329 int *count, 01330 HT_DC_Point *buffer); 01331 EXTERNAL void HC_CDECL HD_Generate_Polyline_Bezier ( 01332 int count, 01333 HT_Point const *points, 01334 HT_Point alter *buffer); 01335 01336 EXTERNAL void HC_CDECL HD_Std_Depth_Peeling (HT_Display_Context alter * dc); 01337 EXTERNAL void HC_CDECL HD_Draw_Deferred_3D_Geometry (HT_Deferred_3D alter * list, bool disable_z_writes); 01338 EXTERNAL void HC_CDECL HD_Free_Deferred_3D_Geometry (HT_Deferred_3D alter * list); 01339 EXTERNAL void HC_CDECL HD_Isolate_Tristrip_Data (HT_Tristrip const * ts); 01340 EXTERNAL void HC_CDECL HD_Isolate_Polyedge_Data (HT_Polyedge const * pe); 01341 01342 EXTERNAL void HC_CDECL HD_Select_DC_Polyline (HT_Net_Rendition const *nr, int count, HT_DC_Point const *points); 01343 EXTERNAL void HC_CDECL HD_Select_DC_Polytriangle (HT_Net_Rendition const *nr, int count, HT_DC_Point const *points); 01344 01345 01346 EXTERNAL void HC_CDECL HD_Defer_Peeled_Trans_3D_Polyline (HT_Net_Rendition const *nr, HT_Polyline const *polyline); 01347 EXTERNAL void HC_CDECL HD_Defer_Peeled_Trans_3D_Tristrip (HT_Net_Rendition const *nr, HT_Tristrip const *tristrip); 01348 EXTERNAL void HC_CDECL HD_Defer_Peeled_Trans_3D_Ellipse (HT_Net_Rendition const *nr, HT_Ellipse const *ellipse); 01349 EXTERNAL void HC_CDECL HD_Defer_Peeled_Trans_3D_Polygon (HT_Net_Rendition const *nr, HT_Polygon const *polygon); 01350 EXTERNAL void HC_CDECL HD_Defer_Peeled_Trans_3D_Polyedge (HT_Net_Rendition const *nr, HT_Polyedge const *polyedge); 01351 01352 EXTERNAL void HC_CDECL HD_Defer_Antialiased_3D_Polyline (HT_Net_Rendition const *nr, HT_Polyline const *polyline); 01353 EXTERNAL void HC_CDECL HD_Defer_Antialiased_3D_Polygon (HT_Net_Rendition const *nr, HT_Polygon const *polygon); 01354 EXTERNAL void HC_CDECL HD_Defer_Antialiased_3D_Polyedge (HT_Net_Rendition const *nr, HT_Polyedge const *polyedge); 01355 01356 01357 EXTERNAL unsigned short HC_CDECL HD_Map_Freetype_Char_Index( 01358 HT_Font_Instance const *specific, 01359 unsigned short kar); 01360 01361 EXTERNAL HT_Stencil_Bitmap * HC_CDECL HD_Make_Freetype_Stencil( 01362 HT_Net_Rendition const *nr, 01363 HT_Font_Instance const *specific, 01364 unsigned short mapped_index, 01365 int bitmap_height, 01366 int bolding_level, 01367 float xrslant, 01368 float xrrotation, 01369 float xrwidth_scale, 01370 bool antialias); 01371 01372 01373 EXTERNAL unsigned short HC_CDECL HD_Standard_Map_Char_Index( 01374 HT_Font_Instance const *specific, 01375 unsigned short kar); 01376 01377 EXTERNAL void HC_CDECL HD_Draw_Stenciled_Font ( 01378 HT_Net_Rendition const *nr, 01379 HT_Font_Instance const *specific, 01380 HT_Point const * where, 01381 int count, 01382 unsigned short const * string, 01383 HT_Vector const * scale); 01384 01385 EXTERNAL void HC_CDECL HD_Draw_Dead_Font ( 01386 HT_Net_Rendition const *nr, 01387 HT_Font_Instance const *specific, 01388 HT_Point const * where, 01389 int count, 01390 unsigned short const * string, 01391 HT_Vector const * scale); 01392 01393 EXTERNAL void HC_CDECL HD_Standard_Size_Font(HT_Net_Rendition const *nr, HT_Font_Instance alter *specific); 01394 EXTERNAL bool HC_CDECL HD_Standard_Will_Use_Stencil(HT_Net_Rendition const *nr, HT_Font_Instance const *specific); 01395 EXTERNAL bool HC_CDECL HD_Freetype_Will_Use_Stencil(HT_Net_Rendition const *nr, HT_Font_Instance const *specific); 01396 01397 EXTERNAL void HC_CDECL HD_Search_Null_Clip_Tree (HT_Net_Rendition const *nr, HT_Subsegment const *start, HT_Integer32 forced_activity); 01398 EXTERNAL HT_Net_Rendition alter * HC_CDECL HD_Reset_Tree_State (HT_Net_Rendition alter *nr); 01399 01400 EXTERNAL void HC_CDECL HD_Defer_Tree_To_Heap (HT_Net_Rendition const *nr, HT_Geometry const *geometry, unsigned HT_Integer32 mask, bool single); 01401 EXTERNAL void HC_CDECL HD_Defer_Tree_To_Sort_Grid (HT_Net_Rendition const *nr, HT_Geometry const *geometry, unsigned HT_Integer32 mask, bool single); 01402 EXTERNAL void HC_CDECL HD_Defer_Trees_From_Heap (HT_Net_Rendition const *nr, HT_Display_Context alter *dc); 01403 EXTERNAL void HC_CDECL HD_Defer_Trees_From_Sort_Grid (HT_Net_Rendition const *nr, HT_Display_Context alter *dc); 01404 EXTERNAL void HC_CDECL HD_Handle_FBI_Pending_Window (HT_Net_Rendition const *nr); 01405 01406 EXTERNAL void HC_CDECL HD_Adjust_WLimit (HT_Net_Rendition alter *nr, HT_Subsegment const *seg); 01407 01408 EXTERNAL int alter * HC_CDECL HD_Get_Screen_Facings (HT_Net_Rendition const *nr, HT_Tristrip const *ts, int face_count); 01409 01410 EXTERNAL HT_Net_Rendition const * HC_CDECL HD_Prepare_Geometry_Transparency (HT_Net_Rendition const * inr, char const * ident); 01411 01412 EXTERNAL void HC_CDECL HD_Process_Geo_Ref_List (HT_Display_Context alter *dc); 01413 01414 EXTERNAL unsigned int HC_CDECL HD_Type_To_Mask (int type); 01415 EXTERNAL unsigned int HC_CDECL HD_Geometry_To_Mask (HT_Geometry const *g); 01416 01417 01418 /* for IM cleanup */ 01419 EXTERNAL void HC_CDECL HD_Free_Convex_Clip_Region (HT_Convex_Clip_Region const *victim); 01420 EXTERNAL HT_Convex_Clip_Region * HC_CDECL HD_New_Convex_Clip_Region(HT_Net_Rendition const *nr, int count, HT_DC_Point const *points); 01421 01422 EXTERNAL void HC_CDECL HD_Add_Cutting_Plane (HT_Net_Rendition alter *nr, HT_Plane const *plane); 01423 EXTERNAL void HC_CDECL HD_Remove_Cutting_Planes(HT_Net_Rendition alter *nr); 01424 01425 EXTERNAL void HC_CDECL HD_Draw_Window(HT_Net_Rendition const *nr, HT_Int_Rectangle const *extent); 01426 01427 EXTERNAL void HC_CDECL HD_Free_User_Face_Pattern(HT_User_Face_Pattern const *up); 01428 01429 EXTERNAL void HD_Figure_Driver_Color (HT_Net_Rendition const * nr, HT_RGB const * in_color, HT_Driver_Color * out_color); 01430 01431 EXTERNAL float HC_CDECL HD_Compute_Character_Width(HT_Net_Rendition const *nr, HT_Text_Info alter *ti, int index); 01432 01433 EXTERNAL HT_Point const * HC_CDECL HD_Compute_Character_Position( 01434 HT_Net_Rendition const *nr, HT_Text_Info alter *ti, int index); 01435 01436 EXTERNAL HT_Point const * HC_CDECL HD_Compute_Transformed_Text_Position( 01437 HT_Net_Rendition const *nr, HT_Text_Info alter *ti, HT_Point const * point); 01438 01439 01440 EXTERNAL HT_Driver_Action HC_CDECL HD_AIX_Load_Dynamic_Driver (char const *driver_name); 01441 EXTERNAL void HC_CDECL HD_AIX_UnLoad_Dynamic_Driver (HT_Driver_Action driver_routine); 01442 01443 EXTERNAL HT_Driver_Action HC_CDECL HD_HPUX_Load_Dynamic_Driver (char const *driver_name); 01444 EXTERNAL void HC_CDECL HD_HPUX_UnLoad_Dynamic_Driver (HT_Driver_Action driver_routine); 01445 01446 EXTERNAL HT_Driver_Action HC_CDECL HD_IRIX_Load_Dynamic_Driver (char const *driver_name); 01447 EXTERNAL void HC_CDECL HD_IRIX_UnLoad_Dynamic_Driver (HT_Driver_Action driver_routine); 01448 01449 EXTERNAL HT_Driver_Action HC_CDECL HD_Linux_Load_Dynamic_Driver (char const *driver_name); 01450 EXTERNAL void HC_CDECL HD_Linux_UnLoad_Dynamic_Driver (HT_Driver_Action driver_routine); 01451 01452 EXTERNAL HT_Driver_Action HC_CDECL HD_OSX_Load_Dynamic_Driver (char const *driver_name); 01453 EXTERNAL void HC_CDECL HD_OSX_UnLoad_Dynamic_Driver (HT_Driver_Action driver_routine); 01454 01455 EXTERNAL HT_Driver_Action HC_CDECL HD_Sun_Load_Dynamic_Driver (char const *driver_name); 01456 EXTERNAL void HC_CDECL HD_Sun_UnLoad_Dynamic_Driver (HT_Driver_Action driver_routine); 01457 01458 EXTERNAL void HC_CDECL HD_W32_UnLoad_Dynamic_Driver (HT_Driver_Action driver_routine); 01459 EXTERNAL HT_Driver_Action HC_CDECL HD_Win32_Load_Dynamic_Driver (char const *driver_name); 01460 01461 01462 #define HD_PROTO_DEFINED 1 01463 #endif /* HD_PROTO_DEFINED */ 01464 01465