| 405 | } |
| 406 | |
| 407 | static mapserver::path_storage imageVectorSymbolAGG(symbolObj *symbol) { |
| 408 | mapserver::path_storage path; |
| 409 | bool is_new=true; |
| 410 | for(int i=0;i < symbol->numpoints;i++) { |
| 411 | if((symbol->points[i].x == -99) && (symbol->points[i].y == -99)) { // (PENUP) |
| 412 | is_new=true; |
| 413 | } else { |
| 414 | if(is_new) { |
| 415 | path.move_to(symbol->points[i].x,symbol->points[i].y); |
| 416 | is_new=false; |
| 417 | } |
| 418 | else { |
| 419 | path.line_to(symbol->points[i].x,symbol->points[i].y); |
| 420 | } |
| 421 | } |
| 422 | } |
| 423 | return path; |
| 424 | } |
| 425 | |
| 426 | |
| 427 | int agg2RenderVectorSymbol(imageObj *img, double x, double y, |
no test coverage detected