| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>Viewport text...</title> |
| 3 | <style> |
| 4 | td { padding-left: 5pt; padding-right: 5pt; } |
| 5 | th { padding-left: 5pt; padding-right: 5pt; } |
| 6 | code { white-space: pre-wrap; } |
| 7 | dd { white-space: pre-wrap; } |
| 8 | </style> |
| 9 | </head><body bgcolor="#FFFFFF"> |
| 10 | |
| 11 | <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 | Viewport text... |
| 13 | </b></font></table></table> |
| 14 | <p>One of the commands in the <b>Select</b> menu of the <a href="Picture_window.html">Picture window</a>.</p> |
| 15 | <h2>Purpose</h2> |
| 16 | <p>To write text inside the viewport, at nine different places, with a rotation between 0 to 360 degrees.</p> |
| 17 | <h2>Settings:</h2> |
| 18 | <dl> |
| 19 | <dt><b>Horizontal alignment</b> |
| 20 | <dd>determines the horizontal alignment of the text:</dd> |
| 21 | <dd style="position:relative;padding-left:1em;text-indent:-2em"> • <b>Left</b> means pushed against the left edge of the viewport;</dd> |
| 22 | <dd style="position:relative;padding-left:1em;text-indent:-2em"> • <b>Right</b> means pushed against the right edge of the viewport;</dd> |
| 23 | <dd style="position:relative;padding-left:1em;text-indent:-2em"> • <b>Centre</b> means horizontally centred in the viewport.</dd> |
| 24 | <dt><b>Vertical alignment</b> |
| 25 | <dd>determines the vertical alignment of the text:</dd> |
| 26 | <dd style="position:relative;padding-left:1em;text-indent:-2em"> • <b>Top</b> means pushed against the top of the viewport;</dd> |
| 27 | <dd style="position:relative;padding-left:1em;text-indent:-2em"> • <b>Bottom</b> means pushed against the bottom of the viewport;</dd> |
| 28 | <dd style="position:relative;padding-left:1em;text-indent:-2em"> • <b>Half</b> means vertically centred in the viewport.</dd> |
| 29 | <dt><b>Text</b> |
| 30 | <dd>will be drawn in the current font and font size that you set with the <a href="Font_menu.html">Font menu</a>.</dd> |
| 31 | </dl> |
| 32 | <h2>Behaviour</h2> |
| 33 | <p>For rotated text, the alignment settings will not only determine the position inside the viewport, but also the alignment in the rotated coordinate system. This gives surprises now and then; so, if you want several rotated texts that align with each other, you should do this by varying the viewport, not the alignment.</p> |
| 34 | <h2>Usage</h2> |
| 35 | <p>You can use all <a href="Special_symbols.html">special symbols</a> and <a href="Text_styles.html">text styles</a>.</p> |
| 36 | <hr> |
| 37 | <address> |
| 38 | <p>© ppgb 19970330</p> |
| 39 | </address> |
| 40 | </body> |
| 41 | </html> |