~ubuntu-branches/debian/squeeze/ghostscript/squeeze

« back to all changes in this revision

Viewing changes to src/gxfill.c

  • Committer: Bazaar Package Importer
  • Author(s): Masayuki Hatta (mhatta)
  • Date: 2009-01-04 12:09:59 UTC
  • mfrom: (16.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090104120959-m9lbagj775ucg0h3
Tags: 8.63.dfsg.1-2
libgs-dev: put versioned dependency on libgs8 - closes: #510691

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
   San Rafael, CA  94903, U.S.A., +1(415)492-9861, for further information.
12
12
*/
13
13
 
14
 
/* $Id: gxfill.c 8513 2008-01-29 17:02:50Z leonardo $ */
 
14
/* $Id: gxfill.c 8885 2008-07-27 21:06:38Z leonardo $ */
15
15
/* A topological spot decomposition algorithm with dropout prevention. */
16
16
/* 
17
17
   This is a dramaticly reorganized and improved revision of the 
614
614
            else
615
615
                (*dev_proc(pdev, get_clipping_box)) (pdev, &clip_box);
616
616
            rect_intersect(clip_box, shading_rect);
 
617
            if (clip_box.p.x > clip_box.q.x || clip_box.p.y > clip_box.q.y)
 
618
                return 0; /* Empty clipping, must not pass to gx_cpath_from_rectangle. */
 
619
            gx_cpath_init_local(&cpath_intersection, pdev->memory);
617
620
            code = gx_cpath_from_rectangle(&cpath_intersection, &clip_box);
618
621
        } else if (pcpath != NULL) {
619
622
            /* either *pcpath is not a rectangle, or shading cell is not a rectangle.  */