home *** CD-ROM | disk | FTP | other *** search
/ gondwana.ecr.mu.oz.au/pub/ / Graphics.tar / Graphics / VOGLE.ZIP / VOGLE / SRC / MSFORT / FTEXT.FOR < prev    next >
Encoding:
Text File  |  2000-02-11  |  3.8 KB  |  181 lines

  1.       interface to subroutine C_font[c](name[reference])
  2.       character *(*) name
  3.       end
  4.  
  5.       interface to subroutine C_textsize[c](x, y)
  6.       real *8 x, y
  7.       end
  8.  
  9.       interface to subroutine C_boxtext[c](x, y, a, b,
  10.      +  s[reference])
  11.       real*8    x, y, a, b
  12.       character *(*)    s
  13.       end
  14.       
  15.       interface to subroutine C_boxfit[c](x, y, n)
  16.       real *8 x, y
  17.       integer *2 n
  18.       end
  19.  
  20.       interface to subroutine C_textang[c](x)
  21.       real *8 x
  22.       end
  23.       
  24.       interface to subroutine    C_drawchar[c](c)
  25.       integer *2 c
  26.       end
  27.  
  28.       interface to subroutine C_drawstr[c](str[reference])
  29.       character *(*) str
  30.       end
  31.       
  32.       interface to subroutine C_getfontsize[c](x[reference],
  33.      +                                      y[reference])
  34.       real x, y
  35.       end
  36.  
  37.       interface to subroutine C_getcharsize[c](c, x[reference],
  38.      +                                      y[reference])
  39.       character *1 c
  40.       real x, y
  41.       end
  42.  
  43.       interface to subroutine C_fixedwidth[c](onoff)
  44.       integer *2 onoff
  45.       end
  46.  
  47.       interface to subroutine C_centertext[c](onoff)
  48.       integer *2 onoff
  49.       end
  50.  
  51.       interface to subroutine C_textjustify[c](val)
  52.       integer *2 val
  53.       end
  54.  
  55.       interface to subroutine C_leftjustify[c]
  56.       end
  57.  
  58.       interface to subroutine C_rightjustify[c]
  59.       end
  60.  
  61.       interface to subroutine C_topjustify[c]
  62.       end
  63.  
  64.       interface to subroutine C_bottomjustify[c]
  65.       end
  66.  
  67.       interface to subroutine C_xcentertext[c]
  68.       end
  69.  
  70.       interface to subroutine C_ycentertext[c]
  71.       end
  72.  
  73.       interface to function C_numchars[c]()
  74.       integer *2 C_numchars
  75.       end
  76.  
  77.       interface to function C_strlength[c](str[reference])
  78.       real C_strlength
  79.       character *(*) str
  80.       end
  81.       
  82.       subroutine font(name)
  83.       character *(*) name
  84.       character *128 t_string
  85.       call C_font(t_string(name))
  86.       return 
  87.       end
  88.       
  89.       subroutine textsize(x, y)
  90.       call C_textsize(x, y)
  91.       end
  92.  
  93.       subroutine boxtext(a, b, c, d, name)
  94.       character *(*) name
  95.       character *128 t_string
  96.       call C_boxtext(a, b, c, d, t_string(name))
  97.       return 
  98.       end
  99.       
  100.       subroutine boxfit(x, y, n)
  101.       call C_boxfit(x, y, n)
  102.       end
  103.       
  104.       subroutine textang(x)
  105.       call C_textang(x)
  106.       end
  107.  
  108.       subroutine drawchar(c)
  109.       character *1 c
  110.       call C_drawchar(ichar(c))
  111.       end
  112.       
  113.       subroutine drawstr(name)
  114.       character *(*) name
  115.       character *128 t_string
  116.       call C_drawstr(t_string(name))
  117.       end
  118.  
  119.       subroutine getfontsize(x, y)
  120.       call C_getfontsize(x, y)
  121.       end
  122.  
  123.       subroutine getcharsize(c, x, y)
  124.       character *1 c
  125.       call C_getcharsize(c, x, y)
  126.       end
  127.  
  128.       subroutine fixedwidth(onoff)
  129.       integer onoff
  130.       call C_fixedwidth(onoff)
  131.       end
  132.  
  133.       subroutine centertext(onoff)
  134.       integer onoff
  135.       call C_centertext(onoff)
  136.       end
  137.  
  138.       subroutine leftjustify
  139.       call C_leftjustify
  140.       end
  141.  
  142.       subroutine rightjustify
  143.       call C_rightjustify
  144.       end
  145.  
  146.       subroutine topjustify
  147.       call C_topjustify
  148.       end
  149.  
  150.       subroutine bottomjustify
  151.       call C_bottomjustify
  152.       end
  153.  
  154.       subroutine textjustify(val)
  155.       integer val
  156.       call C_textjustify(val)
  157.       end
  158.  
  159.       subroutine xcentertext
  160.       call C_xcentertext
  161.       end
  162.  
  163.       subroutine ycentertext
  164.       call C_ycentertext
  165.       end
  166.  
  167.       integer function numchars()
  168.       integer*2 C_numchars
  169.       numchars = C_numchars()
  170.       end
  171.       
  172.       real function strlength(name)
  173.       character *(*) name
  174.       character *128 t_string
  175.       real C_strlength
  176.       strlength = C_strlength(t_string(name))
  177.       return
  178.       end
  179.  
  180.  
  181.