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

Function writeDimension

mapfile.c:508–514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506}
507
508static void writeDimension(FILE *stream, int indent, const char *name, int x, int y, char *bind_x, char *bind_y) {
509 writeIndent(stream, ++indent);
510 if(bind_x) fprintf(stream, "%s [%s] ", name, bind_x);
511 else fprintf(stream, "%s %d ", name, x);
512 if(bind_y) fprintf(stream, "[%s]\n", bind_y);
513 else fprintf(stream, "%d\n", y);
514}
515
516static void writeExtent(FILE *stream, int indent, const char *name, rectObj extent) {
517 if(!MS_VALID_EXTENT(extent)) return;

Callers 7

writeLabelFunction · 0.85
writeStyleFunction · 0.85
writeReferenceMapFunction · 0.85
writeLegendFunction · 0.85
writeScalebarFunction · 0.85
writeQueryMapFunction · 0.85
msSaveMapFunction · 0.85

Calls 1

writeIndentFunction · 0.85

Tested by

no test coverage detected