/dports/print/ghostscript9-x11/ghostscript-9.06/base/ |
H A D | gxcpath.c | 238 pcpath->rect_list = &pcpath->local_list; in gx_cpath_init_local_shared_nested() 291 gs_free_object(pcpath->path.memory, pcpath, cname); in gx_cpath_free() 388 if (pcpath!=NULL && !pcpath->path_valid) { in gx_cpath_path_list_new() 506 pcpath->outer_box.p.x = fixed_floor(pcpath->path.bbox.p.x); in gx_cpath_set_outer_box() 507 pcpath->outer_box.p.y = fixed_floor(pcpath->path.bbox.p.y); in gx_cpath_set_outer_box() 573 if (pcpath->inner_box.p.x != pcpath->path.bbox.p.x || in cpath_is_rectangle() 574 pcpath->inner_box.p.y != pcpath->path.bbox.p.y || in cpath_is_rectangle() 575 pcpath->inner_box.q.x != pcpath->path.bbox.q.x || in cpath_is_rectangle() 576 pcpath->inner_box.q.y != pcpath->path.bbox.q.y) in cpath_is_rectangle() 686 code = gx_cpath_path_list_new(pcpath->path.memory, pcpath, pcpath->rule, in gx_cpath_intersect_with_params() [all …]
|
H A D | gsdps.c | 35 gx_clip_path *pcpath = pgs->view_clip; in gs_initviewclip() local 37 if (pcpath != 0 && pcpath->rule != 0) { in gs_initviewclip() 38 gx_cpath_reset(pcpath); in gs_initviewclip() 39 pcpath->rule = 0; in gs_initviewclip() 64 gx_clip_path *pcpath = pgs->view_clip; in common_viewclip() local 66 if (pcpath == 0) { in common_viewclip() 68 if (pcpath == 0) in common_viewclip() 70 pgs->view_clip = pcpath; in common_viewclip() 83 gx_cpath_assign_free(pcpath, &rpath); in common_viewclip() 92 gx_clip_path *pcpath = pgs->view_clip; in gs_viewclippath() local [all …]
|
H A D | gxpath.h | 327 int gx_cpath_init_contained_shared(gx_clip_path * pcpath, 332 #define gx_cpath_alloc_contained(pcpath, mem, cname)\ argument 333 gx_cpath_init_contained_shared(pcpath, NULL, mem, cname) 334 int gx_cpath_init_local_shared(gx_clip_path * pcpath, 342 int gx_cpath_init_local_shared_nested(gx_clip_path * pcpath, 347 #define gx_cpath_init_local(pcpath, mem)\ argument 348 (void)gx_cpath_init_local_shared(pcpath, NULL, mem) /* can't fail */ 349 int gx_cpath_unshare(gx_clip_path * pcpath); 350 void gx_cpath_free(gx_clip_path * pcpath, client_name_t cname); 374 const gs_fixed_rect *cpath_is_rectangle(const gx_clip_path * pcpath); [all …]
|
/dports/print/ghostscript9-base/ghostscript-9.06/base/ |
H A D | gxcpath.c | 238 pcpath->rect_list = &pcpath->local_list; in gx_cpath_init_local_shared_nested() 291 gs_free_object(pcpath->path.memory, pcpath, cname); in gx_cpath_free() 388 if (pcpath!=NULL && !pcpath->path_valid) { in gx_cpath_path_list_new() 506 pcpath->outer_box.p.x = fixed_floor(pcpath->path.bbox.p.x); in gx_cpath_set_outer_box() 507 pcpath->outer_box.p.y = fixed_floor(pcpath->path.bbox.p.y); in gx_cpath_set_outer_box() 573 if (pcpath->inner_box.p.x != pcpath->path.bbox.p.x || in cpath_is_rectangle() 574 pcpath->inner_box.p.y != pcpath->path.bbox.p.y || in cpath_is_rectangle() 575 pcpath->inner_box.q.x != pcpath->path.bbox.q.x || in cpath_is_rectangle() 576 pcpath->inner_box.q.y != pcpath->path.bbox.q.y) in cpath_is_rectangle() 686 code = gx_cpath_path_list_new(pcpath->path.memory, pcpath, pcpath->rule, in gx_cpath_intersect_with_params() [all …]
|
H A D | gsdps.c | 35 gx_clip_path *pcpath = pgs->view_clip; in gs_initviewclip() local 37 if (pcpath != 0 && pcpath->rule != 0) { in gs_initviewclip() 38 gx_cpath_reset(pcpath); in gs_initviewclip() 39 pcpath->rule = 0; in gs_initviewclip() 64 gx_clip_path *pcpath = pgs->view_clip; in common_viewclip() local 66 if (pcpath == 0) { in common_viewclip() 68 if (pcpath == 0) in common_viewclip() 70 pgs->view_clip = pcpath; in common_viewclip() 83 gx_cpath_assign_free(pcpath, &rpath); in common_viewclip() 92 gx_clip_path *pcpath = pgs->view_clip; in gs_viewclippath() local [all …]
|
H A D | gxpath.h | 327 int gx_cpath_init_contained_shared(gx_clip_path * pcpath, 332 #define gx_cpath_alloc_contained(pcpath, mem, cname)\ argument 333 gx_cpath_init_contained_shared(pcpath, NULL, mem, cname) 334 int gx_cpath_init_local_shared(gx_clip_path * pcpath, 342 int gx_cpath_init_local_shared_nested(gx_clip_path * pcpath, 347 #define gx_cpath_init_local(pcpath, mem)\ argument 348 (void)gx_cpath_init_local_shared(pcpath, NULL, mem) /* can't fail */ 349 int gx_cpath_unshare(gx_clip_path * pcpath); 350 void gx_cpath_free(gx_clip_path * pcpath, client_name_t cname); 374 const gs_fixed_rect *cpath_is_rectangle(const gx_clip_path * pcpath); [all …]
|
/dports/print/ghostscript8-base/ghostscript-8.71/base/ |
H A D | gxcpath.c | 220 pcpath->rect_list = &pcpath->local_list; in gx_cpath_init_local_shared() 263 gs_free_object(pcpath->path.memory, pcpath, cname); in gx_cpath_free() 360 if (pcpath!=NULL && !pcpath->path_valid) { in gx_cpath_path_list_new() 474 pcpath->outer_box.p.x = fixed_floor(pcpath->path.bbox.p.x); in gx_cpath_set_outer_box() 475 pcpath->outer_box.p.y = fixed_floor(pcpath->path.bbox.p.y); in gx_cpath_set_outer_box() 542 if (pcpath->inner_box.p.x != pcpath->path.bbox.p.x || in cpath_is_rectangle() 543 pcpath->inner_box.p.y != pcpath->path.bbox.p.y || in cpath_is_rectangle() 544 pcpath->inner_box.q.x != pcpath->path.bbox.q.x || in cpath_is_rectangle() 545 pcpath->inner_box.q.y != pcpath->path.bbox.q.y) in cpath_is_rectangle() 655 code = gx_cpath_path_list_new(pcpath->path.memory, pcpath, pcpath->rule, in gx_cpath_intersect_with_params() [all …]
|
H A D | gsdps.c | 33 gx_clip_path *pcpath = pgs->view_clip; in gs_initviewclip() local 35 if (pcpath != 0 && pcpath->rule != 0) { in gs_initviewclip() 36 gx_cpath_reset(pcpath); in gs_initviewclip() 37 pcpath->rule = 0; in gs_initviewclip() 62 gx_clip_path *pcpath = pgs->view_clip; in common_viewclip() local 64 if (pcpath == 0) { in common_viewclip() 66 if (pcpath == 0) in common_viewclip() 68 pgs->view_clip = pcpath; in common_viewclip() 81 gx_cpath_assign_free(pcpath, &rpath); in common_viewclip() 94 if (pcpath == 0 || pcpath->rule == 0) { in gs_viewclippath() [all …]
|
H A D | gxpath.h | 311 int gx_cpath_init_contained_shared(gx_clip_path * pcpath, 316 #define gx_cpath_alloc_contained(pcpath, mem, cname)\ argument 317 gx_cpath_init_contained_shared(pcpath, NULL, mem, cname) 318 int gx_cpath_init_local_shared(gx_clip_path * pcpath, 322 #define gx_cpath_init_local(pcpath, mem)\ argument 323 (void)gx_cpath_init_local_shared(pcpath, NULL, mem) /* can't fail */ 324 int gx_cpath_unshare(gx_clip_path * pcpath); 325 void gx_cpath_free(gx_clip_path * pcpath, client_name_t cname); 339 gx_cpath_scale_exp2_shared(gx_clip_path *pcpath, int log2_scale_x, 349 const gs_fixed_rect *cpath_is_rectangle(const gx_clip_path * pcpath); [all …]
|
/dports/print/ghostscript8-x11/ghostscript-8.71/base/ |
H A D | gxcpath.c | 220 pcpath->rect_list = &pcpath->local_list; in gx_cpath_init_local_shared() 263 gs_free_object(pcpath->path.memory, pcpath, cname); in gx_cpath_free() 360 if (pcpath!=NULL && !pcpath->path_valid) { in gx_cpath_path_list_new() 474 pcpath->outer_box.p.x = fixed_floor(pcpath->path.bbox.p.x); in gx_cpath_set_outer_box() 475 pcpath->outer_box.p.y = fixed_floor(pcpath->path.bbox.p.y); in gx_cpath_set_outer_box() 542 if (pcpath->inner_box.p.x != pcpath->path.bbox.p.x || in cpath_is_rectangle() 543 pcpath->inner_box.p.y != pcpath->path.bbox.p.y || in cpath_is_rectangle() 544 pcpath->inner_box.q.x != pcpath->path.bbox.q.x || in cpath_is_rectangle() 545 pcpath->inner_box.q.y != pcpath->path.bbox.q.y) in cpath_is_rectangle() 655 code = gx_cpath_path_list_new(pcpath->path.memory, pcpath, pcpath->rule, in gx_cpath_intersect_with_params() [all …]
|
H A D | gsdps.c | 33 gx_clip_path *pcpath = pgs->view_clip; in gs_initviewclip() local 35 if (pcpath != 0 && pcpath->rule != 0) { in gs_initviewclip() 36 gx_cpath_reset(pcpath); in gs_initviewclip() 37 pcpath->rule = 0; in gs_initviewclip() 62 gx_clip_path *pcpath = pgs->view_clip; in common_viewclip() local 64 if (pcpath == 0) { in common_viewclip() 66 if (pcpath == 0) in common_viewclip() 68 pgs->view_clip = pcpath; in common_viewclip() 81 gx_cpath_assign_free(pcpath, &rpath); in common_viewclip() 94 if (pcpath == 0 || pcpath->rule == 0) { in gs_viewclippath() [all …]
|
H A D | gxpath.h | 311 int gx_cpath_init_contained_shared(gx_clip_path * pcpath, 316 #define gx_cpath_alloc_contained(pcpath, mem, cname)\ argument 317 gx_cpath_init_contained_shared(pcpath, NULL, mem, cname) 318 int gx_cpath_init_local_shared(gx_clip_path * pcpath, 322 #define gx_cpath_init_local(pcpath, mem)\ argument 323 (void)gx_cpath_init_local_shared(pcpath, NULL, mem) /* can't fail */ 324 int gx_cpath_unshare(gx_clip_path * pcpath); 325 void gx_cpath_free(gx_clip_path * pcpath, client_name_t cname); 339 gx_cpath_scale_exp2_shared(gx_clip_path *pcpath, int log2_scale_x, 349 const gs_fixed_rect *cpath_is_rectangle(const gx_clip_path * pcpath); [all …]
|
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/base/ |
H A D | gxcpath.c | 249 pcpath->rect_list = &pcpath->local_list; in gx_cpath_init_local_shared_nested() 304 gs_free_object(pcpath->path.memory, pcpath, cname); in gx_cpath_free() 404 if (pcpath!=NULL && !pcpath->path_valid) { in gx_cpath_path_list_new() 523 pcpath->outer_box.p.x = fixed_floor(pcpath->path.bbox.p.x); in gx_cpath_set_outer_box() 524 pcpath->outer_box.p.y = fixed_floor(pcpath->path.bbox.p.y); in gx_cpath_set_outer_box() 593 if (pcpath->inner_box.p.x != pcpath->path.bbox.p.x || in cpath_is_rectangle() 594 pcpath->inner_box.p.y != pcpath->path.bbox.p.y || in cpath_is_rectangle() 595 pcpath->inner_box.q.x != pcpath->path.bbox.q.x || in cpath_is_rectangle() 596 pcpath->inner_box.q.y != pcpath->path.bbox.q.y) in cpath_is_rectangle() 617 if (pcpath == NULL || pcpath->path_list) in gx_cpath_ensure_path_list() [all …]
|
H A D | gxpaint.c | 43 gx_clip_path *pcpath; in gx_fill_path() local 44 int code = gx_effective_clip_path(pgs, &pcpath); in gx_fill_path() 54 (dev, (const gs_gstate *)pgs, ppath, ¶ms, pdevc, pcpath); in gx_fill_path() 62 gx_clip_path *pcpath; in gx_stroke_fill() local 63 int code = gx_effective_clip_path(pgs, &pcpath); in gx_stroke_fill() 72 gs_currentdevicecolor_inline(pgs), pcpath); in gx_stroke_fill() 79 gx_clip_path *pcpath; in gx_fill_stroke_path() local 80 int code = gx_effective_clip_path(pgs, &pcpath); in gx_fill_stroke_path() 96 pcpath); in gx_fill_stroke_path()
|
H A D | gxpath.h | 338 int gx_cpath_init_contained_shared(gx_clip_path * pcpath, 343 #define gx_cpath_alloc_contained(pcpath, mem, cname)\ argument 344 gx_cpath_init_contained_shared(pcpath, NULL, mem, cname) 345 int gx_cpath_init_local_shared(gx_clip_path * pcpath, 353 int gx_cpath_init_local_shared_nested(gx_clip_path * pcpath, 358 #define gx_cpath_init_local(pcpath, mem)\ argument 359 (void)gx_cpath_init_local_shared(pcpath, NULL, mem) /* can't fail */ 360 int gx_cpath_unshare(gx_clip_path * pcpath); 361 void gx_cpath_free(gx_clip_path * pcpath, client_name_t cname); 380 int gx_cpath_ensure_path_list(gx_clip_path *pcpath); [all …]
|
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/base/ |
H A D | gxcpath.c | 249 pcpath->rect_list = &pcpath->local_list; in gx_cpath_init_local_shared_nested() 304 gs_free_object(pcpath->path.memory, pcpath, cname); in gx_cpath_free() 404 if (pcpath!=NULL && !pcpath->path_valid) { in gx_cpath_path_list_new() 523 pcpath->outer_box.p.x = fixed_floor(pcpath->path.bbox.p.x); in gx_cpath_set_outer_box() 524 pcpath->outer_box.p.y = fixed_floor(pcpath->path.bbox.p.y); in gx_cpath_set_outer_box() 593 if (pcpath->inner_box.p.x != pcpath->path.bbox.p.x || in cpath_is_rectangle() 594 pcpath->inner_box.p.y != pcpath->path.bbox.p.y || in cpath_is_rectangle() 595 pcpath->inner_box.q.x != pcpath->path.bbox.q.x || in cpath_is_rectangle() 596 pcpath->inner_box.q.y != pcpath->path.bbox.q.y) in cpath_is_rectangle() 617 if (pcpath == NULL || pcpath->path_list) in gx_cpath_ensure_path_list() [all …]
|
H A D | gxpaint.c | 43 gx_clip_path *pcpath; in gx_fill_path() local 44 int code = gx_effective_clip_path(pgs, &pcpath); in gx_fill_path() 54 (dev, (const gs_gstate *)pgs, ppath, ¶ms, pdevc, pcpath); in gx_fill_path() 62 gx_clip_path *pcpath; in gx_stroke_fill() local 63 int code = gx_effective_clip_path(pgs, &pcpath); in gx_stroke_fill() 72 gs_currentdevicecolor_inline(pgs), pcpath); in gx_stroke_fill() 79 gx_clip_path *pcpath; in gx_fill_stroke_path() local 80 int code = gx_effective_clip_path(pgs, &pcpath); in gx_fill_stroke_path() 96 pcpath); in gx_fill_stroke_path()
|
H A D | gxpath.h | 338 int gx_cpath_init_contained_shared(gx_clip_path * pcpath, 343 #define gx_cpath_alloc_contained(pcpath, mem, cname)\ argument 344 gx_cpath_init_contained_shared(pcpath, NULL, mem, cname) 345 int gx_cpath_init_local_shared(gx_clip_path * pcpath, 353 int gx_cpath_init_local_shared_nested(gx_clip_path * pcpath, 358 #define gx_cpath_init_local(pcpath, mem)\ argument 359 (void)gx_cpath_init_local_shared(pcpath, NULL, mem) /* can't fail */ 360 int gx_cpath_unshare(gx_clip_path * pcpath); 361 void gx_cpath_free(gx_clip_path * pcpath, client_name_t cname); 380 int gx_cpath_ensure_path_list(gx_clip_path *pcpath); [all …]
|
/dports/print/ghostscript7-base/ghostscript-7.07/src/ |
H A D | gxcpath.c | 154 *pcpath = *shared; in gx_cpath_init_contained_shared() 194 return pcpath; in gx_cpath_alloc_shared() 217 pcpath->rect_list = &pcpath->local_list; in gx_cpath_init_local_shared() 258 gs_free_object(pcpath->path.memory, pcpath, cname); in gx_cpath_free() 405 (pcpath->inner_box.p.x <= x0 && x1 <= pcpath->inner_box.q.x) : in gx_cpath_includes_rectangle() 408 (pcpath->inner_box.p.y <= y0 && y1 <= pcpath->inner_box.q.y) : in gx_cpath_includes_rectangle() 409 (pcpath->inner_box.p.y <= y1 && y0 <= pcpath->inner_box.q.y)); in gx_cpath_includes_rectangle() 417 pcpath->outer_box.p.x = fixed_floor(pcpath->path.bbox.p.x); in gx_cpath_set_outer_box() 418 pcpath->outer_box.p.y = fixed_floor(pcpath->path.bbox.p.y); in gx_cpath_set_outer_box() 419 pcpath->outer_box.q.x = fixed_ceiling(pcpath->path.bbox.q.x); in gx_cpath_set_outer_box() [all …]
|
H A D | gsdps.c | 38 gx_clip_path *pcpath = pgs->view_clip; in gs_initviewclip() local 40 if (pcpath != 0 && pcpath->rule != 0) { in gs_initviewclip() 41 gx_cpath_reset(pcpath); in gs_initviewclip() 42 pcpath->rule = 0; in gs_initviewclip() 67 gx_clip_path *pcpath = pgs->view_clip; in common_viewclip() local 69 if (pcpath == 0) { in common_viewclip() 71 if (pcpath == 0) in common_viewclip() 73 pgs->view_clip = pcpath; in common_viewclip() 86 gx_cpath_assign_free(pcpath, &rpath); in common_viewclip() 99 if (pcpath == 0 || pcpath->rule == 0) { in gs_viewclippath() [all …]
|
H A D | gdevpdfd.c | 164 if (pcpath == NULL) in pdf_must_put_clip_path() 182 if (pcpath == NULL) { in pdf_put_clip_path() 188 if (pdev->clip_path_id == pcpath->id) in pdf_put_clip_path() 219 pdev->clip_path_id = pcpath->id; in pdf_put_clip_path() 282 if (pcpath) { in gdev_pdf_fill_path() 285 gx_cpath_outer_box(pcpath, &box); in gdev_pdf_fill_path() 302 pdf_must_put_clip_path(pdev, pcpath) in gdev_pdf_fill_path() 308 pdf_put_clip_path(pdev, pcpath); in gdev_pdf_fill_path() 311 pcpath); in gdev_pdf_fill_path() 395 pdf_put_clip_path(pdev, pcpath); in gdev_pdf_stroke_path() [all …]
|
H A D | gxpaint.c | 34 gx_clip_path *pcpath; in gx_fill_path() local 35 int code = gx_effective_clip_path(pgs, &pcpath); in gx_fill_path() 46 (dev, (const gs_imager_state *)pgs, ppath, ¶ms, pdevc, pcpath); in gx_fill_path() 54 gx_clip_path *pcpath; in gx_stroke_fill() local 55 int code = gx_effective_clip_path(pgs, &pcpath); in gx_stroke_fill() 63 pgs->dev_color, pcpath); in gx_stroke_fill()
|
/dports/print/ghostscript7-x11/ghostscript-7.07/src/ |
H A D | gxcpath.c | 154 *pcpath = *shared; in gx_cpath_init_contained_shared() 194 return pcpath; in gx_cpath_alloc_shared() 217 pcpath->rect_list = &pcpath->local_list; in gx_cpath_init_local_shared() 258 gs_free_object(pcpath->path.memory, pcpath, cname); in gx_cpath_free() 405 (pcpath->inner_box.p.x <= x0 && x1 <= pcpath->inner_box.q.x) : in gx_cpath_includes_rectangle() 408 (pcpath->inner_box.p.y <= y0 && y1 <= pcpath->inner_box.q.y) : in gx_cpath_includes_rectangle() 409 (pcpath->inner_box.p.y <= y1 && y0 <= pcpath->inner_box.q.y)); in gx_cpath_includes_rectangle() 417 pcpath->outer_box.p.x = fixed_floor(pcpath->path.bbox.p.x); in gx_cpath_set_outer_box() 418 pcpath->outer_box.p.y = fixed_floor(pcpath->path.bbox.p.y); in gx_cpath_set_outer_box() 419 pcpath->outer_box.q.x = fixed_ceiling(pcpath->path.bbox.q.x); in gx_cpath_set_outer_box() [all …]
|
H A D | gsdps.c | 38 gx_clip_path *pcpath = pgs->view_clip; in gs_initviewclip() local 40 if (pcpath != 0 && pcpath->rule != 0) { in gs_initviewclip() 41 gx_cpath_reset(pcpath); in gs_initviewclip() 42 pcpath->rule = 0; in gs_initviewclip() 67 gx_clip_path *pcpath = pgs->view_clip; in common_viewclip() local 69 if (pcpath == 0) { in common_viewclip() 71 if (pcpath == 0) in common_viewclip() 73 pgs->view_clip = pcpath; in common_viewclip() 86 gx_cpath_assign_free(pcpath, &rpath); in common_viewclip() 99 if (pcpath == 0 || pcpath->rule == 0) { in gs_viewclippath() [all …]
|
H A D | gdevpdfd.c | 164 if (pcpath == NULL) in pdf_must_put_clip_path() 182 if (pcpath == NULL) { in pdf_put_clip_path() 188 if (pdev->clip_path_id == pcpath->id) in pdf_put_clip_path() 219 pdev->clip_path_id = pcpath->id; in pdf_put_clip_path() 282 if (pcpath) { in gdev_pdf_fill_path() 285 gx_cpath_outer_box(pcpath, &box); in gdev_pdf_fill_path() 302 pdf_must_put_clip_path(pdev, pcpath) in gdev_pdf_fill_path() 308 pdf_put_clip_path(pdev, pcpath); in gdev_pdf_fill_path() 311 pcpath); in gdev_pdf_fill_path() 395 pdf_put_clip_path(pdev, pcpath); in gdev_pdf_stroke_path() [all …]
|