IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 16, 2020, 1:54:47 PM (6 years ago)
Author:
tdeboer
Message:

revert to working Ohana build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kapa2/include/structures.h

    r41320 r41340  
    4848  unsigned long  back;        // basic background color
    4949
    50   float smooth_sigma; // anti-aliasing smoothing scale
    51 
    5250  unsigned long  overlay_color[NOVERLAYS]; // image plotting colors
    5351} Graphic;
     
    133131} Overlay;
    134132 
    135 // a set of objects all have the same basic properties
    136 typedef struct {
    137   float *x; // x-coordinates of the points
    138   float *y; // y-coordinates of the points
    139   float *z; // size/colorscale for points
    140   float *dxp; // lower-errorbar in x
    141   float *dxm; // upper-errorbar in x
    142   float *dyp; // lower-errorbar in y
    143   float *dym; // upper-errorbar in y
    144   int Npts;   // number of points in this set
    145   int style;  // how are the object draw: CONNECT, HISTOGRAM,
    146   int ptype;  // shape of object at each point
    147   // ptype is overloaded for NPOLYGON to be the number of points / polygon
    148   int ltype;  // style of line (solid, dot, dash, etc)
    149   int color;  // color for point (if not colorscaled)
    150   int etype;  // errorbars to draw (0x01 = y, 0x02 = x)
    151   int ebar;   // draw a cap on the error bar
    152   double lweight; // line thickness
    153   double size; // size of the object
     133typedef struct {
     134  float *x, *y, *z, *dxp, *dxm, *dyp, *dym;
     135  int Npts;
     136  int style, ptype, ltype, color, etype, ebar;
     137  double lweight, size;
    154138  double x0, x1, y0, y1;  /* limits for this object */
    155139  double alpha;
     
    250234  char *name;
    251235} Section;
    252 
    253 typedef struct {
    254   FILE *f;
    255   int Nsegment;
    256   int NSEGMENT;
    257   int *offset;
    258   int *objnum;
    259 
    260   int Nstream;
    261   int NSTREAM;
    262   int *streamObjnum;
    263 
    264   int Nimage;
    265   int NIMAGE;
    266   int *imageObjnum;
    267 } PDF_FILE;
    268 
Note: See TracChangeset for help on using the changeset viewer.