Ticket #2493 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

Offset values not respected when rendering pixmap symbols

Reported by: assefa Assigned to: tbonfort
Priority: normal Milestone: 5.0.3 release
Component: AGG Version: unspecified
Severity: normal Keywords:
Cc:

Description

style->offsetx/y are not taken into account when rendering pixmap symbols.

following change should fix it: --- mapagg.cpp (revision 7313) +++ mapagg.cpp (working copy) @@ -1207,7 +1207,7 @@

break; case(MS_SYMBOL_PIXMAP): {

GDpixfmt img_pixf = loadSymbolPixmap(symbol);

- ren->renderPixmapBGRA(img_pixf,p->x,p->y,angle_radians,d); + ren->renderPixmapBGRA(img_pixf,p->x+ox,p->y+oy,angle_radians,d);

}

Change History

02/06/08 14:47:45 changed by tbonfort

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone changed from 5.2 release to 5.0.3 release.

fixed in trunk ( r7358 ) and 5.0 branch ( r7359 ) thanks