section G of routines in global.i

yorick banner




Global Index


Quick Reference

all functions - G


     is used by the hcp_out function to generate the system call which  
     invokes the gist CGM browser and pipes its output to lpr.  This  
     format should contain a single %s specification; after this %s is  
     replaced by the name of the CGM file, Yorick invokes the system  
     command on the resulting string.  
     LPR_FORMAT is also used by hcp_out to process PostScript files  
     made directly by Yorick.  
     The default values are:  
        GIST_FORMAT= "gist %s -f | lpr";  
	LPR_FORMAT= "lpr %s";  

builtin function, documented at i0/paths.i   line 103  
SEE ALSO: hcp_out  

struct GaAxisStyle {  
  double nMajor, nMinor, logAdjMajor, logAdjMinor;  
  int nDigits, gridLevel;  
  int flags;    /* 0x001 ticks on lower edge  
		   0x002 ticks on upper edge  
		   0x004 ticks in center  
		   0x008 inward ticks  
		   0x010 outward ticks  
		   0x020 labels on lower edge  
		   0x040 labels on upper edge  
		   0x080 full grid lines  
		   0x100 origin grid line   */  
  double tickOff, labelOff;  /* offsets in NDC from the edge of the  
				viewport to the ticks or labels */  
  double tickLen(5);         /* tick lengths in NDC */  
  GpLineAttribs tickStyle, gridStyle;  
  GpTextAttribs textStyle;   /* alignment ignored, set correctly */  
  double xOver, yOver;       /* position for overflow label */  

structure, defined at i/style.i   line 664  

struct GaTickStyle {  
  GaAxisStyle horiz, vert;  
  int frame;  
  GpLineAttribs frameStyle;  

structure, defined at i/style.i   line 686  

struct GeLegendBox {  
  double x, y;              /* NDC location of this legend box */  
  double dx, dy;            /* if non-zero, offset to 2nd column */  
  GpTextAttribs textStyle;  /* font, size, etc. of these legends */  
  int nchars, nlines;       /* max number of characters per line, lines */  
  int nwrap;                /* max number of lines to wrap long legends */  

structure, defined at i/style.i   line 692  


interpreted function, defined at i/demo1.i   line 163  

struct GfakeSystem {  
  double viewport(4);    /* [xmin,xmax,ymin,ymax] in NDC coordinates */  
  GaTickStyle ticks;     /* tick style for this coordinate system */  
  string legend;         /* e.g.- "System 0" or "System 1" */  

structure, defined at i/style.i   line 700  

struct GpLineAttribs {  
  long color;     /* -1=bg -2=fg -3=b -4=w -567=rgb -8910=cmy */  
  int type;       /* line types: 0=none 1=solid 2=- 3=. 4=-. 5=-..  */  
  double width;   /* 1.0 is normal width of a line (1/2 point) */  

structure, defined at i/style.i   line 637  

struct GpTextAttribs {  
  long color;       /* -1=bg -2=fg -3=b -4=w -567=rgb -8910=cmy */  
  int font;         /* text font  
		       fonts: 0=courier 4=times 8=helvetica 12=symbol  
			      or with 1 for bold, 2 for italic */  
  double height;    /* character height in NDC, default 0.0156 (12pt)  
		       UNLIKE GKS, GIST font sizes are always specified  
		       in NDC.  This drastically simplifies coding for  
		       devices like X windows, which must load a font  
		       at each size.  It also conforms better with  
		       a Mac-like user interface in which font size  
		       in points is selected by the user.  */  
  int orient;          /* text orientation: 0=right 1=left 2=up 3=down  */  
  int alignH, alignV;  /* text alignments:  
			  alignH: 0=normal 1=left 2=center 3=right  
			  alignV: 0=normal 1=top 2=cap 3=half 4=base 5=bot */  
  int opaque;  

structure, defined at i/style.i   line 643