MCPcopy Create free account
hub / github.com/GenericMappingTools/gmt / gmtplot_map_symbol_ew

Function gmtplot_map_symbol_ew

src/gmt_plot.c:1885–1894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1883}
1884
1885GMT_LOCAL void gmtplot_map_symbol_ew (struct GMT_CTRL *GMT, struct PSL_CTRL *PSL, double lat, char *label, double west, double east, bool annot, unsigned int level, unsigned int form) {
1886 unsigned int i, nc;
1887 struct GMT_XINGS *xings = NULL;
1888
1889 nc = gmtlib_map_latcross (GMT, lat, west, east, &xings);
1890 for (i = 0; i < nc; i++)
1891 //gmtplot_map_symbol (GMT, PSL, xings[i].xx, xings[i].yy, xings[i].sides, xings[i].angle, label, xings[i].nx, 1, annot, level, form);
1892 gmtplot_map_symbol (GMT, PSL, &(xings[i]), label, 1, annot, level, form);
1893 if (nc) gmt_M_free (GMT, xings);
1894}
1895
1896GMT_LOCAL void gmtplot_map_symbol_ns (struct GMT_CTRL *GMT, struct PSL_CTRL *PSL, double lon, char *label, double south, double north, bool annot, unsigned int level, unsigned int form) {
1897 unsigned int i, k, nc;

Callers 1

gmtplot_map_annotateFunction · 0.85

Calls 2

gmtlib_map_latcrossFunction · 0.85
gmtplot_map_symbolFunction · 0.85

Tested by

no test coverage detected