/src/ghostpdl/base/gxgstate.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* Copyright (C) 2001-2025 Artifex Software, Inc. |
2 | | All Rights Reserved. |
3 | | |
4 | | This software is provided AS-IS with no warranty, either express or |
5 | | implied. |
6 | | |
7 | | This software is distributed under license and may not be copied, |
8 | | modified or distributed except as expressly authorized under the terms |
9 | | of the license contained in the file LICENSE in this distribution. |
10 | | |
11 | | Refer to licensing information at http://www.artifex.com or contact |
12 | | Artifex Software, Inc., 39 Mesa Street, Suite 108A, San Francisco, |
13 | | CA 94129, USA, for further information. |
14 | | */ |
15 | | |
16 | | |
17 | | /* graphics state definition */ |
18 | | |
19 | | #ifndef gxistate_INCLUDED |
20 | | # define gxistate_INCLUDED |
21 | | |
22 | | #include "gscsel.h" |
23 | | #include "gsrefct.h" |
24 | | #include "gsropt.h" |
25 | | #include "gstparam.h" |
26 | | #include "gxcvalue.h" |
27 | | #include "gxcmap.h" |
28 | | #include "gxfixed.h" |
29 | | #include "gxline.h" |
30 | | #include "gxmatrix.h" |
31 | | #include "gxtmap.h" |
32 | | #include "gscspace.h" |
33 | | #include "gstrans.h" |
34 | | #include "gsnamecl.h" |
35 | | #include "gscms.h" |
36 | | #include "gscpm.h" |
37 | | #include "gscspace.h" |
38 | | #include "gxdcolor.h" |
39 | | #include "gxstate.h" |
40 | | #include "gsfont.h" |
41 | | #include "gxpath.h" |
42 | | #include "gsccolor.h" |
43 | | #include "gsht1.h" |
44 | | #include "gxclipsr.h" |
45 | | #include "gsicc_blacktext.h" |
46 | | |
47 | | |
48 | | /* |
49 | | * Define the color rendering state information. |
50 | | * This should be a separate object (or at least a substructure), |
51 | | * but making this change would require editing too much code. |
52 | | */ |
53 | | |
54 | | /* |
55 | | * We need some special memory management for the components of a |
56 | | * c.r. state, as indicated by the following notations on the elements: |
57 | | * (RC) means the element is reference-counted. |
58 | | * (Shared) means the element is shared among an arbitrary number of |
59 | | * c.r. states and is never freed. |
60 | | * (Owned) means exactly one c.r. state references the element, |
61 | | * and it is guaranteed that no references to it will outlive |
62 | | * the c.r. state itself. |
63 | | */ |
64 | | |
65 | | /* Define the interior structure of a transfer function. */ |
66 | | typedef struct gx_transfer_s { |
67 | | int red_component_num; |
68 | | gx_transfer_map *red; /* (RC) */ |
69 | | int green_component_num; |
70 | | gx_transfer_map *green; /* (RC) */ |
71 | | int blue_component_num; |
72 | | gx_transfer_map *blue; /* (RC) */ |
73 | | int gray_component_num; |
74 | | gx_transfer_map *gray; /* (RC) */ |
75 | | } gx_transfer; |
76 | | |
77 | | #define gs_color_rendering_state_common\ |
78 | | \ |
79 | | /* Halftone screen: */\ |
80 | | \ |
81 | | gs_halftone *halftone; /* (RC) */\ |
82 | | gs_int_point screen_phase[gs_color_select_count];\ |
83 | | /* dev_ht depends on halftone and device resolution. */\ |
84 | | gx_device_halftone *dev_ht[HT_OBJTYPE_COUNT]; /* (RC) */\ |
85 | | \ |
86 | | /* Color (device-dependent): */\ |
87 | | \ |
88 | | struct gs_cie_render_s *cie_render; /* (RC) may be 0 */\ |
89 | | bool cie_to_xyz; /* flag for conversion to XYZ, no CRD req'd */\ |
90 | | gx_transfer_map *black_generation; /* (RC) may be 0 */\ |
91 | | gx_transfer_map *undercolor_removal; /* (RC) may be 0 */\ |
92 | | /* set_transfer holds the transfer functions specified by */\ |
93 | | /* set[color]transfer; effective_transfer includes the */\ |
94 | | /* effects of overrides by TransferFunctions in halftone */\ |
95 | | /* dictionaries. (In Level 1 systems, set_transfer and */\ |
96 | | /* effective_transfer are always the same.) */\ |
97 | | gx_transfer set_transfer; /* members are (RC) */\ |
98 | | int effective_transfer_non_identity_count;\ |
99 | | gx_transfer_map *effective_transfer[GX_DEVICE_COLOR_MAX_COMPONENTS]; /* see below */\ |
100 | | \ |
101 | | /* Color caches: */\ |
102 | | \ |
103 | | /* cie_joint_caches depend on cie_render and */\ |
104 | | /* the color space. */\ |
105 | | struct gx_cie_joint_caches_s *cie_joint_caches; /* (RC) */\ |
106 | | /* cmap_procs depend on the device's color_info. */\ |
107 | | const struct gx_color_map_procs_s *cmap_procs; /* static */\ |
108 | | /* DeviceN component map for current color space */\ |
109 | | gs_devicen_color_map color_component_map;\ |
110 | | /* The contents of pattern_cache depend on the */\ |
111 | | /* the color space and the device's color_info and */\ |
112 | | /* resolution. */\ |
113 | | struct gx_pattern_cache_s *pattern_cache; /* (Shared) by all gstates */\ |
114 | | \ |
115 | | /* Simple color spaces, stored here for easy access from */ \ |
116 | | /* gx_concrete_space_CIE */ \ |
117 | | gs_color_space *devicergb_cs;\ |
118 | | gs_color_space *devicecmyk_cs;\ |
119 | | \ |
120 | | /* Stores for cached values which correspond to whichever */\ |
121 | | /* color isn't in force at the moment */\ |
122 | | struct gx_cie_joint_caches_s *cie_joint_caches_alt;\ |
123 | | gs_devicen_color_map color_component_map_alt |
124 | | |
125 | | |
126 | | /* Current colors (non-stroking, and stroking) */ |
127 | | typedef struct gs_gstate_color_s { |
128 | | gs_color_space *color_space; /* after substitution */ |
129 | | gs_client_color *ccolor; |
130 | | gx_device_color *dev_color; |
131 | | bool effective_opm; |
132 | | } gs_gstate_color; |
133 | | |
134 | | /* |
135 | | * Enumerate the reference-counted pointers in a c.r. state. Note that |
136 | | * effective_transfer doesn't contribute to the reference count: it points |
137 | | * either to the same objects as set_transfer, or to objects in a halftone |
138 | | * structure that someone else worries about. |
139 | | */ |
140 | | #define gs_cr_state_do_rc_ptrs(m)\ |
141 | | m(halftone) \ |
142 | | m(dev_ht[HT_OBJTYPE_DEFAULT]) \ |
143 | | m(dev_ht[HT_OBJTYPE_VECTOR]) \ |
144 | | m(dev_ht[HT_OBJTYPE_IMAGE]) \ |
145 | | m(dev_ht[HT_OBJTYPE_TEXT]) \ |
146 | | m(cie_render) \ |
147 | | m(black_generation) \ |
148 | | m(undercolor_removal) \ |
149 | | m(set_transfer.red) \ |
150 | | m(set_transfer.green) \ |
151 | | m(set_transfer.blue) \ |
152 | | m(set_transfer.gray) \ |
153 | | m(cie_joint_caches) \ |
154 | | m(devicergb_cs) \ |
155 | | m(devicecmyk_cs)\ |
156 | | m(cie_joint_caches_alt) |
157 | | |
158 | | /* Enumerate the pointers in a c.r. state. */ |
159 | | #define gs_cr_state_do_ptrs(m)\ |
160 | 26.2M | m(0,halftone) \ |
161 | 26.2M | m(1,dev_ht[HT_OBJTYPE_DEFAULT]) \ |
162 | 26.2M | m(2, dev_ht[HT_OBJTYPE_VECTOR]) \ |
163 | 26.2M | m(3, dev_ht[HT_OBJTYPE_IMAGE]) \ |
164 | 26.2M | m(4, dev_ht[HT_OBJTYPE_TEXT]) \ |
165 | 26.2M | m(5,cie_render) \ |
166 | 26.2M | m(6,black_generation) \ |
167 | 26.2M | m(7,undercolor_removal) \ |
168 | 26.2M | m(8,set_transfer.red) \ |
169 | 26.2M | m(9,set_transfer.green) \ |
170 | 26.2M | m(10,set_transfer.blue) \ |
171 | 26.2M | m(11,set_transfer.gray)\ |
172 | 26.2M | m(12,cie_joint_caches) \ |
173 | 26.2M | m(13,pattern_cache) \ |
174 | 26.2M | m(14,devicergb_cs) \ |
175 | 26.2M | m(15,devicecmyk_cs)\ |
176 | 26.2M | m(16,cie_joint_caches_alt) |
177 | | /* |
178 | | * We handle effective_transfer specially in gsistate.c since its pointers |
179 | | * are not enumerated for garbage collection but they are are relocated. |
180 | | */ |
181 | | /* |
182 | | * This count does not include the effective_transfer pointers since they |
183 | | * are not enumerated for GC. |
184 | | */ |
185 | 13.1M | #define st_cr_state_num_ptrs 17 |
186 | | |
187 | | struct gs_devicen_color_map_s { |
188 | | bool use_alt_cspace; |
189 | | separation_type sep_type; |
190 | | uint num_components; /* Input - Duplicate of value in gs_device_n_params */ |
191 | | uint num_colorants; /* Number of colorants - output */ |
192 | | gs_id cspace_id; /* Used to verify color space and map match */ |
193 | | int color_map[GS_CLIENT_COLOR_MAX_COMPONENTS]; |
194 | | }; |
195 | | |
196 | | |
197 | | /* These flags are used to keep track of qQ |
198 | | combinations surrounding a graphic state |
199 | | change that includes a softmask setting. |
200 | | The transparency compositor must be notified |
201 | | when a Q event occurs following a softmask */ |
202 | | |
203 | | typedef struct gs_xstate_trans_flags { |
204 | | bool xstate_pending; |
205 | | bool xstate_change; |
206 | | } gs_xstate_trans_flags_t; |
207 | | |
208 | 103M | #define gs_currentdevicecolor_inline(pgs) ((pgs)->color[0].dev_color) |
209 | 156M | #define gs_currentcolor_inline(pgs) ((pgs)->color[0].ccolor) |
210 | 343M | #define gs_currentcolorspace_inline(pgs) ((pgs)->color[0].color_space) |
211 | 207k | #define gs_swappeddevicecolor_inline(pgs) ((pgs)->color[1].dev_color) |
212 | 119M | #define gs_swappedcolor_inline(pgs) ((pgs)->color[1].ccolor) |
213 | 299M | #define gs_swappedcolorspace_inline(pgs) ((pgs)->color[1].color_space) |
214 | 4.27k | #define gs_currentcolor_eopm(pgs) ((pgs)->color[0].effective_opm) |
215 | | |
216 | 31.8M | #define char_tm_only(pgs) *(gs_matrix *)&(pgs)->char_tm |
217 | | |
218 | | #undef gs_currentdevice_inline /* remove definition in gsdevice.h?? */ |
219 | 161M | #define gs_currentdevice_inline(pgs) ((pgs)->device) |
220 | | |
221 | 44.0M | #define gs_gstate_client_data(pgs) ((pgs)->client_data) |
222 | | |
223 | | /* Define the graphics state structure itself. */ |
224 | | /* |
225 | | * Note that the ctm member is a gs_matrix_fixed. As such, it cannot be |
226 | | * used directly as the argument for procedures like gs_point_transform. |
227 | | * Instead, one must use the ctm_only macro, e.g., &ctm_only(pgs) rather |
228 | | * than &pgs->ctm. |
229 | | */ |
230 | | |
231 | | /* Access macros */ |
232 | 203M | #define ctm_only(pgs) (*(const gs_matrix *)&(pgs)->ctm) |
233 | 9.87M | #define ctm_only_writable(pgs) (*(gs_matrix *)&(pgs)->ctm) |
234 | 61.8M | #define set_ctm_only(pgs, mat) (*(gs_matrix *)&(pgs)->ctm = (mat)) |
235 | 1.32M | #define gs_init_rop(pgs) ((pgs)->log_op = lop_default) |
236 | 383k | #define gs_currentflat_inline(pgs) ((pgs)->flatness) |
237 | 358M | #define gs_currentlineparams_inline(pgs) (&(pgs)->line_params) |
238 | 828k | #define gs_current_logical_op_inline(pgs) ((pgs)->log_op) |
239 | 3.31M | #define gs_set_logical_op_inline(pgs, lop) ((pgs)->log_op = (lop)) |
240 | | |
241 | | struct gs_gstate_s { |
242 | | gs_memory_t *memory; |
243 | | void *client_data; |
244 | | gx_line_params line_params; |
245 | | bool hpgl_path_mode; |
246 | | gs_matrix_fixed ctm; |
247 | | bool current_point_valid; |
248 | | gs_point current_point; |
249 | | gs_point subpath_start; |
250 | | bool clamp_coordinates; |
251 | | gs_logical_operation_t log_op; |
252 | | gs_blend_mode_t blend_mode; |
253 | | gs_xstate_trans_flags_t trans_flags; |
254 | | gs_id soft_mask_id; |
255 | | bool text_knockout; |
256 | | uint text_rendering_mode; |
257 | | bool has_transparency; /* used to keep from doing shading fills in device color space */ |
258 | | gx_device *trans_device; /* trans device has all mappings to group color space */ |
259 | | bool overprint; |
260 | | int overprint_mode; |
261 | | bool stroke_overprint; |
262 | | float flatness; |
263 | | gs_fixed_point fill_adjust; /* A path expansion for fill; -1 = dropout prevention*/ |
264 | | bool stroke_adjust; |
265 | | bool accurate_curves; |
266 | | bool have_pattern_streams; |
267 | | float smoothness; |
268 | | int renderingintent; /* See gsstate.c */ |
269 | | bool blackptcomp; |
270 | | gsicc_manager_t *icc_manager; /* ICC color manager, profile */ |
271 | | gsicc_link_cache_t *icc_link_cache; /* ICC linked transforms */ |
272 | | gsicc_profile_cache_t *icc_profile_cache; /* ICC profiles from PS. */ |
273 | | gsicc_blacktextvec_state_t *black_textvec_state; /* Used to store and restore cs for black text */ |
274 | | |
275 | | CUSTOM_COLOR_PTR /* Pointer to custom color callback struct */ |
276 | | const gx_color_map_procs * |
277 | | (*get_cmap_procs)(const gs_gstate *, const gx_device *); |
278 | | gs_color_rendering_state_common; |
279 | | |
280 | | gs_gstate *saved; /* previous state from gsave */ |
281 | | |
282 | | /* Transformation: */ |
283 | | gs_matrix ctm_inverse; |
284 | | bool ctm_inverse_valid; /* true if ctm_inverse = ctm^-1 */ |
285 | | gs_matrix ctm_default; |
286 | | bool ctm_default_set; /* if true, use ctm_default; */ |
287 | | /* if false, ask device */ |
288 | | gs_matrix ctm_initial; /* The value of the device initial matrix at the time the default was set. */ |
289 | | bool ctm_initial_set; /* if true, modification set. If not, assume identity. */ |
290 | | |
291 | | /* Paths: */ |
292 | | |
293 | | gx_path *path; |
294 | | gx_clip_path *clip_path; |
295 | | gx_clip_stack_t *clip_stack; /* (LanguageLevel 3 only) */ |
296 | | gx_clip_path *view_clip; /* (may be 0, or have rule = 0) */ |
297 | | |
298 | | /* Effective clip path cache */ |
299 | | gs_id effective_clip_id; /* (key) clip path id */ |
300 | | gs_id effective_view_clip_id; /* (key) view clip path id */ |
301 | | gx_clip_path *effective_clip_path; /* (value) effective clip path, */ |
302 | | /* possibly = clip_path or view_clip */ |
303 | | bool effective_clip_shared; /* true iff e.c.p. = c.p. or v.c. */ |
304 | | |
305 | | /* PDF graphics state parameters */ |
306 | | float strokeconstantalpha, fillconstantalpha; |
307 | | /* *SMask is stored in int_gstate as its a ref object */ |
308 | | bool alphaisshape; |
309 | | float textspacing; |
310 | | float textleading; |
311 | | float textrise; |
312 | | float wordspacing; |
313 | | float texthscaling; |
314 | | float PDFfontsize; |
315 | | gs_matrix textlinematrix; |
316 | | gs_matrix textmatrix; |
317 | | /* Current colors (non-stroking, and stroking) */ |
318 | | gs_gstate_color color[2]; |
319 | | int is_fill_color; |
320 | | /* Font: */ |
321 | | gs_font *font; |
322 | | gs_font *root_font; |
323 | | gs_matrix_fixed char_tm; /* font matrix * ctm */ |
324 | | bool char_tm_valid; /* true if char_tm is valid */ |
325 | | gs_in_cache_device_t in_cachedevice; /* (see gscpm.h) */ |
326 | | gs_char_path_mode in_charpath; /* (see gscpm.h) */ |
327 | | gs_gstate *show_gstate; /* gstate when show was invoked */ |
328 | | /* (so charpath can append to path) */ |
329 | | /* Other stuff: */ |
330 | | int level; /* incremented by 1 per gsave */ |
331 | | gx_device *device; |
332 | | gs_gstate_client_procs client_procs; |
333 | | }; |
334 | | |
335 | | /* Initialization for gs_gstate */ |
336 | | #define gs_gstate_initial(scale)\ |
337 | 6.18M | 0, 0, { gx_line_params_initial }, 0,\ |
338 | 6.18M | { (float)(scale), 0.0, 0.0, (float)(-(scale)), 0.0, 0.0 },\ |
339 | 6.18M | false, {0, 0}, {0, 0}, false, \ |
340 | 6.18M | lop_default, BLEND_MODE_Compatible,\ |
341 | 6.18M | {0, 0}, 0, 1/*true*/, 0, 0/*false*/, 0, 0/*false*/, 0, 0/*false*/, 1.0, \ |
342 | 6.18M | { fixed_half, fixed_half }, 0/*false*/, 1/*true*/, 0/*false*/, (float)0.02,\ |
343 | 6.18M | 1, 1/* bpt true */, 0, 0, 0, 0, INIT_CUSTOM_COLOR_PTR /* 'Custom color' callback pointer */ \ |
344 | 6.18M | gx_default_get_cmap_procs |
345 | | |
346 | | #define GS_STATE_INIT_VALUES(s, scale) \ |
347 | 4.77M | do { \ |
348 | 4.77M | static const struct gs_gstate_s __state_init = {gs_gstate_initial(scale)}; \ |
349 | 4.77M | s->memory = __state_init.memory; \ |
350 | 4.77M | s->client_data = __state_init.client_data; \ |
351 | 4.77M | s->line_params = __state_init.line_params; \ |
352 | 4.77M | s->hpgl_path_mode = __state_init.hpgl_path_mode; \ |
353 | 4.77M | s->ctm = __state_init.ctm; \ |
354 | 4.77M | s->current_point_valid = __state_init.current_point_valid; \ |
355 | 4.77M | s->current_point = __state_init.current_point; \ |
356 | 4.77M | s->subpath_start = __state_init.subpath_start; \ |
357 | 4.77M | s->clamp_coordinates = __state_init.clamp_coordinates; \ |
358 | 4.77M | s->log_op = __state_init.log_op; \ |
359 | 4.77M | s->blend_mode = __state_init.blend_mode; \ |
360 | 4.77M | s->trans_flags = __state_init.trans_flags; \ |
361 | 4.77M | s->soft_mask_id = __state_init.soft_mask_id; \ |
362 | 4.77M | s->text_knockout = __state_init.text_knockout; \ |
363 | 4.77M | s->text_rendering_mode = __state_init.text_rendering_mode; \ |
364 | 4.77M | s->has_transparency = __state_init.has_transparency; \ |
365 | 4.77M | s->trans_device = __state_init.trans_device; \ |
366 | 4.77M | s->overprint = __state_init.overprint; \ |
367 | 4.77M | s->overprint_mode = __state_init.overprint_mode; \ |
368 | 4.77M | s->stroke_overprint = __state_init.stroke_overprint; \ |
369 | 4.77M | s->flatness = __state_init.flatness; \ |
370 | 4.77M | s->fill_adjust = __state_init.fill_adjust; \ |
371 | 4.77M | s->stroke_adjust = __state_init.stroke_adjust; \ |
372 | 4.77M | s->accurate_curves = __state_init.accurate_curves; \ |
373 | 4.77M | s->have_pattern_streams = __state_init.have_pattern_streams; \ |
374 | 4.77M | s->smoothness = __state_init.smoothness; \ |
375 | 4.77M | s->renderingintent = __state_init.renderingintent; \ |
376 | 4.77M | s->blackptcomp = __state_init.blackptcomp; \ |
377 | 4.77M | s->icc_manager = __state_init.icc_manager; \ |
378 | 4.77M | s->icc_link_cache = __state_init.icc_link_cache; \ |
379 | 4.77M | s->icc_profile_cache = __state_init.icc_profile_cache; \ |
380 | 4.77M | s->get_cmap_procs = __state_init.get_cmap_procs; \ |
381 | 4.77M | s->black_textvec_state = NULL; \ |
382 | 4.77M | s->show_gstate = NULL; \ |
383 | 4.77M | s->is_fill_color = 1; \ |
384 | 4.77M | s->strokeconstantalpha = 1.0; \ |
385 | 4.77M | s->fillconstantalpha = 1.0; \ |
386 | 4.77M | s->alphaisshape = 0; \ |
387 | 4.77M | s->texthscaling = 100.0; \ |
388 | 4.77M | s->textspacing = 0.0; \ |
389 | 4.77M | s->textleading = 0.0; \ |
390 | 4.77M | s->wordspacing = 0.0; \ |
391 | 4.77M | s->textrise = 0.0; \ |
392 | 4.77M | } while (0) |
393 | | |
394 | | struct_proc_finalize(gs_gstate_finalize); |
395 | | #define public_st_gs_gstate() /* in gsstate.c */\ |
396 | | gs_public_st_composite_use_final(st_gs_gstate, gs_gstate, "gs_gstate",\ |
397 | | gs_gstate_enum_ptrs, gs_gstate_reloc_ptrs, gs_gstate_finalize) |
398 | | |
399 | | /* |
400 | | * Enumerate the pointers in a graphics state |
401 | | * except device which must |
402 | | * be handled specially. |
403 | | */ |
404 | | #define gs_gstate_do_ptrs(m)\ |
405 | 26.2M | m(0, client_data) \ |
406 | 26.2M | m(1, trans_device) \ |
407 | 26.2M | m(2, icc_manager) \ |
408 | 26.2M | m(3, icc_link_cache) \ |
409 | 26.2M | m(4, icc_profile_cache) \ |
410 | 26.2M | m(5, saved) \ |
411 | 26.2M | m(6, path) \ |
412 | 26.2M | m(7, clip_path) \ |
413 | 26.2M | m(8, clip_stack) \ |
414 | 26.2M | m(9, view_clip) \ |
415 | 26.2M | m(10, effective_clip_path) \ |
416 | 26.2M | m(11, color[0].color_space) \ |
417 | 26.2M | m(12, color[0].ccolor) \ |
418 | 26.2M | m(13, color[0].dev_color) \ |
419 | 26.2M | m(14, color[1].color_space) \ |
420 | 26.2M | m(15, color[1].ccolor) \ |
421 | 26.2M | m(16, color[1].dev_color)\ |
422 | 26.2M | m(17, font) \ |
423 | 26.2M | m(18, root_font) \ |
424 | 26.2M | m(19, show_gstate) \ |
425 | 26.2M | m(20, black_textvec_state) |
426 | | |
427 | 13.1M | #define gs_gstate_num_ptrs 21 |
428 | | |
429 | | /* The '+1' in the following is because gs_gstate.device |
430 | | * is handled specially |
431 | | */ |
432 | | #define st_gs_gstate_num_ptrs\ |
433 | | (st_line_params_num_ptrs + st_cr_state_num_ptrs + gs_gstate_num_ptrs + 1) |
434 | | |
435 | | /* Initialize an graphics state, other than the parts covered by */ |
436 | | /* gs_gstate_initial. */ |
437 | | int gs_gstate_initialize(gs_gstate * pgs, gs_memory_t * mem); |
438 | | |
439 | | /* Increment reference counts to note that a graphics state has been copied. */ |
440 | | void gs_gstate_copied(gs_gstate * pgs); |
441 | | |
442 | | /* Adjust reference counts before assigning one gs_gstate to another. */ |
443 | | void gs_gstate_pre_assign(gs_gstate *to, const gs_gstate *from); |
444 | | |
445 | | /* Release an gs_gstate. */ |
446 | | void gs_gstate_release(gs_gstate * pgs); |
447 | | int gs_currentscreenphase_pgs(const gs_gstate *, gs_int_point *, gs_color_select_t); |
448 | | |
449 | | /* The following macro is used for development purpose for designating places |
450 | | where current point is changed. Clients must not use it. */ |
451 | | #define gx_setcurrentpoint(pgs, xx, yy)\ |
452 | 178M | (pgs)->current_point.x = xx;\ |
453 | 178M | (pgs)->current_point.y = yy; |
454 | | |
455 | | /* The const is a lie. The swapcolors stuff is a bit of a hack; a late |
456 | | * addition to the graphics library, which has to be used in many places |
457 | | * where the device interface only has a const gs_gstate available to it |
458 | | * rather than a non-const one. In all these cases, we flip the colors |
459 | | * during a call to a function, then swap it back again before we leave, |
460 | | * so the net effect of the call remains that the gstate is not changed. |
461 | | * Rather than breaking const at every single callsite, we move the const |
462 | | * breaking into the function itself. */ |
463 | | void gs_swapcolors_quick(const gs_gstate *); |
464 | | |
465 | | /* Set the graphics_type_tag iff the requested tag bit is not set in the dev_color and */ |
466 | | /* unset the dev_color so that gx_set_dev_color will remap (encode) with the new tag. */ |
467 | | /* Also make sure the tag is set in the device so the two remain in sync. */ |
468 | | static inline void ensure_tag_is_set(gs_gstate *pgs, gx_device *dev, gs_graphics_type_tag_t tag) |
469 | 40.8M | { |
470 | 40.8M | if ((dev->graphics_type_tag & tag) == 0) |
471 | 3.12M | dev_proc(dev, set_graphics_type_tag)(dev, tag); |
472 | 40.8M | if (device_encodes_tags(dev)) { |
473 | 0 | if ((pgs->color[0].dev_color->tag & tag) == 0) { |
474 | 0 | gx_unset_dev_color(pgs); /* current dev_color needs update to new tag */ |
475 | 0 | pgs->color[0].dev_color->tag = tag; /* after unset, now set it */ |
476 | 0 | } |
477 | 0 | } |
478 | 40.8M | } Unexecuted instantiation: imain.c:ensure_tag_is_set Unexecuted instantiation: gximage3.c:ensure_tag_is_set Unexecuted instantiation: gsptype1.c:ensure_tag_is_set Unexecuted instantiation: gxp1fill.c:ensure_tag_is_set Unexecuted instantiation: gxpcmap.c:ensure_tag_is_set Unexecuted instantiation: gxicolor.c:ensure_tag_is_set gsdps1.c:ensure_tag_is_set Line | Count | Source | 469 | 41.9k | { | 470 | 41.9k | if ((dev->graphics_type_tag & tag) == 0) | 471 | 2.50k | dev_proc(dev, set_graphics_type_tag)(dev, tag); | 472 | 41.9k | if (device_encodes_tags(dev)) { | 473 | 0 | if ((pgs->color[0].dev_color->tag & tag) == 0) { | 474 | 0 | gx_unset_dev_color(pgs); /* current dev_color needs update to new tag */ | 475 | 0 | pgs->color[0].dev_color->tag = tag; /* after unset, now set it */ | 476 | 0 | } | 477 | 0 | } | 478 | 41.9k | } |
Unexecuted instantiation: gsciemap.c:ensure_tag_is_set Unexecuted instantiation: gstrans.c:ensure_tag_is_set Unexecuted instantiation: gximag3x.c:ensure_tag_is_set Unexecuted instantiation: gdevp14.c:ensure_tag_is_set Unexecuted instantiation: gdevdevn.c:ensure_tag_is_set Unexecuted instantiation: gsequivc.c:ensure_tag_is_set Unexecuted instantiation: gscpixel.c:ensure_tag_is_set Unexecuted instantiation: gdevbbox.c:ensure_tag_is_set Unexecuted instantiation: gdevprn.c:ensure_tag_is_set Unexecuted instantiation: gdevppla.c:ensure_tag_is_set Unexecuted instantiation: gdevflp.c:ensure_tag_is_set Unexecuted instantiation: gdevoflt.c:ensure_tag_is_set Unexecuted instantiation: gdevnup.c:ensure_tag_is_set Unexecuted instantiation: gdevsclass.c:ensure_tag_is_set Unexecuted instantiation: gxclist.c:ensure_tag_is_set Unexecuted instantiation: gxclpage.c:ensure_tag_is_set Unexecuted instantiation: gxclread.c:ensure_tag_is_set Unexecuted instantiation: gxclrect.c:ensure_tag_is_set Unexecuted instantiation: gxclutil.c:ensure_tag_is_set Unexecuted instantiation: gxclimag.c:ensure_tag_is_set Unexecuted instantiation: gxclpath.c:ensure_tag_is_set Unexecuted instantiation: gxdhtserial.c:ensure_tag_is_set Unexecuted instantiation: gxclthrd.c:ensure_tag_is_set Unexecuted instantiation: gsicc.c:ensure_tag_is_set Unexecuted instantiation: gsicc_manage.c:ensure_tag_is_set Unexecuted instantiation: gsicc_cache.c:ensure_tag_is_set Unexecuted instantiation: gsicc_create.c:ensure_tag_is_set Unexecuted instantiation: gsicc_nocm.c:ensure_tag_is_set Unexecuted instantiation: gsicc_replacecm.c:ensure_tag_is_set Unexecuted instantiation: gsicc_blacktext.c:ensure_tag_is_set Unexecuted instantiation: gdevbmp.c:ensure_tag_is_set Unexecuted instantiation: gdevbmpc.c:ensure_tag_is_set Unexecuted instantiation: gdevcups.c:ensure_tag_is_set Unexecuted instantiation: gdevpdf.c:ensure_tag_is_set Unexecuted instantiation: gdevpdfb.c:ensure_tag_is_set Unexecuted instantiation: gdevpdfc.c:ensure_tag_is_set Unexecuted instantiation: gdevpdfd.c:ensure_tag_is_set Unexecuted instantiation: gdevpdfe.c:ensure_tag_is_set Unexecuted instantiation: gdevpdfg.c:ensure_tag_is_set Unexecuted instantiation: gdevpdfi.c:ensure_tag_is_set Unexecuted instantiation: gdevpdfj.c:ensure_tag_is_set Unexecuted instantiation: gdevpdfk.c:ensure_tag_is_set Unexecuted instantiation: gdevpdfm.c:ensure_tag_is_set Unexecuted instantiation: gdevpdfo.c:ensure_tag_is_set Unexecuted instantiation: gdevpdfp.c:ensure_tag_is_set Unexecuted instantiation: gdevpdft.c:ensure_tag_is_set Unexecuted instantiation: gdevpdfr.c:ensure_tag_is_set Unexecuted instantiation: gdevpdfu.c:ensure_tag_is_set Unexecuted instantiation: gdevpdfv.c:ensure_tag_is_set Unexecuted instantiation: gdevpsdi.c:ensure_tag_is_set Unexecuted instantiation: gdevpsdp.c:ensure_tag_is_set Unexecuted instantiation: gdevpsds.c:ensure_tag_is_set Unexecuted instantiation: gdevpsdu.c:ensure_tag_is_set Unexecuted instantiation: gdevvec.c:ensure_tag_is_set Unexecuted instantiation: gdevpdt.c:ensure_tag_is_set Unexecuted instantiation: gdevpdtd.c:ensure_tag_is_set Unexecuted instantiation: gdevpdtf.c:ensure_tag_is_set Unexecuted instantiation: gdevpdti.c:ensure_tag_is_set Unexecuted instantiation: gdevpdts.c:ensure_tag_is_set Unexecuted instantiation: gdevpdtt.c:ensure_tag_is_set Unexecuted instantiation: gdevpdtw.c:ensure_tag_is_set Unexecuted instantiation: gxfcopy.c:ensure_tag_is_set Unexecuted instantiation: gdevfax.c:ensure_tag_is_set Unexecuted instantiation: gdevdjet.c:ensure_tag_is_set Unexecuted instantiation: gdevdljm.c:ensure_tag_is_set Unexecuted instantiation: gdevpcl.c:ensure_tag_is_set Unexecuted instantiation: gdevpcl3.c:ensure_tag_is_set Unexecuted instantiation: pclcap.c:ensure_tag_is_set Unexecuted instantiation: gdevpbm.c:ensure_tag_is_set Unexecuted instantiation: gdevpng.c:ensure_tag_is_set Unexecuted instantiation: gdevpsd.c:ensure_tag_is_set Unexecuted instantiation: gdevpx.c:ensure_tag_is_set Unexecuted instantiation: gdevtsep.c:ensure_tag_is_set Unexecuted instantiation: gdevtifs.c:ensure_tag_is_set Unexecuted instantiation: gdevupd.c:ensure_tag_is_set Unexecuted instantiation: gdevxps.c:ensure_tag_is_set Unexecuted instantiation: gschar.c:ensure_tag_is_set Unexecuted instantiation: gscolor.c:ensure_tag_is_set Unexecuted instantiation: gscoord.c:ensure_tag_is_set Unexecuted instantiation: gscspace.c:ensure_tag_is_set Unexecuted instantiation: gsovrc.c:ensure_tag_is_set Unexecuted instantiation: gsdevice.c:ensure_tag_is_set Unexecuted instantiation: gsfont.c:ensure_tag_is_set Unexecuted instantiation: gsht.c:ensure_tag_is_set Unexecuted instantiation: gshtscr.c:ensure_tag_is_set gsimage.c:ensure_tag_is_set Line | Count | Source | 469 | 1.07M | { | 470 | 1.07M | if ((dev->graphics_type_tag & tag) == 0) | 471 | 645k | dev_proc(dev, set_graphics_type_tag)(dev, tag); | 472 | 1.07M | if (device_encodes_tags(dev)) { | 473 | 0 | if ((pgs->color[0].dev_color->tag & tag) == 0) { | 474 | 0 | gx_unset_dev_color(pgs); /* current dev_color needs update to new tag */ | 475 | 0 | pgs->color[0].dev_color->tag = tag; /* after unset, now set it */ | 476 | 0 | } | 477 | 0 | } | 478 | 1.07M | } |
Unexecuted instantiation: gsgstate.c:ensure_tag_is_set Unexecuted instantiation: gsline.c:ensure_tag_is_set gspaint.c:ensure_tag_is_set Line | Count | Source | 469 | 15.7M | { | 470 | 15.7M | if ((dev->graphics_type_tag & tag) == 0) | 471 | 985k | dev_proc(dev, set_graphics_type_tag)(dev, tag); | 472 | 15.7M | if (device_encodes_tags(dev)) { | 473 | 0 | if ((pgs->color[0].dev_color->tag & tag) == 0) { | 474 | 0 | gx_unset_dev_color(pgs); /* current dev_color needs update to new tag */ | 475 | 0 | pgs->color[0].dev_color->tag = tag; /* after unset, now set it */ | 476 | 0 | } | 477 | 0 | } | 478 | 15.7M | } |
Unexecuted instantiation: gspath.c:ensure_tag_is_set Unexecuted instantiation: gsstate.c:ensure_tag_is_set gstext.c:ensure_tag_is_set Line | Count | Source | 469 | 23.6M | { | 470 | 23.6M | if ((dev->graphics_type_tag & tag) == 0) | 471 | 1.46M | dev_proc(dev, set_graphics_type_tag)(dev, tag); | 472 | 23.6M | if (device_encodes_tags(dev)) { | 473 | 0 | if ((pgs->color[0].dev_color->tag & tag) == 0) { | 474 | 0 | gx_unset_dev_color(pgs); /* current dev_color needs update to new tag */ | 475 | 0 | pgs->color[0].dev_color->tag = tag; /* after unset, now set it */ | 476 | 0 | } | 477 | 0 | } | 478 | 23.6M | } |
gxfapi.c:ensure_tag_is_set Line | Count | Source | 469 | 263k | { | 470 | 263k | if ((dev->graphics_type_tag & tag) == 0) | 471 | 0 | dev_proc(dev, set_graphics_type_tag)(dev, tag); | 472 | 263k | if (device_encodes_tags(dev)) { | 473 | 0 | if ((pgs->color[0].dev_color->tag & tag) == 0) { | 474 | 0 | gx_unset_dev_color(pgs); /* current dev_color needs update to new tag */ | 475 | 0 | pgs->color[0].dev_color->tag = tag; /* after unset, now set it */ | 476 | 0 | } | 477 | 0 | } | 478 | 263k | } |
Unexecuted instantiation: write_t2.c:ensure_tag_is_set Unexecuted instantiation: gxccache.c:ensure_tag_is_set Unexecuted instantiation: gxccman.c:ensure_tag_is_set Unexecuted instantiation: gxchar.c:ensure_tag_is_set Unexecuted instantiation: gxcht.c:ensure_tag_is_set Unexecuted instantiation: gxcmap.c:ensure_tag_is_set Unexecuted instantiation: gxcpath.c:ensure_tag_is_set Unexecuted instantiation: gxdcconv.c:ensure_tag_is_set Unexecuted instantiation: gxdcolor.c:ensure_tag_is_set Unexecuted instantiation: gxhldevc.c:ensure_tag_is_set Unexecuted instantiation: gxfill.c:ensure_tag_is_set Unexecuted instantiation: gxht.c:ensure_tag_is_set Unexecuted instantiation: gxht_thresh.c:ensure_tag_is_set Unexecuted instantiation: gxidata.c:ensure_tag_is_set Unexecuted instantiation: gxifast.c:ensure_tag_is_set Unexecuted instantiation: gximono.c:ensure_tag_is_set Unexecuted instantiation: gxipixel.c:ensure_tag_is_set Unexecuted instantiation: gxi12bit.c:ensure_tag_is_set Unexecuted instantiation: gxi16bit.c:ensure_tag_is_set Unexecuted instantiation: gxiscale.c:ensure_tag_is_set Unexecuted instantiation: gxpaint.c:ensure_tag_is_set Unexecuted instantiation: gxpcopy.c:ensure_tag_is_set Unexecuted instantiation: gxstroke.c:ensure_tag_is_set Unexecuted instantiation: gdevabuf.c:ensure_tag_is_set Unexecuted instantiation: gdevddrw.c:ensure_tag_is_set Unexecuted instantiation: gdevdflt.c:ensure_tag_is_set Unexecuted instantiation: gdevplnx.c:ensure_tag_is_set Unexecuted instantiation: gxscanc.c:ensure_tag_is_set Unexecuted instantiation: gsrop.c:ensure_tag_is_set Unexecuted instantiation: zcolor1.c:ensure_tag_is_set Unexecuted instantiation: zupath.c:ensure_tag_is_set Unexecuted instantiation: zdps1.c:ensure_tag_is_set Unexecuted instantiation: zchar1.c:ensure_tag_is_set Unexecuted instantiation: zusparam.c:ensure_tag_is_set Unexecuted instantiation: zchar42.c:ensure_tag_is_set Unexecuted instantiation: zfont0.c:ensure_tag_is_set Unexecuted instantiation: zpcolor.c:ensure_tag_is_set Unexecuted instantiation: idisp.c:ensure_tag_is_set Unexecuted instantiation: psapi.c:ensure_tag_is_set Unexecuted instantiation: zchar.c:ensure_tag_is_set Unexecuted instantiation: zcolor.c:ensure_tag_is_set Unexecuted instantiation: zfont.c:ensure_tag_is_set Unexecuted instantiation: zfapi.c:ensure_tag_is_set Unexecuted instantiation: zht2.c:ensure_tag_is_set Unexecuted instantiation: zfunc4.c:ensure_tag_is_set Unexecuted instantiation: zform.c:ensure_tag_is_set Unexecuted instantiation: zicc.c:ensure_tag_is_set Unexecuted instantiation: zpdfops.c:ensure_tag_is_set Unexecuted instantiation: pdf_loop_detect.c:ensure_tag_is_set Unexecuted instantiation: ghostpdf.c:ensure_tag_is_set Unexecuted instantiation: pdf_dict.c:ensure_tag_is_set Unexecuted instantiation: pdf_array.c:ensure_tag_is_set Unexecuted instantiation: pdf_xref.c:ensure_tag_is_set Unexecuted instantiation: pdf_int.c:ensure_tag_is_set Unexecuted instantiation: pdf_file.c:ensure_tag_is_set Unexecuted instantiation: pdf_path.c:ensure_tag_is_set Unexecuted instantiation: pdf_colour.c:ensure_tag_is_set Unexecuted instantiation: pdf_pattern.c:ensure_tag_is_set Unexecuted instantiation: pdf_gstate.c:ensure_tag_is_set Unexecuted instantiation: pdf_stack.c:ensure_tag_is_set Unexecuted instantiation: pdf_image.c:ensure_tag_is_set Unexecuted instantiation: pdf_page.c:ensure_tag_is_set Unexecuted instantiation: pdf_annot.c:ensure_tag_is_set Unexecuted instantiation: pdf_mark.c:ensure_tag_is_set Unexecuted instantiation: pdf_font.c:ensure_tag_is_set Unexecuted instantiation: pdf_font0.c:ensure_tag_is_set Unexecuted instantiation: pdf_ciddec.c:ensure_tag_is_set Unexecuted instantiation: pdf_font1.c:ensure_tag_is_set Unexecuted instantiation: pdf_font1C.c:ensure_tag_is_set Unexecuted instantiation: pdf_fontps.c:ensure_tag_is_set Unexecuted instantiation: pdf_font3.c:ensure_tag_is_set Unexecuted instantiation: pdf_fontTT.c:ensure_tag_is_set Unexecuted instantiation: pdf_font11.c:ensure_tag_is_set Unexecuted instantiation: pdf_cmap.c:ensure_tag_is_set Unexecuted instantiation: pdf_fmap.c:ensure_tag_is_set Unexecuted instantiation: pdf_text.c:ensure_tag_is_set Unexecuted instantiation: pdf_shading.c:ensure_tag_is_set Unexecuted instantiation: pdf_func.c:ensure_tag_is_set Unexecuted instantiation: pdf_trans.c:ensure_tag_is_set Unexecuted instantiation: pdf_device.c:ensure_tag_is_set Unexecuted instantiation: pdf_misc.c:ensure_tag_is_set Unexecuted instantiation: pdf_optcontent.c:ensure_tag_is_set Unexecuted instantiation: pdf_check.c:ensure_tag_is_set Unexecuted instantiation: pdf_sec.c:ensure_tag_is_set Unexecuted instantiation: pdf_utf8.c:ensure_tag_is_set Unexecuted instantiation: pdf_deref.c:ensure_tag_is_set Unexecuted instantiation: pdf_repair.c:ensure_tag_is_set Unexecuted instantiation: pdf_obj.c:ensure_tag_is_set Unexecuted instantiation: pdf_doc.c:ensure_tag_is_set Unexecuted instantiation: imainarg.c:ensure_tag_is_set Unexecuted instantiation: gsclipsr.c:ensure_tag_is_set Unexecuted instantiation: gscdevn.c:ensure_tag_is_set gscolor3.c:ensure_tag_is_set Line | Count | Source | 469 | 72.7k | { | 470 | 72.7k | if ((dev->graphics_type_tag & tag) == 0) | 471 | 22.5k | dev_proc(dev, set_graphics_type_tag)(dev, tag); | 472 | 72.7k | if (device_encodes_tags(dev)) { | 473 | 0 | if ((pgs->color[0].dev_color->tag & tag) == 0) { | 474 | 0 | gx_unset_dev_color(pgs); /* current dev_color needs update to new tag */ | 475 | 0 | pgs->color[0].dev_color->tag = tag; /* after unset, now set it */ | 476 | 0 | } | 477 | 0 | } | 478 | 72.7k | } |
Unexecuted instantiation: gsptype2.c:ensure_tag_is_set Unexecuted instantiation: gsshade.c:ensure_tag_is_set Unexecuted instantiation: gxshade.c:ensure_tag_is_set Unexecuted instantiation: gxshade1.c:ensure_tag_is_set Unexecuted instantiation: gxshade4.c:ensure_tag_is_set Unexecuted instantiation: gxshade6.c:ensure_tag_is_set Unexecuted instantiation: gscolor1.c:ensure_tag_is_set Unexecuted instantiation: gsht1.c:ensure_tag_is_set Unexecuted instantiation: gscolor2.c:ensure_tag_is_set Unexecuted instantiation: gspcolor.c:ensure_tag_is_set Unexecuted instantiation: gspath1.c:ensure_tag_is_set Unexecuted instantiation: gstype42.c:ensure_tag_is_set Unexecuted instantiation: gxchrout.c:ensure_tag_is_set Unexecuted instantiation: gxttfb.c:ensure_tag_is_set Unexecuted instantiation: gscie.c:ensure_tag_is_set Unexecuted instantiation: gscsepr.c:ensure_tag_is_set Unexecuted instantiation: gxblend1.c:ensure_tag_is_set Unexecuted instantiation: gxdownscale.c:ensure_tag_is_set Unexecuted instantiation: gdevepo.c:ensure_tag_is_set Unexecuted instantiation: gxclbits.c:ensure_tag_is_set Unexecuted instantiation: gxclrast.c:ensure_tag_is_set Unexecuted instantiation: gstype1.c:ensure_tag_is_set Unexecuted instantiation: gxtype1.c:ensure_tag_is_set Unexecuted instantiation: gstype2.c:ensure_tag_is_set Unexecuted instantiation: gsicc_profilecache.c:ensure_tag_is_set Unexecuted instantiation: gdevpdtb.c:ensure_tag_is_set Unexecuted instantiation: gdevpdtc.c:ensure_tag_is_set Unexecuted instantiation: gdevpdte.c:ensure_tag_is_set Unexecuted instantiation: gdevpsfx.c:ensure_tag_is_set Unexecuted instantiation: gstiffio.c:ensure_tag_is_set Unexecuted instantiation: gdeveprn.c:ensure_tag_is_set Unexecuted instantiation: eprnparm.c:ensure_tag_is_set Unexecuted instantiation: eprnrend.c:ensure_tag_is_set Unexecuted instantiation: eprnfs.c:ensure_tag_is_set Unexecuted instantiation: gxacpath.c:ensure_tag_is_set Unexecuted instantiation: gxpdash.c:ensure_tag_is_set Unexecuted instantiation: pdf_fapi.c:ensure_tag_is_set Unexecuted instantiation: gscscie.c:ensure_tag_is_set |
479 | | |
480 | | /* Adjust the color reference counts for the current space. */ |
481 | | static inline void |
482 | | cs_adjust_color_count(gs_gstate *pgs, int delta) |
483 | 130M | { |
484 | 130M | gs_color_space *pcs = gs_currentcolorspace_inline(pgs); |
485 | | |
486 | 130M | (pcs->type->adjust_color_count)(gs_currentcolor_inline(pgs), |
487 | 130M | pcs, delta); |
488 | 130M | } Unexecuted instantiation: imain.c:cs_adjust_color_count Unexecuted instantiation: gximage3.c:cs_adjust_color_count Unexecuted instantiation: gsptype1.c:cs_adjust_color_count Unexecuted instantiation: gxp1fill.c:cs_adjust_color_count Unexecuted instantiation: gxpcmap.c:cs_adjust_color_count Unexecuted instantiation: gxicolor.c:cs_adjust_color_count Unexecuted instantiation: gsdps1.c:cs_adjust_color_count Unexecuted instantiation: gsciemap.c:cs_adjust_color_count Unexecuted instantiation: gstrans.c:cs_adjust_color_count Unexecuted instantiation: gximag3x.c:cs_adjust_color_count Unexecuted instantiation: gdevp14.c:cs_adjust_color_count Unexecuted instantiation: gdevdevn.c:cs_adjust_color_count Unexecuted instantiation: gsequivc.c:cs_adjust_color_count Unexecuted instantiation: gscpixel.c:cs_adjust_color_count Unexecuted instantiation: gdevbbox.c:cs_adjust_color_count Unexecuted instantiation: gdevprn.c:cs_adjust_color_count Unexecuted instantiation: gdevppla.c:cs_adjust_color_count Unexecuted instantiation: gdevflp.c:cs_adjust_color_count Unexecuted instantiation: gdevoflt.c:cs_adjust_color_count Unexecuted instantiation: gdevnup.c:cs_adjust_color_count Unexecuted instantiation: gdevsclass.c:cs_adjust_color_count Unexecuted instantiation: gxclist.c:cs_adjust_color_count Unexecuted instantiation: gxclpage.c:cs_adjust_color_count Unexecuted instantiation: gxclread.c:cs_adjust_color_count Unexecuted instantiation: gxclrect.c:cs_adjust_color_count Unexecuted instantiation: gxclutil.c:cs_adjust_color_count Unexecuted instantiation: gxclimag.c:cs_adjust_color_count Unexecuted instantiation: gxclpath.c:cs_adjust_color_count Unexecuted instantiation: gxdhtserial.c:cs_adjust_color_count Unexecuted instantiation: gxclthrd.c:cs_adjust_color_count Unexecuted instantiation: gsicc.c:cs_adjust_color_count Unexecuted instantiation: gsicc_manage.c:cs_adjust_color_count Unexecuted instantiation: gsicc_cache.c:cs_adjust_color_count Unexecuted instantiation: gsicc_create.c:cs_adjust_color_count Unexecuted instantiation: gsicc_nocm.c:cs_adjust_color_count Unexecuted instantiation: gsicc_replacecm.c:cs_adjust_color_count Unexecuted instantiation: gsicc_blacktext.c:cs_adjust_color_count Unexecuted instantiation: gdevbmp.c:cs_adjust_color_count Unexecuted instantiation: gdevbmpc.c:cs_adjust_color_count Unexecuted instantiation: gdevcups.c:cs_adjust_color_count Unexecuted instantiation: gdevpdf.c:cs_adjust_color_count Unexecuted instantiation: gdevpdfb.c:cs_adjust_color_count Unexecuted instantiation: gdevpdfc.c:cs_adjust_color_count Unexecuted instantiation: gdevpdfd.c:cs_adjust_color_count Unexecuted instantiation: gdevpdfe.c:cs_adjust_color_count Unexecuted instantiation: gdevpdfg.c:cs_adjust_color_count Unexecuted instantiation: gdevpdfi.c:cs_adjust_color_count Unexecuted instantiation: gdevpdfj.c:cs_adjust_color_count Unexecuted instantiation: gdevpdfk.c:cs_adjust_color_count Unexecuted instantiation: gdevpdfm.c:cs_adjust_color_count Unexecuted instantiation: gdevpdfo.c:cs_adjust_color_count Unexecuted instantiation: gdevpdfp.c:cs_adjust_color_count Unexecuted instantiation: gdevpdft.c:cs_adjust_color_count Unexecuted instantiation: gdevpdfr.c:cs_adjust_color_count Unexecuted instantiation: gdevpdfu.c:cs_adjust_color_count Unexecuted instantiation: gdevpdfv.c:cs_adjust_color_count Unexecuted instantiation: gdevpsdi.c:cs_adjust_color_count Unexecuted instantiation: gdevpsdp.c:cs_adjust_color_count Unexecuted instantiation: gdevpsds.c:cs_adjust_color_count Unexecuted instantiation: gdevpsdu.c:cs_adjust_color_count Unexecuted instantiation: gdevvec.c:cs_adjust_color_count Unexecuted instantiation: gdevpdt.c:cs_adjust_color_count Unexecuted instantiation: gdevpdtd.c:cs_adjust_color_count Unexecuted instantiation: gdevpdtf.c:cs_adjust_color_count Unexecuted instantiation: gdevpdti.c:cs_adjust_color_count Unexecuted instantiation: gdevpdts.c:cs_adjust_color_count Unexecuted instantiation: gdevpdtt.c:cs_adjust_color_count Unexecuted instantiation: gdevpdtw.c:cs_adjust_color_count Unexecuted instantiation: gxfcopy.c:cs_adjust_color_count Unexecuted instantiation: gdevfax.c:cs_adjust_color_count Unexecuted instantiation: gdevdjet.c:cs_adjust_color_count Unexecuted instantiation: gdevdljm.c:cs_adjust_color_count Unexecuted instantiation: gdevpcl.c:cs_adjust_color_count Unexecuted instantiation: gdevpcl3.c:cs_adjust_color_count Unexecuted instantiation: pclcap.c:cs_adjust_color_count Unexecuted instantiation: gdevpbm.c:cs_adjust_color_count Unexecuted instantiation: gdevpng.c:cs_adjust_color_count Unexecuted instantiation: gdevpsd.c:cs_adjust_color_count Unexecuted instantiation: gdevpx.c:cs_adjust_color_count Unexecuted instantiation: gdevtsep.c:cs_adjust_color_count Unexecuted instantiation: gdevtifs.c:cs_adjust_color_count Unexecuted instantiation: gdevupd.c:cs_adjust_color_count Unexecuted instantiation: gdevxps.c:cs_adjust_color_count Unexecuted instantiation: gschar.c:cs_adjust_color_count gscolor.c:cs_adjust_color_count Line | Count | Source | 483 | 3.87M | { | 484 | 3.87M | gs_color_space *pcs = gs_currentcolorspace_inline(pgs); | 485 | | | 486 | 3.87M | (pcs->type->adjust_color_count)(gs_currentcolor_inline(pgs), | 487 | 3.87M | pcs, delta); | 488 | 3.87M | } |
Unexecuted instantiation: gscoord.c:cs_adjust_color_count gscspace.c:cs_adjust_color_count Line | Count | Source | 483 | 119M | { | 484 | 119M | gs_color_space *pcs = gs_currentcolorspace_inline(pgs); | 485 | | | 486 | 119M | (pcs->type->adjust_color_count)(gs_currentcolor_inline(pgs), | 487 | 119M | pcs, delta); | 488 | 119M | } |
Unexecuted instantiation: gsovrc.c:cs_adjust_color_count Unexecuted instantiation: gsdevice.c:cs_adjust_color_count Unexecuted instantiation: gsfont.c:cs_adjust_color_count Unexecuted instantiation: gsht.c:cs_adjust_color_count Unexecuted instantiation: gshtscr.c:cs_adjust_color_count Unexecuted instantiation: gsimage.c:cs_adjust_color_count Unexecuted instantiation: gsgstate.c:cs_adjust_color_count Unexecuted instantiation: gsline.c:cs_adjust_color_count Unexecuted instantiation: gspaint.c:cs_adjust_color_count Unexecuted instantiation: gspath.c:cs_adjust_color_count Unexecuted instantiation: gsstate.c:cs_adjust_color_count Unexecuted instantiation: gstext.c:cs_adjust_color_count Unexecuted instantiation: gxfapi.c:cs_adjust_color_count Unexecuted instantiation: write_t2.c:cs_adjust_color_count Unexecuted instantiation: gxccache.c:cs_adjust_color_count Unexecuted instantiation: gxccman.c:cs_adjust_color_count Unexecuted instantiation: gxchar.c:cs_adjust_color_count Unexecuted instantiation: gxcht.c:cs_adjust_color_count Unexecuted instantiation: gxcmap.c:cs_adjust_color_count Unexecuted instantiation: gxcpath.c:cs_adjust_color_count Unexecuted instantiation: gxdcconv.c:cs_adjust_color_count Unexecuted instantiation: gxdcolor.c:cs_adjust_color_count Unexecuted instantiation: gxhldevc.c:cs_adjust_color_count Unexecuted instantiation: gxfill.c:cs_adjust_color_count Unexecuted instantiation: gxht.c:cs_adjust_color_count Unexecuted instantiation: gxht_thresh.c:cs_adjust_color_count Unexecuted instantiation: gxidata.c:cs_adjust_color_count Unexecuted instantiation: gxifast.c:cs_adjust_color_count Unexecuted instantiation: gximono.c:cs_adjust_color_count Unexecuted instantiation: gxipixel.c:cs_adjust_color_count Unexecuted instantiation: gxi12bit.c:cs_adjust_color_count Unexecuted instantiation: gxi16bit.c:cs_adjust_color_count Unexecuted instantiation: gxiscale.c:cs_adjust_color_count Unexecuted instantiation: gxpaint.c:cs_adjust_color_count Unexecuted instantiation: gxpcopy.c:cs_adjust_color_count Unexecuted instantiation: gxstroke.c:cs_adjust_color_count Unexecuted instantiation: gdevabuf.c:cs_adjust_color_count Unexecuted instantiation: gdevddrw.c:cs_adjust_color_count Unexecuted instantiation: gdevdflt.c:cs_adjust_color_count Unexecuted instantiation: gdevplnx.c:cs_adjust_color_count Unexecuted instantiation: gxscanc.c:cs_adjust_color_count Unexecuted instantiation: gsrop.c:cs_adjust_color_count Unexecuted instantiation: zcolor1.c:cs_adjust_color_count Unexecuted instantiation: zupath.c:cs_adjust_color_count Unexecuted instantiation: zdps1.c:cs_adjust_color_count Unexecuted instantiation: zchar1.c:cs_adjust_color_count Unexecuted instantiation: zusparam.c:cs_adjust_color_count Unexecuted instantiation: zchar42.c:cs_adjust_color_count Unexecuted instantiation: zfont0.c:cs_adjust_color_count Unexecuted instantiation: zpcolor.c:cs_adjust_color_count Unexecuted instantiation: idisp.c:cs_adjust_color_count Unexecuted instantiation: psapi.c:cs_adjust_color_count Unexecuted instantiation: zchar.c:cs_adjust_color_count zcolor.c:cs_adjust_color_count Line | Count | Source | 483 | 6.14M | { | 484 | 6.14M | gs_color_space *pcs = gs_currentcolorspace_inline(pgs); | 485 | | | 486 | 6.14M | (pcs->type->adjust_color_count)(gs_currentcolor_inline(pgs), | 487 | 6.14M | pcs, delta); | 488 | 6.14M | } |
Unexecuted instantiation: zfont.c:cs_adjust_color_count Unexecuted instantiation: zfapi.c:cs_adjust_color_count Unexecuted instantiation: zht2.c:cs_adjust_color_count Unexecuted instantiation: zfunc4.c:cs_adjust_color_count Unexecuted instantiation: zform.c:cs_adjust_color_count Unexecuted instantiation: zicc.c:cs_adjust_color_count Unexecuted instantiation: zpdfops.c:cs_adjust_color_count Unexecuted instantiation: pdf_loop_detect.c:cs_adjust_color_count Unexecuted instantiation: ghostpdf.c:cs_adjust_color_count Unexecuted instantiation: pdf_dict.c:cs_adjust_color_count Unexecuted instantiation: pdf_array.c:cs_adjust_color_count Unexecuted instantiation: pdf_xref.c:cs_adjust_color_count Unexecuted instantiation: pdf_int.c:cs_adjust_color_count Unexecuted instantiation: pdf_file.c:cs_adjust_color_count Unexecuted instantiation: pdf_path.c:cs_adjust_color_count Unexecuted instantiation: pdf_colour.c:cs_adjust_color_count Unexecuted instantiation: pdf_pattern.c:cs_adjust_color_count Unexecuted instantiation: pdf_gstate.c:cs_adjust_color_count Unexecuted instantiation: pdf_stack.c:cs_adjust_color_count Unexecuted instantiation: pdf_image.c:cs_adjust_color_count Unexecuted instantiation: pdf_page.c:cs_adjust_color_count Unexecuted instantiation: pdf_annot.c:cs_adjust_color_count Unexecuted instantiation: pdf_mark.c:cs_adjust_color_count Unexecuted instantiation: pdf_font.c:cs_adjust_color_count Unexecuted instantiation: pdf_font0.c:cs_adjust_color_count Unexecuted instantiation: pdf_ciddec.c:cs_adjust_color_count Unexecuted instantiation: pdf_font1.c:cs_adjust_color_count Unexecuted instantiation: pdf_font1C.c:cs_adjust_color_count Unexecuted instantiation: pdf_fontps.c:cs_adjust_color_count Unexecuted instantiation: pdf_font3.c:cs_adjust_color_count Unexecuted instantiation: pdf_fontTT.c:cs_adjust_color_count Unexecuted instantiation: pdf_font11.c:cs_adjust_color_count Unexecuted instantiation: pdf_cmap.c:cs_adjust_color_count Unexecuted instantiation: pdf_fmap.c:cs_adjust_color_count Unexecuted instantiation: pdf_text.c:cs_adjust_color_count Unexecuted instantiation: pdf_shading.c:cs_adjust_color_count Unexecuted instantiation: pdf_func.c:cs_adjust_color_count Unexecuted instantiation: pdf_trans.c:cs_adjust_color_count Unexecuted instantiation: pdf_device.c:cs_adjust_color_count Unexecuted instantiation: pdf_misc.c:cs_adjust_color_count Unexecuted instantiation: pdf_optcontent.c:cs_adjust_color_count Unexecuted instantiation: pdf_check.c:cs_adjust_color_count Unexecuted instantiation: pdf_sec.c:cs_adjust_color_count Unexecuted instantiation: pdf_utf8.c:cs_adjust_color_count Unexecuted instantiation: pdf_deref.c:cs_adjust_color_count Unexecuted instantiation: pdf_repair.c:cs_adjust_color_count Unexecuted instantiation: pdf_obj.c:cs_adjust_color_count Unexecuted instantiation: pdf_doc.c:cs_adjust_color_count Unexecuted instantiation: imainarg.c:cs_adjust_color_count Unexecuted instantiation: gsclipsr.c:cs_adjust_color_count Unexecuted instantiation: gscdevn.c:cs_adjust_color_count Unexecuted instantiation: gscolor3.c:cs_adjust_color_count Unexecuted instantiation: gsptype2.c:cs_adjust_color_count Unexecuted instantiation: gsshade.c:cs_adjust_color_count Unexecuted instantiation: gxshade.c:cs_adjust_color_count Unexecuted instantiation: gxshade1.c:cs_adjust_color_count Unexecuted instantiation: gxshade4.c:cs_adjust_color_count Unexecuted instantiation: gxshade6.c:cs_adjust_color_count gscolor1.c:cs_adjust_color_count Line | Count | Source | 483 | 181k | { | 484 | 181k | gs_color_space *pcs = gs_currentcolorspace_inline(pgs); | 485 | | | 486 | 181k | (pcs->type->adjust_color_count)(gs_currentcolor_inline(pgs), | 487 | 181k | pcs, delta); | 488 | 181k | } |
Unexecuted instantiation: gsht1.c:cs_adjust_color_count Unexecuted instantiation: gscolor2.c:cs_adjust_color_count Unexecuted instantiation: gspcolor.c:cs_adjust_color_count Unexecuted instantiation: gspath1.c:cs_adjust_color_count Unexecuted instantiation: gstype42.c:cs_adjust_color_count Unexecuted instantiation: gxchrout.c:cs_adjust_color_count Unexecuted instantiation: gxttfb.c:cs_adjust_color_count Unexecuted instantiation: gscie.c:cs_adjust_color_count Unexecuted instantiation: gscsepr.c:cs_adjust_color_count Unexecuted instantiation: gxblend1.c:cs_adjust_color_count Unexecuted instantiation: gxdownscale.c:cs_adjust_color_count Unexecuted instantiation: gdevepo.c:cs_adjust_color_count Unexecuted instantiation: gxclbits.c:cs_adjust_color_count Unexecuted instantiation: gxclrast.c:cs_adjust_color_count Unexecuted instantiation: gstype1.c:cs_adjust_color_count Unexecuted instantiation: gxtype1.c:cs_adjust_color_count Unexecuted instantiation: gstype2.c:cs_adjust_color_count Unexecuted instantiation: gsicc_profilecache.c:cs_adjust_color_count Unexecuted instantiation: gdevpdtb.c:cs_adjust_color_count Unexecuted instantiation: gdevpdtc.c:cs_adjust_color_count Unexecuted instantiation: gdevpdte.c:cs_adjust_color_count Unexecuted instantiation: gdevpsfx.c:cs_adjust_color_count Unexecuted instantiation: gstiffio.c:cs_adjust_color_count Unexecuted instantiation: gdeveprn.c:cs_adjust_color_count Unexecuted instantiation: eprnparm.c:cs_adjust_color_count Unexecuted instantiation: eprnrend.c:cs_adjust_color_count Unexecuted instantiation: eprnfs.c:cs_adjust_color_count Unexecuted instantiation: gxacpath.c:cs_adjust_color_count Unexecuted instantiation: gxpdash.c:cs_adjust_color_count Unexecuted instantiation: pdf_fapi.c:cs_adjust_color_count Unexecuted instantiation: gscscie.c:cs_adjust_color_count |
489 | | |
490 | | /* Adjust the color reference counts for the swapped space (i.e. |
491 | | * the one that is not current). */ |
492 | | static inline void |
493 | | cs_adjust_swappedcolor_count(gs_gstate *pgs, int delta) |
494 | 119M | { |
495 | 119M | gs_color_space *pcs = gs_swappedcolorspace_inline(pgs); |
496 | | |
497 | 119M | (pcs->type->adjust_color_count)(gs_swappedcolor_inline(pgs), |
498 | 119M | pcs, delta); |
499 | 119M | } Unexecuted instantiation: imain.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gximage3.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsptype1.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxp1fill.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxpcmap.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxicolor.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsdps1.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsciemap.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gstrans.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gximag3x.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevp14.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevdevn.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsequivc.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gscpixel.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevbbox.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevprn.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevppla.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevflp.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevoflt.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevnup.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevsclass.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxclist.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxclpage.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxclread.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxclrect.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxclutil.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxclimag.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxclpath.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxdhtserial.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxclthrd.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsicc.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsicc_manage.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsicc_cache.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsicc_create.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsicc_nocm.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsicc_replacecm.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsicc_blacktext.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevbmp.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevbmpc.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevcups.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdf.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdfb.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdfc.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdfd.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdfe.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdfg.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdfi.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdfj.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdfk.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdfm.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdfo.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdfp.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdft.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdfr.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdfu.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdfv.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpsdi.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpsdp.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpsds.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpsdu.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevvec.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdt.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdtd.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdtf.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdti.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdts.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdtt.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdtw.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxfcopy.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevfax.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevdjet.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevdljm.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpcl.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpcl3.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pclcap.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpbm.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpng.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpsd.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpx.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevtsep.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevtifs.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevupd.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevxps.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gschar.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gscolor.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gscoord.c:cs_adjust_swappedcolor_count gscspace.c:cs_adjust_swappedcolor_count Line | Count | Source | 494 | 119M | { | 495 | 119M | gs_color_space *pcs = gs_swappedcolorspace_inline(pgs); | 496 | | | 497 | 119M | (pcs->type->adjust_color_count)(gs_swappedcolor_inline(pgs), | 498 | 119M | pcs, delta); | 499 | 119M | } |
Unexecuted instantiation: gsovrc.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsdevice.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsfont.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsht.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gshtscr.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsimage.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsgstate.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsline.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gspaint.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gspath.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsstate.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gstext.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxfapi.c:cs_adjust_swappedcolor_count Unexecuted instantiation: write_t2.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxccache.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxccman.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxchar.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxcht.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxcmap.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxcpath.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxdcconv.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxdcolor.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxhldevc.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxfill.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxht.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxht_thresh.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxidata.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxifast.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gximono.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxipixel.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxi12bit.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxi16bit.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxiscale.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxpaint.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxpcopy.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxstroke.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevabuf.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevddrw.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevdflt.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevplnx.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxscanc.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsrop.c:cs_adjust_swappedcolor_count Unexecuted instantiation: zcolor1.c:cs_adjust_swappedcolor_count Unexecuted instantiation: zupath.c:cs_adjust_swappedcolor_count Unexecuted instantiation: zdps1.c:cs_adjust_swappedcolor_count Unexecuted instantiation: zchar1.c:cs_adjust_swappedcolor_count Unexecuted instantiation: zusparam.c:cs_adjust_swappedcolor_count Unexecuted instantiation: zchar42.c:cs_adjust_swappedcolor_count Unexecuted instantiation: zfont0.c:cs_adjust_swappedcolor_count Unexecuted instantiation: zpcolor.c:cs_adjust_swappedcolor_count Unexecuted instantiation: idisp.c:cs_adjust_swappedcolor_count Unexecuted instantiation: psapi.c:cs_adjust_swappedcolor_count Unexecuted instantiation: zchar.c:cs_adjust_swappedcolor_count Unexecuted instantiation: zcolor.c:cs_adjust_swappedcolor_count Unexecuted instantiation: zfont.c:cs_adjust_swappedcolor_count Unexecuted instantiation: zfapi.c:cs_adjust_swappedcolor_count Unexecuted instantiation: zht2.c:cs_adjust_swappedcolor_count Unexecuted instantiation: zfunc4.c:cs_adjust_swappedcolor_count Unexecuted instantiation: zform.c:cs_adjust_swappedcolor_count Unexecuted instantiation: zicc.c:cs_adjust_swappedcolor_count Unexecuted instantiation: zpdfops.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_loop_detect.c:cs_adjust_swappedcolor_count Unexecuted instantiation: ghostpdf.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_dict.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_array.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_xref.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_int.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_file.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_path.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_colour.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_pattern.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_gstate.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_stack.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_image.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_page.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_annot.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_mark.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_font.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_font0.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_ciddec.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_font1.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_font1C.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_fontps.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_font3.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_fontTT.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_font11.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_cmap.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_fmap.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_text.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_shading.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_func.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_trans.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_device.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_misc.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_optcontent.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_check.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_sec.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_utf8.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_deref.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_repair.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_obj.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_doc.c:cs_adjust_swappedcolor_count Unexecuted instantiation: imainarg.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsclipsr.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gscdevn.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gscolor3.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsptype2.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsshade.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxshade.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxshade1.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxshade4.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxshade6.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gscolor1.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsht1.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gscolor2.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gspcolor.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gspath1.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gstype42.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxchrout.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxttfb.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gscie.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gscsepr.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxblend1.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxdownscale.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevepo.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxclbits.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxclrast.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gstype1.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxtype1.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gstype2.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gsicc_profilecache.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdtb.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdtc.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpdte.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdevpsfx.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gstiffio.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gdeveprn.c:cs_adjust_swappedcolor_count Unexecuted instantiation: eprnparm.c:cs_adjust_swappedcolor_count Unexecuted instantiation: eprnrend.c:cs_adjust_swappedcolor_count Unexecuted instantiation: eprnfs.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxacpath.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gxpdash.c:cs_adjust_swappedcolor_count Unexecuted instantiation: pdf_fapi.c:cs_adjust_swappedcolor_count Unexecuted instantiation: gscscie.c:cs_adjust_swappedcolor_count |
500 | | |
501 | | int gs_clip_bounds_in_user_space(gs_gstate *pgs, gs_rect *ubox); |
502 | | |
503 | | #endif /* gxistate_INCLUDED */ |