[163] | 1 | |
---|
| 2 | |
---|
| 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
---|
| 4 | <head> |
---|
| 5 | <title>text_box.pro (SAXO Documentation Assistant)</title> |
---|
| 6 | </head> |
---|
| 7 | |
---|
| 8 | <body text="#000000" bgcolor="#FFFFFF"> |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | <!-- Navbar template takes a structure with the following fields: |
---|
| 12 | overview_href : |
---|
| 13 | overview_selected : |
---|
| 14 | dir_overview_href : |
---|
| 15 | dir_overview_selected : |
---|
| 16 | categories_href : |
---|
| 17 | categories_selected : |
---|
| 18 | index_href : |
---|
| 19 | index_selected : |
---|
| 20 | search_href : |
---|
| 21 | search_selected : |
---|
| 22 | file_selected : |
---|
| 23 | source_href : |
---|
| 24 | source_selected : |
---|
| 25 | help_href : |
---|
| 26 | help_selected : |
---|
| 27 | etc_selected : |
---|
| 28 | |
---|
| 29 | prev_file_href : |
---|
| 30 | next_file_href : |
---|
| 31 | |
---|
| 32 | view_single_page_href : |
---|
| 33 | view_frames_href : |
---|
| 34 | |
---|
| 35 | summary_fields_href : |
---|
| 36 | summary_routine_href : |
---|
| 37 | details_routine_href : |
---|
| 38 | |
---|
| 39 | title : |
---|
| 40 | subtitle : |
---|
| 41 | user : |
---|
| 42 | --> |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | <table border="0" cellpadding="0" cellspacing="0" width="98%" bgcolor="#F0F0FF" valign="bottom"> |
---|
| 46 | <tr> |
---|
| 47 | <td width="10%"> |
---|
| 48 | <a href="testvar.html"><img src="./../prev.gif" border="0" alt="Previous"></a></td> |
---|
| 49 | <td width="80%" align="center" valign="center"> |
---|
| 50 | <font size=-1><i>SAXO Documentation Assistant</i>: <a href="./../home.html">Overview</a></font></td> |
---|
| 51 | <td width="10%" align="right"> |
---|
| 52 | <a href="undefine.html"><img src="./../next.gif" border="0" alt="Next"></a></td> |
---|
| 53 | </tr> |
---|
| 54 | </table> |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | <h1><font size="-2">Utilities/</font></h1> |
---|
| 58 | <h2>text_box.pro</h2> |
---|
| 59 | |
---|
| 60 | <dl> |
---|
| 61 | </dl> |
---|
| 62 | |
---|
[234] | 63 | |
---|
[163] | 64 | This procedure writes a short text message within a box-shaped |
---|
[242] | 65 | area in a graphic window. The message may be split at word |
---|
[163] | 66 | boundaries into several lines, and the character size and |
---|
| 67 | orientation may be adjusted for the text to fit within the box. |
---|
| 68 | |
---|
[234] | 69 | |
---|
[163] | 70 | |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | <a name="#_text_box"></a> |
---|
| 74 | |
---|
| 75 | <h2>text_box </h2> |
---|
| 76 | |
---|
[290] | 77 | <p><font face="Courier">text_box<i>, <a href="#_text_box_keyword_text">text</a></i>, <a href="#_text_box_keyword_POS">POS</a>=<i>POS</i>, <a href="#_text_box_keyword_FG_COLOR">FG_COLOR</a>=<i>FG_COLOR</i>, <a href="#_text_box_keyword_BG_COLOR">BG_COLOR</a>=<i>BG_COLOR</i>, <a href="#_text_box_keyword_CENTER">CENTER</a>=<i>CENTER</i>, <a href="#_text_box_keyword_RIGHT">RIGHT</a>=<i>RIGHT</i>, <a href="#_text_box_keyword_BOX">BOX</a>=<i>BOX</i>, <a href="#_text_box_keyword_VERT_SPACE">VERT_SPACE</a>=<i>VERT_SPACE</i>, <a href="#_text_box_keyword__EXTRA">_EXTRA</a>=<i>_EXTRA</i></font></p> |
---|
[163] | 78 | |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | |
---|
| 84 | |
---|
| 85 | <h3>Parameters</h3> |
---|
| 86 | |
---|
| 87 | |
---|
| 88 | <a name="#_text_box_keyword_text"></a> |
---|
| 89 | <h4>text |
---|
| 90 | <font size="-1" color="#006633">in</font> |
---|
| 91 | |
---|
| 92 | |
---|
| 93 | <font size="-1" color="#006633">required</font> |
---|
| 94 | |
---|
[242] | 95 | <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>string</i></font> |
---|
[163] | 96 | |
---|
| 97 | |
---|
| 98 | </h4> |
---|
| 99 | |
---|
[234] | 100 | |
---|
[242] | 101 | message in ASCII. |
---|
[163] | 102 | |
---|
| 103 | |
---|
| 104 | |
---|
| 105 | |
---|
| 106 | |
---|
| 107 | <h3>Keywords</h3> |
---|
| 108 | |
---|
| 109 | |
---|
[290] | 110 | <a name="#_text_box_keyword_POS"></a> |
---|
| 111 | <h4>POS |
---|
[163] | 112 | |
---|
| 113 | |
---|
| 114 | |
---|
| 115 | |
---|
| 116 | |
---|
| 117 | |
---|
| 118 | |
---|
| 119 | |
---|
| 120 | </h4> |
---|
| 121 | |
---|
[234] | 122 | |
---|
[242] | 123 | 4 elements vector specifying the box position and size |
---|
| 124 | pos[0],pos[1] specify the lower left corner coordinate, |
---|
| 125 | pos[2],pos[3] specify the upper right corner coordinate, |
---|
| 126 | data window normalized coordinates are used. |
---|
[163] | 127 | |
---|
| 128 | |
---|
[290] | 129 | <a name="#_text_box_keyword_FG_COLOR"></a> |
---|
| 130 | <h4>FG_COLOR |
---|
[163] | 131 | |
---|
| 132 | |
---|
| 133 | |
---|
| 134 | |
---|
| 135 | |
---|
| 136 | |
---|
| 137 | <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>0</i></font> |
---|
| 138 | |
---|
| 139 | </h4> |
---|
| 140 | |
---|
| 141 | |
---|
| 142 | color of box and legend titles |
---|
| 143 | |
---|
| 144 | |
---|
[290] | 145 | <a name="#_text_box_keyword_BG_COLOR"></a> |
---|
| 146 | <h4>BG_COLOR |
---|
[163] | 147 | |
---|
| 148 | |
---|
| 149 | |
---|
| 150 | |
---|
| 151 | |
---|
| 152 | |
---|
| 153 | |
---|
| 154 | |
---|
| 155 | </h4> |
---|
| 156 | |
---|
[234] | 157 | |
---|
[402] | 158 | background color. |
---|
| 159 | Setting BG_COLOR erases the area |
---|
| 160 | covered by the text box (filling it with color BG_COLOR) |
---|
| 161 | prior to writing the text. If both BG_COLOR and !p.color |
---|
| 162 | are zero then the background color is reset to 255 to |
---|
| 163 | guarantee a readability. |
---|
[234] | 164 | |
---|
[163] | 165 | |
---|
[290] | 166 | <a name="#_text_box_keyword_CENTER"></a> |
---|
| 167 | <h4>CENTER |
---|
[163] | 168 | |
---|
| 169 | |
---|
| 170 | |
---|
| 171 | |
---|
| 172 | |
---|
| 173 | |
---|
| 174 | |
---|
| 175 | |
---|
| 176 | </h4> |
---|
| 177 | |
---|
[234] | 178 | |
---|
[163] | 179 | if set, center the text |
---|
| 180 | |
---|
| 181 | |
---|
[290] | 182 | <a name="#_text_box_keyword_RIGHT"></a> |
---|
| 183 | <h4>RIGHT |
---|
[163] | 184 | |
---|
| 185 | |
---|
| 186 | |
---|
| 187 | |
---|
| 188 | |
---|
| 189 | |
---|
| 190 | |
---|
| 191 | |
---|
| 192 | </h4> |
---|
| 193 | |
---|
[234] | 194 | |
---|
[163] | 195 | if set, right justify text |
---|
| 196 | |
---|
| 197 | |
---|
[290] | 198 | <a name="#_text_box_keyword_BOX"></a> |
---|
| 199 | <h4>BOX |
---|
[163] | 200 | |
---|
| 201 | |
---|
| 202 | |
---|
| 203 | |
---|
| 204 | |
---|
| 205 | |
---|
| 206 | |
---|
| 207 | |
---|
| 208 | </h4> |
---|
| 209 | |
---|
[234] | 210 | |
---|
[242] | 211 | activate to show the box on graphic window. |
---|
[163] | 212 | |
---|
| 213 | |
---|
[290] | 214 | <a name="#_text_box_keyword_VERT_SPACE"></a> |
---|
| 215 | <h4>VERT_SPACE |
---|
[163] | 216 | |
---|
| 217 | |
---|
| 218 | |
---|
| 219 | |
---|
| 220 | |
---|
| 221 | |
---|
| 222 | <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>1.5</i></font> |
---|
| 223 | |
---|
| 224 | </h4> |
---|
| 225 | |
---|
| 226 | |
---|
| 227 | vertical spacing of lines in units of character height |
---|
| 228 | |
---|
| 229 | |
---|
| 230 | <a name="#_text_box_keyword__EXTRA"></a> |
---|
| 231 | <h4>_EXTRA |
---|
| 232 | |
---|
| 233 | |
---|
| 234 | |
---|
| 235 | |
---|
| 236 | |
---|
| 237 | |
---|
| 238 | |
---|
| 239 | |
---|
| 240 | </h4> |
---|
| 241 | |
---|
[234] | 242 | |
---|
| 243 | Used to pass keywords |
---|
[163] | 244 | |
---|
| 245 | |
---|
| 246 | |
---|
| 247 | |
---|
| 248 | |
---|
[234] | 249 | </pre><h3>Version history</h3> |
---|
[163] | 250 | |
---|
[234] | 251 | <h4>Version</h4> |
---|
[402] | 252 | $Id: text_box.pro 375 2008-08-08 15:55:40Z pinsard $ |
---|
[163] | 253 | |
---|
[234] | 254 | <h4>History</h4> |
---|
| 255 | Paul Ricchiazzi 7Jul93 |
---|
[163] | 256 | Institute for Computational Earth System Science |
---|
| 257 | University of California, Santa Barbara |
---|
| 258 | |
---|
| 259 | |
---|
| 260 | |
---|
| 261 | |
---|
| 262 | |
---|
| 263 | |
---|
| 264 | |
---|
| 265 | |
---|
| 266 | |
---|
| 267 | |
---|
| 268 | |
---|
| 269 | |
---|
| 270 | |
---|
| 271 | |
---|
| 272 | |
---|
| 273 | |
---|
| 274 | |
---|
| 275 | <font size="-3"><p> </p></font> |
---|
| 276 | <hr size="1" color="#CCCCCC"/> |
---|
| 277 | |
---|
| 278 | |
---|
| 279 | |
---|
| 280 | |
---|
[187] | 281 | <p><font color="gray" size="-3"> Produced by IDLdoc 2.0.</font></p> |
---|
[163] | 282 | |
---|
| 283 | </body> |
---|
[249] | 284 | </html> |
---|