/[gzz]/gzz/doc/pegboard/1008/PEG_1008.rst
ViewVC logotype

Diff of /gzz/doc/pegboard/1008/PEG_1008.rst

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by benja, Sun Oct 6 14:53:23 2002 UTC revision 1.2 by tjl, Sun Oct 6 14:58:38 2002 UTC
# Line 18  Current situation Line 18  Current situation
18  Proposed solution  Proposed solution
19  -----------------  -----------------
20    
 (TBD by Tuomas)  
21    Two coordinate systems are passed. The second will correctly default to zero.
22    The first coordinate system determines the height of the text and its location
23    on the screen. The second coordinate system determines the aspect ratio and the
24    direction in which the text continues.
25    
26    Algorithm::
27    
28        a = cs1(0,0); b = cs1(0,1);  # Convert left edge of text bbox
29        topleft = cs2^-1(a); bottomleft = cs2^-1(b);
30        textdir = (topleft - bottomleft).clockwise90()
31    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26