+ don't consider x,y from SEG_CLOSE (clipper init them to 0's)
This commit is contained in:
parent
c0b4eda911
commit
918174c127
1 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ void agg_renderer<T>::process(building_symbolizer const& sym,
|
|||
{
|
||||
frame->move_to(x,y);
|
||||
}
|
||||
else if (cm == SEG_LINETO || cm == SEG_CLOSE)
|
||||
else if (cm == SEG_LINETO)
|
||||
{
|
||||
frame->line_to(x,y);
|
||||
face_segments.push_back(segment_t(x0,y0,x,y));
|
||||
|
@ -140,7 +140,7 @@ void agg_renderer<T>::process(building_symbolizer const& sym,
|
|||
frame->move_to(x,y+height);
|
||||
roof->move_to(x,y+height);
|
||||
}
|
||||
else if (cm == SEG_LINETO || cm == SEG_CLOSE)
|
||||
else if (cm == SEG_LINETO)
|
||||
{
|
||||
frame->line_to(x,y+height);
|
||||
roof->line_to(x,y+height);
|
||||
|
|
Loading…
Reference in a new issue