| 659 | **********************************************************************/ |
| 660 | |
| 661 | int msCopyReferenceMap(referenceMapObj *dst, referenceMapObj *src, |
| 662 | mapObj *map) |
| 663 | { |
| 664 | |
| 665 | initReferenceMap(dst); |
| 666 | |
| 667 | MS_COPYRECT(&(dst->extent), &(src->extent)); |
| 668 | |
| 669 | MS_COPYSTELEM(height); |
| 670 | MS_COPYSTELEM(width); |
| 671 | |
| 672 | |
| 673 | MS_COPYCOLOR(&(dst->color), &(src->color)); |
| 674 | MS_COPYCOLOR(&(dst->outlinecolor),&(src->outlinecolor)); |
| 675 | MS_COPYSTRING(dst->image, src->image); |
| 676 | |
| 677 | MS_COPYSTELEM(status); |
| 678 | MS_COPYSTELEM(marker); |
| 679 | MS_COPYSTRING(dst->markername, src->markername); |
| 680 | MS_COPYSTELEM(markersize); |
| 681 | MS_COPYSTELEM(minboxsize); |
| 682 | MS_COPYSTELEM(maxboxsize); |
| 683 | dst->map = map; |
| 684 | |
| 685 | return MS_SUCCESS; |
| 686 | } |
| 687 | |
| 688 | /*********************************************************************** |
| 689 | * msCopyScalebar() * |
no test coverage detected