Changeset 39926 for trunk/Ohana/src/libkapa/include/kapa.h
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to
/branches/czw_branch/20160809 merged eligible
-
Property svn:mergeinfo
set to
-
trunk/Ohana
-
trunk/Ohana/src/libkapa/include/kapa.h
r38986 r39926 25 25 typedef struct sockaddr_in KapaSockAddress; 26 26 27 typedef struct { 28 float *data1d; 29 float **data2d; 30 int Nx; 31 int Ny; 32 } KiiImage; 33 34 typedef struct { 35 float x; 36 float y; 37 float dx; 38 float dy; 39 float angle; 40 int type; 41 } KiiOverlayBase; 42 43 typedef struct { 44 float x; 45 float y; 46 float dx; 47 float dy; 48 float angle; 49 int type; 50 char *text; 51 } KiiOverlay; 27 // retain historical numerical definitions: 28 typedef enum { 29 KAPA_LINE_INVALID_MIN = -1, 30 KAPA_LINE_SOLID = 0, 31 KAPA_LINE_DOT = 1, 32 KAPA_LINE_DASH_SHORT = 2, 33 KAPA_LINE_DASH_LONG = 3, 34 KAPA_LINE_DOT_DASH = 4, 35 KAPA_LINE_INVALID_MAX = 5, 36 } KapaLineType; 37 38 // retain historical numerical definitions: 39 typedef enum { 40 KAPA_PLOT_INVALID_MIN = -1, 41 KAPA_PLOT_CONNECT = 0, 42 KAPA_PLOT_HISTOGRAM = 1, 43 KAPA_PLOT_POINTS = 2, 44 KAPA_PLOT_INVALID_MAX = 3, 45 } KapaPlotStyle; 46 47 typedef enum { 48 KAPA_POINT_INVALID_MIN = -1, 49 KAPA_POINT_BOX_SOLID = 0, 50 KAPA_POINT_BOX_OPEN = 1, 51 KAPA_POINT_CROSS = 2, // OR PLUS 52 KAPA_POINT_X = 3, 53 KAPA_POINT_Y = 4, 54 KAPA_POINT_TRIANGLE_SOLID = 5, 55 KAPA_POINT_TRIANGLE_OPEN = 6, 56 KAPA_POINT_CIRCLE_OPEN = 7, 57 KAPA_POINT_PENTAGON = 8, 58 KAPA_POINT_HEXAGON = 9, 59 KAPA_POINT_CIRCLE_SOLID = 10, 60 KAPA_POINT_TRIANGLE_SOLID_DOWN = 11, 61 KAPA_POINT_TRIANGLE_OPEN_DOWN = 12, 62 KAPA_POINT_Y_DOWN = 13, 63 KAPA_POINT_INVALID_MAX = 14, 64 KAPA_POINT_PAIR_CONNECT = 100, // change to a plot style? 65 } KapaPointStyle; 66 // note that PAIR_CONNECT was historically 100 67 52 68 53 69 typedef enum { … … 75 91 KAPA_PS_RAWPAGE 76 92 } KapaPSmode; 93 94 typedef struct { 95 float *data1d; 96 float **data2d; 97 int Nx; 98 int Ny; 99 } KiiImage; 100 101 typedef struct { 102 float x; 103 float y; 104 float dx; 105 float dy; 106 float angle; 107 int type; 108 } KiiOverlayBase; 109 110 typedef struct { 111 float x; 112 float y; 113 float dx; 114 float dy; 115 float angle; 116 int type; 117 char *text; 118 } KiiOverlay; 77 119 78 120 typedef struct { … … 219 261 unsigned long *KapaX11colors (Display *display, Colormap colormap, unsigned long default_color, int *Ncolors); 220 262 263 /* KapaStyles.c */ 264 KapaLineType KapaLineTypeFromString (char *string); 265 KapaPlotStyle KapaPlotStyleFromString (char *string); 266 KapaPointStyle KapaPointStyleFromString (char *string); 267 221 268 /* RotFont.c */ 222 269 void InitRotFonts PROTO((void));
Note:
See TracChangeset
for help on using the changeset viewer.
