| 1824 | } |
| 1825 | |
| 1826 | GMT_LOCAL bool gmtplot_skip_end_annotation (struct GMT_CTRL *GMT, unsigned int axis, double x, double length) { |
| 1827 | /* Returns true if this is an annotation at the end of the axis and we are either in GMT_IS_INSIDE mode or user added modifier +e[l|u] to the axis annotation settings */ |
| 1828 | if (GMT->current.map.frame.axis[axis].skip[0] && fabs (x) < GMT_CONV4_LIMIT) return true; /* Skip annotation if it falls ~exactly at the start of the axis */ |
| 1829 | if (GMT->current.map.frame.axis[axis].skip[1] && fabs (x - length) < GMT_CONV4_LIMIT) return true; /* Skip annotation if t falls ~exactly at the end of the axis */ |
| 1830 | if (GMT->current.setting.map_frame_type & GMT_IS_INSIDE && (fabs (x) < GMT_CONV4_LIMIT || fabs (x - length) < GMT_CONV4_LIMIT)) return true; /* Skip annotation on edges when MAP_FRAME_TYPE = inside */ |
| 1831 | return false; /* No, let's plot it */ |
| 1832 | } |
| 1833 | |
| 1834 | GMT_LOCAL void gmtplot_map_symbol (struct GMT_CTRL *GMT, struct PSL_CTRL *PSL, struct GMT_XINGS *xings, char *label, unsigned int type, bool annot, unsigned int level, unsigned int form) { |
| 1835 | /* type = 0 for lon and 1 for lat */ |
no outgoing calls
no test coverage detected