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

Function msDrawRasterLayer

mapdraw.c:1320–1333  ·  view source on GitHub ↗

* Generic function to render raster layers. */

Source from the content-addressed store, hash-verified

1318 * Generic function to render raster layers.
1319 */
1320int msDrawRasterLayer(mapObj *map, layerObj *layer, imageObj *image)
1321{
1322 if (image && map && layer)
1323 {
1324 if( MS_RENDERER_PLUGIN(image->format) )
1325 {
1326 return msDrawRasterLayerPlugin(map, layer, image);
1327 }
1328 else if( MS_RENDERER_RAWDATA(image->format) )
1329 return msDrawRasterLayerLow(map, layer, image, NULL);
1330 }
1331
1332 return MS_FAILURE;
1333}
1334
1335
1336/**

Callers 1

msDrawLayerFunction · 0.85

Calls 2

msDrawRasterLayerPluginFunction · 0.85
msDrawRasterLayerLowFunction · 0.85

Tested by

no test coverage detected