| 6459 | } |
| 6460 | |
| 6461 | GMT_LOCAL void gmtplot_map_annotations (struct GMT_CTRL *GMT) { |
| 6462 | double w, e, s, n; |
| 6463 | struct PSL_CTRL *PSL= GMT->PSL; |
| 6464 | |
| 6465 | if (GMT->current.map.frame.order == GMT_BASEMAP_BEFORE && GMT->current.map.frame.basemap_flag & GMT_BASEMAP_ANNOT_AFTER) return; /* Wrong order */ |
| 6466 | if (GMT->current.map.frame.order == GMT_BASEMAP_AFTER && !(GMT->current.map.frame.basemap_flag & GMT_BASEMAP_ANNOT_AFTER)) return; /* Wrong order */ |
| 6467 | |
| 6468 | w = GMT->common.R.wesn[XLO], e = GMT->common.R.wesn[XHI], s = GMT->common.R.wesn[YLO], n = GMT->common.R.wesn[YHI]; |
| 6469 | |
| 6470 | gmtplot_map_annotate (GMT, PSL, w, e, s, n); |
| 6471 | } |
| 6472 | |
| 6473 | GMT_LOCAL void gmtplot_title_breaks_decode (struct GMT_CTRL *GMT, const char *in_string, char *out_string) { |
| 6474 | /* Deal with long-form @^ or <break> strings in title and subtitle and replace with GMT_ASCII_GS */ |
no test coverage detected