Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#2411 closed defect (fixed)

cliprect adjustment does take line width into account

Reported by: tbonfort Owned by: tbonfort
Priority: normal Milestone: 5.2 release
Component: MapServer C Library Version: unspecified
Severity: normal Keywords:
Cc: bernd.lackinger@…, sdlime, dmorissette

Description

the cliprect when drawing a shape is set incorrectly when using this combination of mapfile keywords

LAYER
 TYPE POLYGON
 ...
 CLASS
  STYLE
   OUTLINECOLOR  r g b
   WIDTH 5 #something larger than 4
  END
 END
END

in this case the cliprect is expanded by style->size and not style->width, which means that the shape's lines are adjacent to the edges of the image, and the thick line rendering enters the image edges, as seen at http://terriscope.fr/ms_tmp/bug2411.jpg

Change History (4)

comment:1 by tbonfort, 16 years ago

Resolution: fixed
Status: newclosed

fixed in r7094

comment:2 by dmorissette, 16 years ago

Cc: dmorissette added

comment:3 by dmorissette, 16 years ago

Milestone: 5.2 release

comment:4 by tbonfort, 16 years ago

really fixed in r7590

Note: See TracTickets for help on using tickets.