28 |
and rename coordsys into ortho |
and rename coordsys into ortho |
29 |
|
|
30 |
|
|
|
.. IMPORTANT:: |
|
|
Should 3D scaling be here as well? |
|
|
|
|
31 |
(Benja says:) ``scale`` doesn't belong here, because AWT cannot do it properly |
(Benja says:) ``scale`` doesn't belong here, because AWT cannot do it properly |
32 |
when text is involved (because text's aspect ratio may change |
when text is involved (because text's aspect ratio may change |
33 |
with size). (Therefore, 3D scale doesn't belong here, either.) |
with size). |
34 |
|
|
35 |
(Tjl:) Well, coordsys already *does* scale. The thing is to just |
(Tjl:) Well, coordsys already *does* scale. The thing is to just |
36 |
ask for the font's width with the right scale, which you should |
ask for the font's width with the right scale, which you should |
53 |
int rotate(int into, float degrees); |
int rotate(int into, float degrees); |
54 |
int scale(int into, float x, float y, float z); |
int scale(int into, float x, float y, float z); |
55 |
|
|
|
.. IMPORTANT:: |
|
|
Should we add default implementation of rotate? |
|
|
|
|
56 |
Also, for all these functions, we should have a shorthand |
Also, for all these functions, we should have a shorthand |
57 |
in VobScene: |
in VobScene: |
58 |
|
|
106 |
The reason for allowing the array ``pt[]`` to contain several points is |
The reason for allowing the array ``pt[]`` to contain several points is |
107 |
simply performance. |
simply performance. |
108 |
|
|
|
.. IMPORTANT:: |
|
|
Names? |
|
|
|
|
|
.. IMPORTANT:: |
|
|
Should we provide a form with a default return of float[] for convenience? |
|
|
How would inverse then work? |
|
|
|
|