GRAW_FORMAT(10.6)                               GRAW_FORMAT(10.6)

     NAME
          graw - graw file format

     DESCRIPTION
          Graw_format files are simple.  There is one primitive per
          line, each primitive indicated by a single-character identi-
          fier.  All strings are enclosed in double quotes.  Defini-
          tion need not precede use, though in practice graw produces
          ref primitives first, and master definitions are seldom
          found outside libraries.

          The argument to a ref (or include) command is searched for
          in the current directory and then in /lib/graw.

          Syntax:

          body:     prim | body prim
          prim:     line | box | string | dots | macro | inst | ref |
          master
          line:     l point point
          box: b rect
          string:   s chars disp point
          dots:     d rect
          macro:    z rect
          inst:     i chars point
          ref: r filename
          master:   mstart body mend
          mstart:   m chars
          mend:     e
          rect:     point point
          point:    INT INT
          disp:     INT
          chars:    " STRING "

          Graw string displacements are specified by five bit codes
          defined below:
          /* string placement displacements */
          #define   HALFX     1
          #define   FULLX     2
          #define   HALFY     4
          #define   FULLY     8
          #define   INVIS     16

          Invisible strings are typically defined for masters with
          connection points.  Though the text is usually not displayed
          or printed, the remaining four bits should nonetheless spec-
          ify a proper displacement for the sake of back-annotation.

     FILES
          /lib/graw/gates.g  the standard gate file

     Page 1                       Plan 9            (printed 12/21/24)

     GRAW_FORMAT(10.6)                               GRAW_FORMAT(10.6)

     SEE ALSO
          graw(10.1)

     Page 2                       Plan 9            (printed 12/21/24)