Mac OS 9
GXErrors.h
Go to the documentation of this file.
1 
19 #ifndef __GXERRORS__
20 #define __GXERRORS__
21 
22 #ifndef __CONDITIONALMACROS__
23 #include <ConditionalMacros.h>
24 #endif
25 
26 #ifndef __MIXEDMODE__
27 #include <MixedMode.h>
28 #endif
29 
30 #ifndef __GXTYPES__
31 #include <GXTypes.h>
32 #endif
33 
34 #if PRAGMA_ONCE
35 #pragma once
36 #endif
37 
38 #ifdef __cplusplus
39 extern "C"
40 {
41 #endif
42 
43 #if PRAGMA_IMPORT
44 #pragma import on
45 #endif
46 
47 #if PRAGMA_STRUCT_ALIGN
48 #pragma options align = mac68k
49 #elif PRAGMA_STRUCT_PACKPUSH
50 #pragma pack(push, 2)
51 #elif PRAGMA_STRUCT_PACK
52 #pragma pack(2)
53 #endif
54 
55 #if defined(__MWERKS__) && TARGET_CPU_68K
56 #pragma push
57 #pragma pointers_in_D0
58 #endif
59 
60  enum
61  {
62  gxFirstSystemError = -27999,
64  gxLastFatalError = -27951,
65  gxFirstNonfatalError = -27950,
66  gxFirstFontScalerError = -27900,
67  gxLastFontScalerError = -27851,
68  gxFirstParameterError = -27850,
69  gxFirstImplementationLimitError = -27800,
70  gxFirstSystemDebuggingError = -27700,
71  gxLastSystemError = -27000,
72  gxFirstLibraryError = 1048576L,
73  gxLastLibraryError = 2097151L,
74  gxFirstAppError = 2097152L,
75  gxLastAppError = 4194303L,
78  gxFirstParameterOutOfRangeWarning = -26900,
79  gxFirstFontScalerWarning = -26850,
80  gxFirstSystemDebuggingWarning = -26700,
81  gxLastSystemWarning = -26000,
82  gxFirstLibraryWarning = 4194304L,
83  gxLastLibraryWarning = 5242879L,
84  gxFirstAppWarning = 5242880L,
85  gxLastAppWarning = 7340031L,
87  gxLastSystemNotice = -25500,
88  gxFirstLibraryNotice = 7340032L,
89  gxLastLibraryNotice = 7602175L,
90  gxFirstAppNotice = 7602176L,
91  gxLastAppNotice = 8388607L
92  };
93 
94  enum
95  {
98  internal_fatal_error = gxFirstFatalError + 1,
99  no_outline_font_found = gxFirstFatalError + 2,
100  not_enough_memory_for_graphics_client_heap = gxFirstFatalError + 3,
101  could_not_create_backing_store = gxFirstFatalError + 4
102  };
103 
104  enum
105  {
107  internal_error = gxFirstNonfatalError,
108  internal_font_error = gxFirstNonfatalError + 1,
109  internal_layout_error = gxFirstNonfatalError + 2
110  };
111 
112  enum
113  {
115  could_not_dispose_backing_store = internal_layout_error + 2,
116  unflattening_interrupted_by_client = internal_layout_error + 3
117  };
118 
119  enum
120  {
122  font_cannot_be_changed = internal_layout_error + 4,
123  illegal_font_parameter = internal_layout_error + 5
124  };
125 
126  enum
127  {
129  null_font_scaler_context = gxFirstFontScalerError,
130  null_font_scaler_input = gxFirstFontScalerError + 1,
131  invalid_font_scaler_context = gxFirstFontScalerError + 2,
132  invalid_font_scaler_input = gxFirstFontScalerError + 3,
133  invalid_font_scaler_font_data = gxFirstFontScalerError + 4,
134  font_scaler_newblock_failed = gxFirstFontScalerError + 5,
135  font_scaler_getfonttable_failed = gxFirstFontScalerError + 6,
136  font_scaler_bitmap_allocation_failed = gxFirstFontScalerError + 7,
137  font_scaler_outline_allocation_failed = gxFirstFontScalerError + 8,
138  required_font_scaler_table_missing = gxFirstFontScalerError + 9,
139  unsupported_font_scaler_outline_format = gxFirstFontScalerError + 10,
140  unsupported_font_scaler_stream_format = gxFirstFontScalerError + 11,
141  unsupported_font_scaler_font_format = gxFirstFontScalerError + 12,
142  font_scaler_hinting_error = gxFirstFontScalerError + 13,
143  font_scaler_rasterizer_error = gxFirstFontScalerError + 14,
144  font_scaler_internal_error = gxFirstFontScalerError + 15,
145  font_scaler_invalid_matrix = gxFirstFontScalerError + 16,
146  font_scaler_fixed_overflow = gxFirstFontScalerError + 17,
147  font_scaler_api_version_mismatch = gxFirstFontScalerError + 18,
148  font_scaler_streaming_aborted = gxFirstFontScalerError + 19,
149  unknown_font_scaler_error = gxFirstFontScalerError + 20
150  };
151 
152  enum
153  {
155  parameter_is_nil = gxFirstParameterError,
156  shape_is_nil = gxFirstParameterError + 1,
157  style_is_nil = gxFirstParameterError + 2,
158  transform_is_nil = gxFirstParameterError + 3,
159  ink_is_nil = gxFirstParameterError + 4,
160  transferMode_is_nil = gxFirstParameterError + 5,
161  color_is_nil = gxFirstParameterError + 6,
162  colorProfile_is_nil = gxFirstParameterError + 7,
163  colorSet_is_nil = gxFirstParameterError + 8,
164  spoolProcedure_is_nil = gxFirstParameterError + 9,
165  tag_is_nil = gxFirstParameterError + 10,
166  type_is_nil = gxFirstParameterError + 11,
167  mapping_is_nil = gxFirstParameterError + 12,
168  invalid_viewDevice_reference = gxFirstParameterError + 13,
169  invalid_viewGroup_reference = gxFirstParameterError + 14,
170  invalid_viewPort_reference = gxFirstParameterError + 15
171  };
172 
173  enum
174  {
178  gxFirstImplementationLimitError,
179  number_of_points_exceeds_implementation_limit =
180  gxFirstImplementationLimitError + 1,
181  size_of_polygon_exceeds_implementation_limit =
182  gxFirstImplementationLimitError + 2,
183  size_of_path_exceeds_implementation_limit =
184  gxFirstImplementationLimitError + 3,
185  size_of_text_exceeds_implementation_limit =
186  gxFirstImplementationLimitError + 4,
187  size_of_bitmap_exceeds_implementation_limit =
188  gxFirstImplementationLimitError + 5,
189  number_of_colors_exceeds_implementation_limit =
190  gxFirstImplementationLimitError + 6,
191  procedure_not_reentrant = gxFirstImplementationLimitError + 7
192  };
193 
194  enum
195  {
197  functionality_unimplemented = gxFirstSystemDebuggingError,
198  clip_to_frame_shape_unimplemented =
199  gxFirstSystemDebuggingError + 1,
200  illegal_font_storage_type = gxFirstSystemDebuggingError + 2,
201  illegal_font_storage_reference = gxFirstSystemDebuggingError + 3,
202  illegal_font_attributes =
203  gxFirstSystemDebuggingError + 4,
204  parameter_out_of_range = gxFirstSystemDebuggingError + 5,
205  inconsistent_parameters = gxFirstSystemDebuggingError + 6,
206  index_is_less_than_zero = gxFirstSystemDebuggingError + 7,
207  index_is_less_than_one = gxFirstSystemDebuggingError + 8,
208  count_is_less_than_zero = gxFirstSystemDebuggingError + 9,
209  count_is_less_than_one = gxFirstSystemDebuggingError + 10,
210  contour_is_less_than_zero = gxFirstSystemDebuggingError + 11,
211  length_is_less_than_zero = gxFirstSystemDebuggingError + 12,
212  invalid_client_reference = gxFirstSystemDebuggingError + 13,
213  invalid_graphics_heap_start_pointer = gxFirstSystemDebuggingError + 14,
214  invalid_nongraphic_globals_pointer = gxFirstSystemDebuggingError + 15,
215  colorSpace_out_of_range = gxFirstSystemDebuggingError + 16,
216  pattern_lattice_out_of_range = gxFirstSystemDebuggingError + 17,
217  frequency_parameter_out_of_range = gxFirstSystemDebuggingError + 18,
218  tinting_parameter_out_of_range = gxFirstSystemDebuggingError + 19,
219  method_parameter_out_of_range = gxFirstSystemDebuggingError + 20,
220  space_may_not_be_indexed = gxFirstSystemDebuggingError + 21,
221  glyph_index_too_small = gxFirstSystemDebuggingError + 22,
222  no_glyphs_added_to_font = gxFirstSystemDebuggingError + 23,
223  glyph_not_added_to_font = gxFirstSystemDebuggingError + 24,
224  point_does_not_intersect_bitmap = gxFirstSystemDebuggingError + 25,
225  required_font_table_not_present = gxFirstSystemDebuggingError + 26,
226  unknown_font_table_format =
227  gxFirstSystemDebuggingError +
228  27,
229  shapeFill_not_allowed = gxFirstSystemDebuggingError + 28,
230  inverseFill_face_must_set_clipLayer_flag = gxFirstSystemDebuggingError + 29,
231  invalid_transferMode_colorSpace = gxFirstSystemDebuggingError + 30,
232  colorProfile_must_be_nil = gxFirstSystemDebuggingError + 31,
233  bitmap_pixel_size_must_be_1 = gxFirstSystemDebuggingError + 32,
234  empty_shape_not_allowed = gxFirstSystemDebuggingError + 33,
235  ignorePlatformShape_not_allowed = gxFirstSystemDebuggingError + 34,
236  nil_style_in_glyph_not_allowed = gxFirstSystemDebuggingError + 35,
237  complex_glyph_style_not_allowed = gxFirstSystemDebuggingError + 36,
238  invalid_mapping = gxFirstSystemDebuggingError + 37,
239  cannot_set_item_shapes_to_nil = gxFirstSystemDebuggingError + 38,
240  cannot_use_original_item_shapes_when_growing_picture =
241  gxFirstSystemDebuggingError + 39,
242  cannot_add_unspecified_new_glyphs = gxFirstSystemDebuggingError + 40,
243  cannot_dispose_locked_tag = gxFirstSystemDebuggingError + 41,
244  cannot_dispose_locked_shape = gxFirstSystemDebuggingError + 42
245  };
246 
247  enum
248  {
250  shape_access_not_allowed = gxFirstSystemDebuggingError + 43,
251  colorSet_access_restricted = gxFirstSystemDebuggingError + 44,
252  colorProfile_access_restricted = gxFirstSystemDebuggingError + 45,
253  tag_access_restricted = gxFirstSystemDebuggingError + 46,
254  viewDevice_access_restricted = gxFirstSystemDebuggingError + 47,
255  graphic_type_does_not_have_a_structure = gxFirstSystemDebuggingError + 48,
256  style_run_array_does_not_match_number_of_characters =
257  gxFirstSystemDebuggingError + 49,
258  rectangles_cannot_be_inserted_into = gxFirstSystemDebuggingError + 50,
259  unknown_graphics_heap = gxFirstSystemDebuggingError + 51,
260  graphics_routine_selector_is_obsolete = gxFirstSystemDebuggingError + 52,
261  cannot_set_graphics_client_memory_without_setting_size =
262  gxFirstSystemDebuggingError + 53,
263  graphics_client_memory_too_small = gxFirstSystemDebuggingError + 54,
264  graphics_client_memory_is_already_allocated =
265  gxFirstSystemDebuggingError + 55,
266  viewPort_is_a_window =
267  gxFirstSystemDebuggingError + 56,
268  illegal_type_for_shape = gxFirstSystemDebuggingError + 57,
269  shape_does_not_contain_a_bitmap = gxFirstSystemDebuggingError + 58,
270  shape_does_not_contain_text = gxFirstSystemDebuggingError + 59,
271  picture_expected = gxFirstSystemDebuggingError + 60,
272  bitmap_is_not_resizable = gxFirstSystemDebuggingError + 61,
273  shape_may_not_be_a_bitmap = gxFirstSystemDebuggingError + 62,
274  shape_may_not_be_a_picture = gxFirstSystemDebuggingError + 63,
275  graphic_type_does_not_contain_points = gxFirstSystemDebuggingError + 64,
276  graphic_type_does_not_have_multiple_contours =
277  gxFirstSystemDebuggingError + 65,
278  graphic_type_cannot_be_mapped = gxFirstSystemDebuggingError + 66,
279  graphic_type_cannot_be_moved = gxFirstSystemDebuggingError + 67,
280  graphic_type_cannot_be_scaled = gxFirstSystemDebuggingError + 68,
281  graphic_type_cannot_be_rotated = gxFirstSystemDebuggingError + 69,
282  graphic_type_cannot_be_skewed = gxFirstSystemDebuggingError + 70,
283  graphic_type_cannot_be_reset = gxFirstSystemDebuggingError + 71,
284  graphic_type_cannot_be_dashed = gxFirstSystemDebuggingError + 72,
285  graphic_type_cannot_be_reduced = gxFirstSystemDebuggingError + 73,
286  graphic_type_cannot_be_inset = gxFirstSystemDebuggingError + 74,
287  shape_cannot_be_inverted = gxFirstSystemDebuggingError + 75,
288  shape_does_not_have_area = gxFirstSystemDebuggingError + 76,
289  shape_does_not_have_length = gxFirstSystemDebuggingError + 77,
290  first_glyph_advance_must_be_absolute = gxFirstSystemDebuggingError + 78,
291  picture_cannot_contain_itself = gxFirstSystemDebuggingError + 79,
292  viewPort_cannot_contain_itself = gxFirstSystemDebuggingError + 80,
293  cannot_set_unique_items_attribute_when_picture_contains_items =
294  gxFirstSystemDebuggingError + 81,
295  layer_style_cannot_contain_a_face = gxFirstSystemDebuggingError + 82,
296  layer_glyph_shape_cannot_contain_nil_styles = gxFirstSystemDebuggingError + 83
297  };
298 
299  enum
300  {
302  object_wrong_type = gxFirstSystemDebuggingError + 84,
303  shape_wrong_type = gxFirstSystemDebuggingError + 85,
304  style_wrong_type = gxFirstSystemDebuggingError + 86,
305  ink_wrong_type = gxFirstSystemDebuggingError + 87,
306  transform_wrong_type = gxFirstSystemDebuggingError + 88,
307  device_wrong_type = gxFirstSystemDebuggingError + 89,
308  port_wrong_type = gxFirstSystemDebuggingError + 90
309  };
310 
311  enum
312  {
314  shape_cache_wrong_type = gxFirstSystemDebuggingError + 91,
315  style_cache_wrong_type = gxFirstSystemDebuggingError + 92,
316  ink_cache_wrong_type = gxFirstSystemDebuggingError + 93,
317  transform_cache_wrong_type = gxFirstSystemDebuggingError + 94,
318  port_cache_wrong_type = gxFirstSystemDebuggingError + 95,
319  shape_cache_parent_mismatch = gxFirstSystemDebuggingError + 96,
320  style_cache_parent_mismatch = gxFirstSystemDebuggingError + 97,
321  ink_cache_parent_mismatch = gxFirstSystemDebuggingError + 98,
322  transform_cache_parent_mismatch = gxFirstSystemDebuggingError + 99,
323  port_cache_parent_mismatch = gxFirstSystemDebuggingError + 100,
324  invalid_shape_cache_port = gxFirstSystemDebuggingError + 101,
325  invalid_shape_cache_device = gxFirstSystemDebuggingError + 102,
326  invalid_ink_cache_port = gxFirstSystemDebuggingError + 103,
327  invalid_ink_cache_device = gxFirstSystemDebuggingError + 104,
328  invalid_style_cache_port = gxFirstSystemDebuggingError + 105,
329  invalid_style_cache_device = gxFirstSystemDebuggingError + 106,
330  invalid_transform_cache_port = gxFirstSystemDebuggingError + 107,
331  invalid_transform_cache_device = gxFirstSystemDebuggingError + 108,
332  recursive_caches = gxFirstSystemDebuggingError + 109
333  };
334 
335  enum
336  {
338  invalid_fillShape_ownerCount = gxFirstSystemDebuggingError + 110,
339  recursive_fillShapes = gxFirstSystemDebuggingError + 111
340  };
341 
342  enum
343  {
345  indirect_memory_block_too_small = gxFirstSystemDebuggingError + 112,
346  indirect_memory_block_too_large = gxFirstSystemDebuggingError + 113,
347  unexpected_nil_pointer = gxFirstSystemDebuggingError + 114,
348  bad_address = gxFirstSystemDebuggingError + 115
349  };
350 
351  enum
352  {
354  no_owners = gxFirstSystemDebuggingError + 116,
355  invalid_pointer = gxFirstSystemDebuggingError + 117,
356  invalid_seed = gxFirstSystemDebuggingError + 118,
357  invalid_frame_seed = gxFirstSystemDebuggingError + 119,
358  invalid_text_seed = gxFirstSystemDebuggingError + 120,
359  invalid_draw_seed = gxFirstSystemDebuggingError + 121,
360  bad_private_flags = gxFirstSystemDebuggingError + 122
361  };
362 
363  enum
364  {
366  invalid_vector_count = gxFirstSystemDebuggingError + 123,
367  invalid_contour_count = gxFirstSystemDebuggingError + 124
368  };
369 
370  enum
371  {
373  bitmap_ptr_too_small = gxFirstSystemDebuggingError + 125,
374  bitmap_ptr_not_aligned = gxFirstSystemDebuggingError + 126,
375  bitmap_rowBytes_negative = gxFirstSystemDebuggingError + 127,
376  bitmap_width_negative = gxFirstSystemDebuggingError + 128,
377  bitmap_height_negative = gxFirstSystemDebuggingError + 129,
378  invalid_pixelSize = gxFirstSystemDebuggingError + 130,
379  bitmap_rowBytes_too_small = gxFirstSystemDebuggingError + 131,
380  bitmap_rowBytes_not_aligned = gxFirstSystemDebuggingError + 132,
381  bitmap_rowBytes_must_be_specified_for_user_image_buffer =
382  gxFirstSystemDebuggingError + 133
383  };
384 
385  enum
386  {
388  invalid_bitImage_fileOffset = gxFirstSystemDebuggingError + 134,
389  invalid_bitImage_owners = gxFirstSystemDebuggingError + 135,
390  invalid_bitImage_rowBytes = gxFirstSystemDebuggingError + 136,
391  invalid_bitImage_internal_flag = gxFirstSystemDebuggingError + 137
392  };
393 
394  enum
395  {
397  text_bounds_cache_wrong_size = gxFirstSystemDebuggingError + 138,
398  text_metrics_cache_wrong_size = gxFirstSystemDebuggingError + 139,
399  text_index_cache_wrong_size = gxFirstSystemDebuggingError + 140
400  };
401 
402  enum
403  {
405  glyph_run_count_negative = gxFirstSystemDebuggingError + 141,
406  glyph_run_count_zero = gxFirstSystemDebuggingError + 142,
407  glyph_run_counts_do_not_sum_to_character_count =
408  gxFirstSystemDebuggingError + 143,
409  glyph_first_advance_bit_set_not_allowed = gxFirstSystemDebuggingError + 144,
410  glyph_tangent_vectors_both_zero = gxFirstSystemDebuggingError + 145
411  };
412 
413  enum
414  {
416  layout_run_length_negative = gxFirstSystemDebuggingError + 146,
417  layout_run_length_zero = gxFirstSystemDebuggingError + 147,
418  layout_run_level_negative = gxFirstSystemDebuggingError + 148,
419  layout_run_lengths_do_not_sum_to_text_length =
420  gxFirstSystemDebuggingError + 149
421  };
422 
423  enum
424  {
426  bad_shape_in_picture = gxFirstSystemDebuggingError + 150,
427  bad_style_in_picture = gxFirstSystemDebuggingError + 151,
428  bad_ink_in_picture = gxFirstSystemDebuggingError + 152,
429  bad_transform_in_picture = gxFirstSystemDebuggingError + 153,
430  bad_shape_cache_in_picture = gxFirstSystemDebuggingError + 154,
431  bad_seed_in_picture = gxFirstSystemDebuggingError + 155,
432  invalid_picture_count = gxFirstSystemDebuggingError + 156
433  };
434 
435  enum
436  {
438  bad_textLayer_count = gxFirstSystemDebuggingError + 157,
439  bad_fillType_in_textFace = gxFirstSystemDebuggingError + 158,
440  bad_style_in_textFace = gxFirstSystemDebuggingError + 159,
441  bad_transform_in_textFace = gxFirstSystemDebuggingError + 160
442  };
443 
444  enum
445  {
447  invalid_matrix_flag = gxFirstSystemDebuggingError + 161,
448  transform_clip_missing = gxFirstSystemDebuggingError + 162
449  };
450 
451  enum
452  {
454  metrics_wrong_type = gxFirstSystemDebuggingError + 163,
455  metrics_point_size_probably_bad = gxFirstSystemDebuggingError + 164,
456  scalar_block_wrong_type = gxFirstSystemDebuggingError + 165,
457  scalar_block_parent_mismatch = gxFirstSystemDebuggingError + 166,
458  scalar_block_too_small = gxFirstSystemDebuggingError + 167,
459  scalar_block_too_large = gxFirstSystemDebuggingError + 168,
460  invalid_metrics_range = gxFirstSystemDebuggingError + 169,
461  invalid_metrics_flags = gxFirstSystemDebuggingError + 170,
462  metrics_maxWidth_probably_bad = gxFirstSystemDebuggingError + 171,
463  font_wrong_type = gxFirstSystemDebuggingError + 172,
464  font_wrong_size = gxFirstSystemDebuggingError + 173,
465  invalid_font_platform = gxFirstSystemDebuggingError + 174,
466  invalid_lookup_range = gxFirstSystemDebuggingError + 175,
467  invalid_lookup_platform = gxFirstSystemDebuggingError + 176,
468  font_not_in_font_list = gxFirstSystemDebuggingError + 177,
469  metrics_not_in_metrics_list = gxFirstSystemDebuggingError + 178
470  };
471 
472  enum
473  {
475  bad_device_private_flags = gxFirstSystemDebuggingError + 179,
476  bad_device_attributes = gxFirstSystemDebuggingError + 180,
477  invalid_device_number = gxFirstSystemDebuggingError + 181,
478  invalid_device_viewGroup = gxFirstSystemDebuggingError + 182,
479  invalid_device_bounds = gxFirstSystemDebuggingError + 183,
480  invalid_bitmap_in_device = gxFirstSystemDebuggingError + 184
481  };
482 
483  enum
484  {
486  colorSet_wrong_type = gxFirstSystemDebuggingError + 185,
487  invalid_colorSet_viewDevice_owners = gxFirstSystemDebuggingError + 186,
488  invalid_colorSet_colorSpace = gxFirstSystemDebuggingError + 187,
489  invalid_colorSet_count = gxFirstSystemDebuggingError + 188
490  };
491 
492  enum
493  {
495  colorProfile_wrong_type = gxFirstSystemDebuggingError + 189,
496  invalid_colorProfile_flags = gxFirstSystemDebuggingError + 190,
497  invalid_colorProfile_response_count = gxFirstSystemDebuggingError + 191
498  };
499 
500  enum
501  {
503  backing_free_parent_mismatch = gxFirstSystemDebuggingError + 192,
504  backing_store_parent_mismatch = gxFirstSystemDebuggingError + 193
505  };
506 
507  enum
508  {
511  warning_stack_overflow = gxFirstSystemWarning + 1,
512  notice_stack_underflow = gxFirstSystemWarning + 2,
513  notice_stack_overflow = gxFirstSystemWarning + 3,
514  about_to_grow_heap = gxFirstSystemWarning + 4,
515  about_to_unload_objects = gxFirstSystemWarning + 5
516  };
517 
518  enum
519  {
522  move_shape_out_of_range = gxFirstResultOutOfRangeWarning + 1,
523  scale_shape_out_of_range = gxFirstResultOutOfRangeWarning + 2,
524  rotate_shape_out_of_range = gxFirstResultOutOfRangeWarning + 3,
525  skew_shape_out_of_range = gxFirstResultOutOfRangeWarning + 4,
526  map_transform_out_of_range = gxFirstResultOutOfRangeWarning + 5,
527  move_transform_out_of_range = gxFirstResultOutOfRangeWarning + 6,
528  scale_transform_out_of_range = gxFirstResultOutOfRangeWarning + 7,
529  rotate_transform_out_of_range = gxFirstResultOutOfRangeWarning + 8,
530  skew_transform_out_of_range = gxFirstResultOutOfRangeWarning + 9,
531  map_points_out_of_range = gxFirstResultOutOfRangeWarning + 10
532  };
533 
534  enum
535  {
537  contour_out_of_range = gxFirstParameterOutOfRangeWarning,
538  index_out_of_range_in_contour = gxFirstParameterOutOfRangeWarning + 1,
539  picture_index_out_of_range = gxFirstParameterOutOfRangeWarning + 2,
540  color_index_requested_not_found = gxFirstParameterOutOfRangeWarning + 3,
541  colorSet_index_out_of_range = gxFirstParameterOutOfRangeWarning + 4,
542  index_out_of_range = gxFirstParameterOutOfRangeWarning + 5,
543  count_out_of_range = gxFirstParameterOutOfRangeWarning + 6,
544  length_out_of_range = gxFirstParameterOutOfRangeWarning + 7,
545  font_table_index_out_of_range = gxFirstParameterOutOfRangeWarning + 8,
546  font_glyph_index_out_of_range = gxFirstParameterOutOfRangeWarning + 9,
547  point_out_of_range = gxFirstParameterOutOfRangeWarning + 10,
548  profile_response_out_of_range = gxFirstParameterOutOfRangeWarning + 11
549  };
550 
551  enum
552  {
554  font_scaler_no_output = gxFirstFontScalerWarning,
555  font_scaler_fake_metrics = gxFirstFontScalerWarning + 1,
556  font_scaler_fake_linespacing = gxFirstFontScalerWarning + 2,
557  font_scaler_glyph_substitution = gxFirstFontScalerWarning + 3,
558  font_scaler_no_kerning_applied =
559  gxFirstFontScalerWarning + 4,
560  character_substitution_took_place = gxFirstFontScalerWarning + 5,
561  unable_to_get_bounds_on_multiple_devices = gxFirstFontScalerWarning + 6,
562  font_language_not_found = gxFirstFontScalerWarning + 7,
563  font_not_found_during_unflattening =
564  gxFirstFontScalerWarning + 8,
565  unrecognized_stream_version = gxFirstFontScalerWarning + 9,
566  bad_data_in_stream = gxFirstFontScalerWarning + 10
567  };
568 
569  enum
570  {
572  new_shape_contains_invalid_data = gxFirstSystemDebuggingWarning,
573  new_tag_contains_invalid_data = gxFirstSystemDebuggingWarning + 1,
574  extra_data_passed_was_ignored = gxFirstSystemDebuggingWarning + 2,
575  font_table_not_found = gxFirstSystemDebuggingWarning + 3,
576  font_name_not_found = gxFirstSystemDebuggingWarning + 4
577  };
578 
579  enum
580  {
583  gxFirstSystemDebuggingWarning + 5,
584  unable_to_draw_open_contour_that_starts_or_ends_off_the_curve =
585  gxFirstSystemDebuggingWarning + 6,
586  cannot_dispose_default_shape = gxFirstSystemDebuggingWarning + 7,
587  cannot_dispose_default_style = gxFirstSystemDebuggingWarning + 8,
588  cannot_dispose_default_ink = gxFirstSystemDebuggingWarning + 9,
589  cannot_dispose_default_transform = gxFirstSystemDebuggingWarning + 10,
590  cannot_dispose_default_colorProfile = gxFirstSystemDebuggingWarning + 11,
591  cannot_dispose_default_colorSet = gxFirstSystemDebuggingWarning + 12,
592  shape_direct_attribute_not_set = gxFirstSystemDebuggingWarning + 13
593  };
594 
595  enum
596  {
598  point_does_not_intersect_port = gxFirstSystemDebuggingWarning + 14,
599  cannot_dispose_non_font = gxFirstSystemDebuggingWarning + 15,
600  face_override_style_font_must_match_style =
601  gxFirstSystemDebuggingWarning + 16,
602  union_of_area_and_length_returns_area_only =
603  gxFirstSystemDebuggingWarning + 17,
604  insufficient_coordinate_space_for_new_device =
605  gxFirstSystemDebuggingWarning + 18
606  };
607 
608  enum
609  {
611  shape_passed_has_no_bounds = gxFirstSystemDebuggingWarning + 19,
612  tags_of_type_flst_removed = gxFirstSystemDebuggingWarning + 20,
613  translator_not_installed_on_this_grafport = gxFirstSystemDebuggingWarning + 21
614  };
615 
616  enum
617  {
618  parameters_have_no_effect = gxFirstSystemNotice,
619  attributes_already_set = gxFirstSystemNotice + 1,
620  caps_already_set = gxFirstSystemNotice + 2,
621  clip_already_set = gxFirstSystemNotice + 3,
622  color_already_set = gxFirstSystemNotice + 4,
623  curve_error_already_set = gxFirstSystemNotice + 5,
624  dash_already_set = gxFirstSystemNotice + 6,
625  default_colorProfile_already_set = gxFirstSystemNotice + 7,
626  default_ink_already_set = gxFirstSystemNotice + 8,
627  default_transform_already_set = gxFirstSystemNotice + 9,
628  default_shape_already_set = gxFirstSystemNotice + 10,
629  default_style_already_set = gxFirstSystemNotice + 11,
630  dither_already_set = gxFirstSystemNotice + 12,
631  encoding_already_set = gxFirstSystemNotice + 13,
632  face_already_set = gxFirstSystemNotice + 14,
633  fill_already_set = gxFirstSystemNotice + 15,
634  font_already_set = gxFirstSystemNotice + 16,
635  font_variations_already_set = gxFirstSystemNotice + 17,
636  glyph_positions_are_already_set = gxFirstSystemNotice + 18,
637  glyph_tangents_are_already_set = gxFirstSystemNotice + 19,
638  halftone_already_set = gxFirstSystemNotice + 20,
639  hit_test_already_set = gxFirstSystemNotice + 21,
640  ink_already_set = gxFirstSystemNotice + 22,
641  join_already_set = gxFirstSystemNotice + 23,
642  justification_already_set = gxFirstSystemNotice + 24,
643  mapping_already_set = gxFirstSystemNotice + 25,
644  pattern_already_set = gxFirstSystemNotice + 26,
645  pen_already_set = gxFirstSystemNotice + 27,
646  style_already_set = gxFirstSystemNotice + 28,
647  tag_already_set = gxFirstSystemNotice + 29,
648  text_attributes_already_set = gxFirstSystemNotice + 30,
649  text_size_already_set = gxFirstSystemNotice + 31,
650  transfer_already_set = gxFirstSystemNotice + 32,
651  translator_already_installed_on_this_grafport = gxFirstSystemNotice + 33,
652  transform_already_set = gxFirstSystemNotice + 34,
653  type_already_set = gxFirstSystemNotice + 35,
654  validation_level_already_set = gxFirstSystemNotice + 36,
655  viewPorts_already_set = gxFirstSystemNotice + 37,
656  viewPort_already_in_viewGroup = gxFirstSystemNotice + 38,
657  viewDevice_already_in_viewGroup = gxFirstSystemNotice + 39
658  };
659 
660  enum
661  {
662  geometry_unaffected = gxFirstSystemNotice + 40,
663  mapping_unaffected = gxFirstSystemNotice + 41,
664  tags_in_shape_ignored = gxFirstSystemNotice + 42
665  };
666 
667  enum
668  {
669  shape_already_in_primitive_form = gxFirstSystemNotice + 43,
670  shape_already_in_simple_form = gxFirstSystemNotice + 44,
671  shape_already_broken = gxFirstSystemNotice + 45,
672  shape_already_joined = gxFirstSystemNotice + 46,
673  cache_already_cleared = gxFirstSystemNotice + 47
674  };
675 
676  enum
677  {
678  shape_not_disposed = gxFirstSystemNotice + 48,
679  style_not_disposed = gxFirstSystemNotice + 49,
680  ink_not_disposed = gxFirstSystemNotice + 50,
681  transform_not_disposed = gxFirstSystemNotice + 51,
682  colorSet_not_disposed = gxFirstSystemNotice + 52,
683  colorProfile_not_disposed = gxFirstSystemNotice + 53,
684  font_not_disposed = gxFirstSystemNotice + 54
685  };
686 
687  enum
688  {
689  glyph_tangents_have_no_effect = gxFirstSystemNotice + 55,
690  glyph_positions_determined_by_advance = gxFirstSystemNotice + 56,
691  transform_viewPorts_already_set = gxFirstSystemNotice + 57
692  };
693 
694  enum
695  {
696  directShape_attribute_set_as_side_effect = gxFirstSystemNotice + 58,
697  lockShape_called_as_side_effect = gxFirstSystemNotice + 59,
698  lockTag_called_as_side_effect = gxFirstSystemNotice + 60,
699  shapes_unlocked_as_side_effect = gxFirstSystemNotice + 61,
700  shape_not_locked = gxFirstSystemNotice + 62,
701  tag_not_locked = gxFirstSystemNotice + 63
702  };
703 
704  enum
705  {
706  profile_not_locked = tag_not_locked,
707  lockProfile_called_as_side_effect = lockTag_called_as_side_effect
708  };
709 
710  enum
711  {
712  disposed_dead_caches = gxFirstSystemNotice + 64,
713  disposed_live_caches = gxFirstSystemNotice + 65,
714  low_on_memory = gxFirstSystemNotice + 66,
715  very_low_on_memory = gxFirstSystemNotice + 67
716  };
717 
718  enum
719  {
720  transform_references_disposed_viewPort = gxFirstSystemNotice + 68
721  };
722 
723  typedef long gxGraphicsError;
724  typedef long gxGraphicsWarning;
725  typedef long gxGraphicsNotice;
726  typedef CALLBACK_API_C(void, gxUserErrorProcPtr)(gxGraphicsError status,
727  long refcon);
728  typedef CALLBACK_API_C(void, gxUserWarningProcPtr)(gxGraphicsWarning status,
729  long refcon);
730  typedef CALLBACK_API_C(void, gxUserNoticeProcPtr)(gxGraphicsNotice status,
731  long refcon);
732  typedef STACK_UPP_TYPE(gxUserErrorProcPtr) gxUserErrorUPP;
733  typedef STACK_UPP_TYPE(gxUserWarningProcPtr) gxUserWarningUPP;
734  typedef STACK_UPP_TYPE(gxUserNoticeProcPtr) gxUserNoticeUPP;
735 #if CALL_NOT_IN_CARBON
744  gxUserErrorUPP
745  NewgxUserErrorUPP(gxUserErrorProcPtr userRoutine);
746 #if !OPAQUE_UPP_TYPES
747  enum
748  {
749  uppgxUserErrorProcInfo = 0x000003C1
750  };
751 #ifdef __cplusplus
752  inline gxUserErrorUPP NewgxUserErrorUPP(gxUserErrorProcPtr userRoutine)
753  {
754  return (gxUserErrorUPP)NewRoutineDescriptor(
755  (ProcPtr)(userRoutine), uppgxUserErrorProcInfo, GetCurrentArchitecture());
756  }
757 #else
758 #define NewgxUserErrorUPP(userRoutine) \
759  (gxUserErrorUPP) \
760  NewRoutineDescriptor((ProcPtr)(userRoutine), uppgxUserErrorProcInfo, \
761  GetCurrentArchitecture())
762 #endif
763 #endif
764 
773  gxUserWarningUPP
774  NewgxUserWarningUPP(gxUserWarningProcPtr userRoutine);
775 #if !OPAQUE_UPP_TYPES
776  enum
777  {
778  uppgxUserWarningProcInfo = 0x000003C1
779  };
780 #ifdef __cplusplus
781  inline gxUserWarningUPP NewgxUserWarningUPP(gxUserWarningProcPtr userRoutine)
782  {
783  return (gxUserWarningUPP)NewRoutineDescriptor((ProcPtr)(userRoutine),
784  uppgxUserWarningProcInfo,
785  GetCurrentArchitecture());
786  }
787 #else
788 #define NewgxUserWarningUPP(userRoutine) \
789  (gxUserWarningUPP) \
790  NewRoutineDescriptor((ProcPtr)(userRoutine), uppgxUserWarningProcInfo, \
791  GetCurrentArchitecture())
792 #endif
793 #endif
794 
803  gxUserNoticeUPP
804  NewgxUserNoticeUPP(gxUserNoticeProcPtr userRoutine);
805 #if !OPAQUE_UPP_TYPES
806  enum
807  {
808  uppgxUserNoticeProcInfo = 0x000003C1
809  };
810 #ifdef __cplusplus
811  inline gxUserNoticeUPP NewgxUserNoticeUPP(gxUserNoticeProcPtr userRoutine)
812  {
813  return (gxUserNoticeUPP)NewRoutineDescriptor((ProcPtr)(userRoutine),
814  uppgxUserNoticeProcInfo,
815  GetCurrentArchitecture());
816  }
817 #else
818 #define NewgxUserNoticeUPP(userRoutine) \
819  (gxUserNoticeUPP) \
820  NewRoutineDescriptor((ProcPtr)(userRoutine), uppgxUserNoticeProcInfo, \
821  GetCurrentArchitecture())
822 #endif
823 #endif
824 
833  void
834  DisposegxUserErrorUPP(gxUserErrorUPP userUPP);
835 #if !OPAQUE_UPP_TYPES
836 #ifdef __cplusplus
837  inline void DisposegxUserErrorUPP(gxUserErrorUPP userUPP)
838  {
839  DisposeRoutineDescriptor((UniversalProcPtr)userUPP);
840  }
841 #else
842 #define DisposegxUserErrorUPP(userUPP) DisposeRoutineDescriptor(userUPP)
843 #endif
844 #endif
845 
854  void
855  DisposegxUserWarningUPP(gxUserWarningUPP userUPP);
856 #if !OPAQUE_UPP_TYPES
857 #ifdef __cplusplus
858  inline void DisposegxUserWarningUPP(gxUserWarningUPP userUPP)
859  {
860  DisposeRoutineDescriptor((UniversalProcPtr)userUPP);
861  }
862 #else
863 #define DisposegxUserWarningUPP(userUPP) DisposeRoutineDescriptor(userUPP)
864 #endif
865 #endif
866 
875  void
876  DisposegxUserNoticeUPP(gxUserNoticeUPP userUPP);
877 #if !OPAQUE_UPP_TYPES
878 #ifdef __cplusplus
879  inline void DisposegxUserNoticeUPP(gxUserNoticeUPP userUPP)
880  {
881  DisposeRoutineDescriptor((UniversalProcPtr)userUPP);
882  }
883 #else
884 #define DisposegxUserNoticeUPP(userUPP) DisposeRoutineDescriptor(userUPP)
885 #endif
886 #endif
887 
896  void
897  InvokegxUserErrorUPP(gxGraphicsError status, long refcon,
898  gxUserErrorUPP userUPP);
899 #if !OPAQUE_UPP_TYPES
900 #ifdef __cplusplus
901  inline void InvokegxUserErrorUPP(gxGraphicsError status, long refcon,
902  gxUserErrorUPP userUPP)
903  {
904  CALL_TWO_PARAMETER_UPP(userUPP, uppgxUserErrorProcInfo, status, refcon);
905  }
906 #else
907 #define InvokegxUserErrorUPP(status, refcon, userUPP) \
908  CALL_TWO_PARAMETER_UPP((userUPP), uppgxUserErrorProcInfo, (status), (refcon))
909 #endif
910 #endif
911 
920  void
921  InvokegxUserWarningUPP(gxGraphicsWarning status, long refcon,
922  gxUserWarningUPP userUPP);
923 #if !OPAQUE_UPP_TYPES
924 #ifdef __cplusplus
925  inline void InvokegxUserWarningUPP(gxGraphicsWarning status, long refcon,
926  gxUserWarningUPP userUPP)
927  {
928  CALL_TWO_PARAMETER_UPP(userUPP, uppgxUserWarningProcInfo, status, refcon);
929  }
930 #else
931 #define InvokegxUserWarningUPP(status, refcon, userUPP) \
932  CALL_TWO_PARAMETER_UPP((userUPP), uppgxUserWarningProcInfo, (status), \
933  (refcon))
934 #endif
935 #endif
936 
945  void
946  InvokegxUserNoticeUPP(gxGraphicsNotice status, long refcon,
947  gxUserNoticeUPP userUPP);
948 #if !OPAQUE_UPP_TYPES
949 #ifdef __cplusplus
950  inline void InvokegxUserNoticeUPP(gxGraphicsNotice status, long refcon,
951  gxUserNoticeUPP userUPP)
952  {
953  CALL_TWO_PARAMETER_UPP(userUPP, uppgxUserNoticeProcInfo, status, refcon);
954  }
955 #else
956 #define InvokegxUserNoticeUPP(status, refcon, userUPP) \
957  CALL_TWO_PARAMETER_UPP((userUPP), uppgxUserNoticeProcInfo, (status), (refcon))
958 #endif
959 #endif
960 
961 #endif
963 #if CALL_NOT_IN_CARBON || OLDROUTINENAMES
965 #define NewgxUserErrorProc(userRoutine) NewgxUserErrorUPP(userRoutine)
966 #define NewgxUserWarningProc(userRoutine) NewgxUserWarningUPP(userRoutine)
967 #define NewgxUserNoticeProc(userRoutine) NewgxUserNoticeUPP(userRoutine)
968 #define CallgxUserErrorProc(userRoutine, status, refcon) \
969  InvokegxUserErrorUPP(status, refcon, userRoutine)
970 #define CallgxUserWarningProc(userRoutine, status, refcon) \
971  InvokegxUserWarningUPP(status, refcon, userRoutine)
972 #define CallgxUserNoticeProc(userRoutine, status, refcon) \
973  InvokegxUserNoticeUPP(status, refcon, userRoutine)
974 #endif
976  typedef gxUserErrorProcPtr gxUserErrorFunction;
977  typedef gxUserWarningProcPtr gxUserWarningFunction;
978  typedef gxUserNoticeProcPtr gxUserNoticeFunction;
979 
980  enum
981  {
982  common_colors_not_initialized = gxFirstLibraryError,
983  no_open_picture = gxFirstLibraryError + 1,
984  picture_already_open = gxFirstLibraryError + 2,
985  no_open_poly = gxFirstLibraryError + 3,
986  poly_already_open = gxFirstLibraryError + 4,
987  no_open_region = gxFirstLibraryError + 5,
988  region_already_open = gxFirstLibraryError + 6,
989  no_active_picture = gxFirstLibraryError + 7
990  };
991 
992  enum
993  {
994  no_picture_drawn = gxFirstLibraryWarning,
995  polygons_have_different_size_contours = gxFirstLibraryWarning + 1,
996  graphic_type_cannot_be_specifed_by_four_values = gxFirstLibraryWarning + 2,
997  graphic_type_cannot_be_specifed_by_six_values = gxFirstLibraryWarning + 3,
998  point_expected = gxFirstLibraryWarning + 4,
999  line_or_rectangle_expected = gxFirstLibraryWarning + 5,
1000  curve_expected = gxFirstLibraryWarning + 6,
1001  graphic_type_does_not_contain_control_bits = gxFirstLibraryWarning + 7,
1002  request_exceeds_available_data = gxFirstLibraryWarning + 8,
1003  extra_data_unread = gxFirstLibraryWarning + 9,
1004  no_variable_length_user_data_saved = gxFirstLibraryWarning + 10
1005  };
1006 
1007  enum
1008  {
1009  zero_length_string_passed = gxFirstLibraryNotice
1010  };
1011 
1012  enum
1013  {
1025  gxApBlockValidation = 0x0100,
1029  0x0400,
1033  gxCheckFontHeapValidation = 0x2000
1034  };
1035 
1036  typedef long gxValidationLevel;
1037  enum
1038  {
1039  no_draw_error = 0
1040  };
1041 
1042  enum
1043  {
1046  shape_inverse_fullType = 2,
1047  rectangle_zero_width = 3,
1048  rectangle_zero_height = 4,
1049  polygon_empty = 5,
1050  path_empty = 6,
1051  bitmap_zero_width = 7,
1052  bitmap_zero_height = 8,
1053  text_empty = 9,
1054  glyph_empty = 10,
1055  layout_empty = 11,
1056  picture_empty = 12
1057  };
1058 
1059  enum
1060  {
1063  shape_no_enclosed_area = 14,
1064  shape_no_enclosed_pixels = 15,
1065  shape_very_small = 16,
1066  shape_very_large = 17,
1067  shape_contours_cancel = 18
1068  };
1069 
1070  enum
1071  {
1074  text_size_too_small = 20,
1075  dash_empty = 21,
1076  start_cap_empty = 22,
1077  pattern_empty = 23,
1078  textFace_empty = 24,
1079  shape_primitive_empty = 25,
1080  shape_primitive_very_small = 26
1081  };
1082 
1083  enum
1084  {
1087  transfer_matrix_ignores_source = 28,
1088  transfer_matrix_ignores_device = 29,
1089  transfer_source_reject = 30,
1090  transfer_mode_ineffective = 31,
1091  colorSet_no_entries = 32,
1092  bitmap_colorSet_one_entry = 33
1093  };
1094 
1095  enum
1096  {
1099  transform_map_too_large = 35,
1100  transform_move_too_large = 36,
1101  transform_scale_too_large = 37,
1102  transform_rotate_too_large = 38,
1103  transform_perspective_too_large = 39,
1104  transform_skew_too_large = 40,
1105  transform_clip_no_intersection = 41,
1106  transform_clip_empty = 42,
1107  transform_no_viewPorts = 43
1108  };
1109 
1110  enum
1111  {
1114  viewPort_clip_empty = 45,
1115  viewPort_clip_no_intersection = 46,
1116  viewPort_scale_too_small = 47,
1117  viewPort_map_too_large = 48,
1118  viewPort_move_too_large = 49,
1119  viewPort_scale_too_large = 50,
1120  viewPort_rotate_too_large = 51,
1121  viewPort_perspective_too_large = 52,
1122  viewPort_skew_too_large = 53,
1123  viewPort_viewGroup_offscreen = 54
1124  };
1125 
1126  enum
1127  {
1130  viewDevice_scale_too_small = 56,
1131  viewDevice_map_too_large = 57,
1132  viewDevice_move_too_large = 58,
1133  viewDevice_scale_too_large = 59,
1134  viewDevice_rotate_too_large = 60,
1135  viewDevice_perspective_too_large = 61,
1136  viewDevice_skew_too_large = 62
1137  };
1138 
1139  typedef long gxDrawError;
1140 #if CALL_NOT_IN_CARBON
1149  gxDrawError
1150  GXGetShapeDrawError(gxShape source);
1151 
1160  void
1162 
1171  void
1172  GXValidateColorSet(gxColorSet target);
1173 
1182  void
1183  GXValidateColorProfile(gxColorProfile target);
1184 
1193  void
1194  GXValidateGraphicsClient(gxGraphicsClient target);
1195 
1204  void
1205  GXValidateInk(gxInk target);
1206 
1215  void
1216  GXValidateShape(gxShape target);
1217 
1226  void
1227  GXValidateStyle(gxStyle target);
1228 
1237  void
1238  GXValidateTag(gxTag target);
1239 
1248  void
1249  GXValidateTransform(gxTransform target);
1250 
1259  void
1260  GXValidateViewDevice(gxViewDevice target);
1261 
1270  void
1271  GXValidateViewPort(gxViewPort target);
1272 
1281  void
1282  GXValidateViewGroup(gxViewGroup target);
1283 
1292  gxValidationLevel
1294 
1303  void
1304  GXSetValidation(gxValidationLevel level);
1305 
1314  long
1315  GXGetValidationError(char *procedureName, void **argument, long *argumentNumber);
1316 
1317 #endif
1319 #if defined(__MWERKS__) && TARGET_CPU_68K
1320 #pragma pop
1321 #endif
1322 
1323 #if PRAGMA_STRUCT_ALIGN
1324 #pragma options align = reset
1325 #elif PRAGMA_STRUCT_PACKPUSH
1326 #pragma pack(pop)
1327 #elif PRAGMA_STRUCT_PACK
1328 #pragma pack()
1329 #endif
1330 
1331 #ifdef PRAGMA_IMPORT_OFF
1332 #pragma import off
1333 #elif PRAGMA_IMPORT
1334 #pragma import reset
1335 #endif
1336 
1337 #ifdef __cplusplus
1338 }
1339 #endif
1340 
1341 #endif
Set up for compiler independent conditionals.
@ shape_passed_has_no_bounds
Definition: GXErrors.h:611
@ map_shape_out_of_range
Definition: GXErrors.h:521
long GXGetValidationError(char *procedureName, void **argument, long *argumentNumber)
void GXValidateViewPort(gxViewPort target)
gxDrawError GXGetShapeDrawError(gxShape source)
@ bad_textLayer_count
Definition: GXErrors.h:438
#define NewgxUserErrorUPP(userRoutine)
Definition: GXErrors.h:758
void GXValidateViewDevice(gxViewDevice target)
void GXValidateStyle(gxStyle target)
@ colorSet_wrong_type
Definition: GXErrors.h:486
@ functionality_unimplemented
Definition: GXErrors.h:197
@ shapeFill_not_allowed
Definition: GXErrors.h:229
@ parameter_out_of_range
Definition: GXErrors.h:204
@ illegal_font_storage_type
Definition: GXErrors.h:200
@ colorProfile_wrong_type
Definition: GXErrors.h:495
void GXValidateColorSet(gxColorSet target)
@ text_bounds_cache_wrong_size
Definition: GXErrors.h:397
@ pen_too_small
Definition: GXErrors.h:1073
void GXSetValidation(gxValidationLevel level)
@ bitmap_ptr_too_small
Definition: GXErrors.h:373
@ invalid_fillShape_ownerCount
Definition: GXErrors.h:338
void GXValidateGraphicsClient(gxGraphicsClient target)
@ shape_emptyType
Definition: GXErrors.h:1045
@ null_font_scaler_context
Definition: GXErrors.h:129
@ unable_to_traverse_open_contour_that_starts_or_ends_off_the_curve
Definition: GXErrors.h:582
@ new_shape_contains_invalid_data
Definition: GXErrors.h:572
@ viewDevice_clip_no_intersection
Definition: GXErrors.h:1129
@ number_of_contours_exceeds_implementation_limit
Definition: GXErrors.h:177
#define NewgxUserWarningUPP(userRoutine)
Definition: GXErrors.h:788
@ parameter_is_nil
Definition: GXErrors.h:155
void GXValidateAll(void)
@ bad_device_private_flags
Definition: GXErrors.h:475
void GXValidateTransform(gxTransform target)
@ bad_shape_in_picture
Definition: GXErrors.h:426
void GXValidateShape(gxShape target)
@ indirect_memory_block_too_small
Definition: GXErrors.h:345
@ transfer_equals_noMode
Definition: GXErrors.h:1086
@ invalid_matrix_flag
Definition: GXErrors.h:447
@ warning_stack_underflow
Definition: GXErrors.h:510
void GXValidateViewGroup(gxViewGroup target)
void DisposegxUserWarningUPP(gxUserWarningUPP userUPP)
@ shape_no_fill
Definition: GXErrors.h:1062
@ shape_access_not_allowed
Definition: GXErrors.h:250
@ illegal_type_for_shape
Definition: GXErrors.h:268
void InvokegxUserErrorUPP(gxGraphicsError status, long refcon, gxUserErrorUPP userUPP)
@ shape_cache_wrong_type
Definition: GXErrors.h:314
@ internal_error
Definition: GXErrors.h:107
@ invalid_bitImage_fileOffset
Definition: GXErrors.h:388
@ metrics_wrong_type
Definition: GXErrors.h:454
#define NewgxUserNoticeUPP(userRoutine)
Definition: GXErrors.h:818
@ no_owners
Definition: GXErrors.h:354
@ backing_free_parent_mismatch
Definition: GXErrors.h:503
@ out_of_memory
Definition: GXErrors.h:97
@ could_not_dispose_backing_store
Definition: GXErrors.h:115
@ glyph_run_count_negative
Definition: GXErrors.h:405
@ contour_out_of_range
Definition: GXErrors.h:537
void GXValidateInk(gxInk target)
@ point_does_not_intersect_port
Definition: GXErrors.h:598
@ gxLastAppNotice
Definition: GXErrors.h:91
@ gxFirstLibraryWarning
Definition: GXErrors.h:82
@ gxFirstAppWarning
Definition: GXErrors.h:84
@ gxLastLibraryError
Definition: GXErrors.h:73
@ gxLastLibraryNotice
Definition: GXErrors.h:89
@ gxLastAppError
Definition: GXErrors.h:75
@ gxFirstLibraryNotice
Definition: GXErrors.h:88
@ gxFirstLibraryError
Definition: GXErrors.h:72
@ gxFirstAppNotice
Definition: GXErrors.h:90
@ gxLastAppWarning
Definition: GXErrors.h:85
@ gxLastSystemNotice
Definition: GXErrors.h:87
@ gxLastLibraryWarning
Definition: GXErrors.h:83
@ gxFirstSystemNotice
Definition: GXErrors.h:86
@ gxFirstSystemWarning
Definition: GXErrors.h:76
@ gxFirstAppError
Definition: GXErrors.h:74
@ gxFirstFatalError
Definition: GXErrors.h:63
@ gxFirstResultOutOfRangeWarning
Definition: GXErrors.h:77
gxUserErrorProcPtr gxUserErrorFunction
Definition: GXErrors.h:976
void DisposegxUserNoticeUPP(gxUserNoticeUPP userUPP)
gxValidationLevel GXGetValidation(void)
@ gxCheckFontHeapValidation
Definition: GXErrors.h:1033
@ gxNoValidation
Definition: GXErrors.h:1015
@ gxPublicValidation
Definition: GXErrors.h:1016
@ gxCheckApHeapValidation
Definition: GXErrors.h:1031
@ gxFontHeapValidation
Definition: GXErrors.h:1030
@ gxApHeapValidation
Definition: GXErrors.h:1028
@ gxStructureValidation
Definition: GXErrors.h:1020
@ gxFontBlockValidation
Definition: GXErrors.h:1027
@ gxNoMemoryManagerValidation
Definition: GXErrors.h:1024
@ gxTypeValidation
Definition: GXErrors.h:1019
@ gxAllObjectValidation
Definition: GXErrors.h:1021
@ gxInternalValidation
Definition: GXErrors.h:1017
@ font_cannot_be_changed
Definition: GXErrors.h:122
@ font_scaler_no_output
Definition: GXErrors.h:554
@ character_substitution_took_place
Definition: GXErrors.h:560
@ unrecognized_stream_version
Definition: GXErrors.h:565
@ object_wrong_type
Definition: GXErrors.h:302
@ viewPort_disposed
Definition: GXErrors.h:1113
void GXValidateTag(gxTag target)
@ layout_run_length_negative
Definition: GXErrors.h:416
void GXValidateColorProfile(gxColorProfile target)
void InvokegxUserNoticeUPP(gxGraphicsNotice status, long refcon, gxUserNoticeUPP userUPP)
@ invalid_vector_count
Definition: GXErrors.h:366
void InvokegxUserWarningUPP(gxGraphicsWarning status, long refcon, gxUserWarningUPP userUPP)
void DisposegxUserErrorUPP(gxUserErrorUPP userUPP)
@ transform_scale_too_small
Definition: GXErrors.h:1098
QuickDraw GX object and constant definitions.
Mixed Mode Manager Interfaces.
void DisposeRoutineDescriptor(UniversalProcPtr theUPP)
#define STACK_UPP_TYPE(name)
Definition: MixedMode.h:734
UniversalProcPtr NewRoutineDescriptor(ProcPtr theProc, ProcInfoType theProcInfo, ISAType theISA)