/usr/include/astrometry/plotannotations.h is in astrometry.net 0.46-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | #ifndef PLOTANNOTATIONS_H
#define PLOTANNOTATIONS_H
#include "plotstuff.h"
struct annotation_args {
anbool NGC;
anbool constellations;
anbool constellation_lines;
anbool constellation_markers;
anbool constellation_labels;
anbool constellation_labels_long;
anbool bright;
anbool bright_labels;
anbool HD;
anbool HD_labels;
float ngc_fraction;
bl* targets;
char* hd_catalog;
};
typedef struct annotation_args plotann_t;
void* plot_annotations_init(plot_args_t* args);
plotann_t* plot_annotations_get(plot_args_t* pargs);
int plot_annotations_command(const char* command, const char* cmdargs,
plot_args_t* args, void* baton);
int plot_annotations_plot(const char* command,
cairo_t* cr, plot_args_t* args, void* baton);
void plot_annotations_free(plot_args_t* args, void* baton);
int plot_annotations_set_hd_catalog(plotann_t* ann, const char* hdfn);
int plot_annotations_add_named_target(plotann_t* ann, const char* target);
void plot_annotations_add_target(plotann_t* ann, double ra, double dec,
const char* name);
DECLARE_PLOTTER(annotations);
#endif
|