next up previous contents index
Next: Printing high resolution graphics Up: Miscellaneous graphics commands Previous: Clearing graphics screens

Writing text to the graphics screen


tex2html_wrap_inline33790 tex2html_wrap_inline33790 Syntax

BD>gtext : R tex2html_wrap_inline33794 , R tex2html_wrap_inline33798 , I tex2html_wrap_inline33794 , I tex2html_wrap_inline33798 , T tex2html_wrap_inline33712

where tex2html_wrap_inline37528 is an integer in tex2html_wrap_inline37496 , tex2html_wrap_inline36434 is an integer representing a colour, tex2html_wrap_inline37500 and tex2html_wrap_inline37502 are real numbers in (0,1), and tex2html_wrap_inline37504 is a string of alphanumeric text.

tex2html_wrap_inline33806 tex2html_wrap_inline33806

The purpose of the GTEXT:  command is to write the text string T to the graphics screen in a given size and colour. The size of the text ranges from tex2html_wrap_inline37506 (smallest) to tex2html_wrap_inline37508 (largest). The colour of the text depends upon the platform used: see Table 11.3 for a list of possible values. tex2html_wrap_inline37500 and tex2html_wrap_inline37502 are numbers in (0,1) which specify the (x,y) coordinates for the centre of the text. Notice that text can be `deleted' on the graphics screen by redrawing it in the background colour, zero.  



David Wooff
Wed Oct 21 15:14:31 BST 1998