MCPcopy Create free account
hub / github.com/MapServer/MapServer / msCopyReferenceMap

Function msCopyReferenceMap

mapcopy.c:661–686  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

659 **********************************************************************/
660
661int 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() *

Callers 1

msCopyMapFunction · 0.85

Calls 1

initReferenceMapFunction · 0.85

Tested by

no test coverage detected