Ticket #2411 (closed defect: fixed)

Opened 8 months ago

Last modified 2 months ago

cliprect adjustment does take line width into account

Reported by: tbonfort Assigned to: tbonfort
Priority: normal Milestone: 5.2 release
Component: MapServer C Library Version: unspecified
Severity: normal Keywords:
Cc: bernd.lackinger@plot.at, 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

11/28/07 05:34:54 changed by tbonfort

  • status changed from new to closed.
  • resolution set to fixed.

fixed in r7094

04/22/08 14:51:11 changed by dmorissette

  • cc changed from bernd.lackinger@plot.at , sdlime to bernd.lackinger@plot.at, sdlime, dmorissette.

04/22/08 14:55:56 changed by dmorissette

  • milestone set to 5.2 release.

05/14/08 13:12:04 changed by tbonfort

really fixed in r7590