procedure sbtext

Write a text string in 3-d perspective. All (x,y,z) values are taken to be given in world coordinates. The z-component of the eye-poisition should be positive and that of the text string should be negative; the viewing-screen is fixed at z=0.

Syntax
sbtext EYE,TEXT,ICOL,PIVOT,FJUST,ORIENT,SIZE

Arguments
ARGUMENT    TYPE I/O DIMENSION DESCRIPTION
EYE:   R*4 I 3 (x,y,z) coordinate of eye-position.
TEXT:   C*1 I * The text string to be written.
ICOL:   I*4 I - Colour index for text.
PIVOT:   R*4 I 3 (x,y,z) coordinate of pivot point.
FJUST:   R*4 I - Position of pivot along the text:
   0.0=left, 0.5=centre, 1.0=right.
ORIENT:   R*4 I 3 x 2 (x,y,z) for X-length and Y-height
   directions of the text.
SIZE:   R*4 I - Height of the reference symbol "A".