MCPcopy Index your code
hub / github.com/MapServer/MapServer / mapObj_clone

Function mapObj_clone

mapscript/php/mapscript_i.c:68–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 }
67
68mapObj *mapObj_clone(mapObj* self) {
69 mapObj *dstMap;
70 dstMap = msNewMapObj();
71 if (msCopyMap(dstMap, self) != MS_SUCCESS)
72 {
73 msFreeMap(dstMap);
74 dstMap = NULL;
75 }
76 return dstMap;
77 }
78
79int mapObj_setRotation(mapObj* self, double rotation_angle ) {
80 return msMapSetRotation( self, rotation_angle );

Callers 1

Calls 3

msNewMapObjFunction · 0.85
msCopyMapFunction · 0.85
msFreeMapFunction · 0.85

Tested by

no test coverage detected