/usr/include/gmt/gmt_symbol.h is in libgmt-dev 4.5.11-1build1.
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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | /*--------------------------------------------------------------------
* $Id: gmt_symbol.h 9923 2012-12-18 20:45:53Z pwessel $
*
* Copyright (c) 1991-2013 by P. Wessel and W. H. F. Smith
* See LICENSE.TXT file for copying and redistribution conditions.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 or any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* Contact info: gmt.soest.hawaii.edu
*--------------------------------------------------------------------*/
/*
* Miscellaneous definitions and structures related to custom psxy[z] symbols.
*
* Author: Paul Wessel
* Date: 13-SEP-2001
* Version: 4.1.x
*/
#ifndef _GMT_SYMBOLS_H
#define _GMT_SYMBOLS_H
#define GMT_ACTION_MOVE 100
#define GMT_ACTION_DRAW 200
#define GMT_ACTION_ARC 300
#define GMT_ACTION_CROSS 2
#define GMT_ACTION_PLUS 3
#define GMT_ACTION_CIRCLE 4
#define GMT_ACTION_SQUARE 5
#define GMT_ACTION_TRIANGLE 6
#define GMT_ACTION_DIAMOND 7
#define GMT_ACTION_STAR 8
#define GMT_ACTION_HEXAGON 9
#define GMT_ACTION_ITRIANGLE 10
#define GMT_ACTION_ELLIPSE 11
#define GMT_ACTION_TEXT 14
#define GMT_ACTION_PIE 15
#define GMT_ACTION_RECT 17
#define GMT_ACTION_PENTAGON 19
#define GMT_ACTION_OCTAGON 20
struct GMT_CUSTOM_SYMBOL_ITEM {
double x, y, p[3];
GMT_LONG action;
struct GMT_FILL *fill;
struct GMT_PEN *pen;
struct GMT_CUSTOM_SYMBOL_ITEM *next;
char *string;
};
struct GMT_CUSTOM_SYMBOL {
char name[GMT_TEXT_LEN];
struct GMT_CUSTOM_SYMBOL_ITEM *first;
};
EXTERN_MSC GMT_LONG GMT_n_custom_symbols;
EXTERN_MSC struct GMT_CUSTOM_SYMBOL **GMT_custom_symbol;
EXTERN_MSC struct GMT_CUSTOM_SYMBOL * GMT_get_custom_symbol (char *name);
EXTERN_MSC void GMT_draw_custom_symbol (double x0, double y0, double z0, double size, struct GMT_CUSTOM_SYMBOL *symbol, struct GMT_PEN *pen, struct GMT_FILL *fill, GMT_LONG outline);
EXTERN_MSC void GMT_free_custom_symbols ();
#endif /* _GMT_SYMBOLS_H */
|