| 1 |
#Inventor V2.1 ascii |
| 2 |
|
| 3 |
# Check various aspects of rendering with an SoAsciiText node. |
| 4 |
# |
| 5 |
# 20000328 mortene |
| 6 |
|
| 7 |
Separator { |
| 8 |
|
| 9 |
# (ROW 0) justification settings |
| 10 |
Separator { |
| 11 |
BaseColor { rgb 1 0 0 } |
| 12 |
AsciiText { string [ "with", "default", "settings" ] } |
| 13 |
|
| 14 |
BaseColor { rgb 0 0 1 } |
| 15 |
Translation { translation +60 0 0 } |
| 16 |
AsciiText { |
| 17 |
justification RIGHT |
| 18 |
string [ "justified", "to the", "right" ] |
| 19 |
} |
| 20 |
|
| 21 |
BaseColor { rgb 1 0 1 } |
| 22 |
Translation { translation +60 0 0 } |
| 23 |
AsciiText { |
| 24 |
justification CENTER |
| 25 |
string [ "i ham", "center", "justified" ] |
| 26 |
} |
| 27 |
} |
| 28 |
|
| 29 |
Translation { translation 0 -60 0} |
| 30 |
|
| 31 |
# (ROW -1) spacing |
| 32 |
Separator { |
| 33 |
BaseColor { rgb 1 1 0 } |
| 34 |
AsciiText { |
| 35 |
spacing 2.0 |
| 36 |
string [ "double", "line", "spacing" ] |
| 37 |
} |
| 38 |
|
| 39 |
BaseColor { rgb 0 1 1 } |
| 40 |
Translation { translation +60 0 0 } |
| 41 |
AsciiText { |
| 42 |
spacing 0.5 |
| 43 |
string [ "half", "line", "spacing" ] |
| 44 |
} |
| 45 |
} |
| 46 |
} |