18 |
Proposed solution |
Proposed solution |
19 |
----------------- |
----------------- |
20 |
|
|
21 |
|
Mostly, we *don't* want to pass both the height and width of the text |
22 |
|
to the text rendering routine. We just want to prescribe the height, |
23 |
|
the width being determined accordingly. |
24 |
|
|
25 |
|
The height needs to be passed in a coordsys to enable interpolation |
26 |
|
(very desirable). Also, the origin of the text, and the direction. |
27 |
|
|
28 |
|
The solution is to pass these three (origin, direction, height) |
29 |
|
in one coordinate system and the "aspect ratio" in another. |
30 |
|
|
31 |
|
Thus: |
32 |
|
|
33 |
Two coordinate systems are passed. The second will correctly default to zero. |
Two coordinate systems are passed. The second will correctly default to zero. |
34 |
The first coordinate system determines the height of the text and its location |
The first coordinate system determines the height of the text and its location |
35 |
on the screen. The second coordinate system determines the aspect ratio and the |
on the screen. The second coordinate system determines the aspect ratio and the |