Changeset 133 for trunk/SRC/Utilities/text_box.pro
- Timestamp:
- 07/07/06 11:57:27 (18 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Utilities/text_box.pro
r132 r133 1 1 ;+ 2 ; Name : text_box3 2 ; 4 ; Purpose : Writes a text message within a box in a graphics window. 3 ; @file_comments 4 ; This procedure writes a short text message within a box-shaped 5 ; area in a graphics window. The message may be split at word 6 ; boundaries into several lines, and the character size and 7 ;orientation may be adjusted for the text to fit within the box. 8 ; 9 ; @param TEXT {in}{required} ASCII text string containing the message. 5 10 ; 6 ; Description: This procedure writes a short text message within a box-shaped 7 ; area in a graphics window. The message may be split at word 8 ; boundaries into several lines, and the character size and 9 ; orientation may be adjusted for the text to fit within the box. 10 ; 11 ; Useage: text_box,text,pos=pos,color=color,$ 12 ; justify=justify,vert_space=vert_space 13 ; 14 ; Inputs 15 ; TEXT ASCII text string containing the message. 16 ; 17 ; keywords 18 ; pos 4 element vector specifying the box position and size 11 ; @keyword pos 4 element vector specifying the box position and size 19 12 ; pos[0],pos[1] specify the lower left corner coordinate 20 13 ; pos[2],pos[3] specify the upper right corner coordinate 21 14 ; data window normalized coordinates are use 22 15 ; 23 ; fg_colorcolor of box and legend titles (default=0)16 ; @keyword fg_color color of box and legend titles (default=0) 24 17 ; 25 ; bg_colorbackground color. Setting BG_COLOR erases the area18 ; @keyword bg_color background color. Setting BG_COLOR erases the area 26 19 ; covered by the text box (filling it with color BG_COLOR) 27 20 ; prior to writing the text. If both BG_COLOR and !p.color … … 29 22 ; gaurantee a readability. 30 23 ; 31 ; right if set, right justify text 32 ; center if set, center the text 24 ; @keyword right if set, right justify text 33 25 ; 34 ; vert_space vertical spacing of lines in units of character height 35 ; (default = 1.5) 26 ; @keyword center if set, center the text 36 27 ; 28 ; @keyword vert_space {default=1.5}vertical spacing of lines in units of character height 37 29 ; 38 ; author: Paul Ricchiazzi 7Jul93 30 ; @keyword _EXTRA used to pass your keyword 31 ; 32 ; @keyword box activate to show the box on graphics window. 33 ; 34 ; @history Paul Ricchiazzi 7Jul93 39 35 ; Institute for Computational Earth System Science 40 36 ; University of California, Santa Barbara 37 ; 38 ; @version $Id$ 39 ; 41 40 ;- 42 41 PRO text_box,text,pos=pos,fg_color=fg_color,bg_color=bg_color,$
Note: See TracChangeset
for help on using the changeset viewer.