Opened 12 years ago

Closed 12 years ago

#2493 closed defect (fixed)

Offset values not respected when rendering pixmap symbols

Reported by: assefa Owned by: 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 (1)

comment:1 Changed 12 years ago by tbonfort

Milestone: 5.2 release5.0.3 release
Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.