|
Wraps a Graphics to provide a hopefully more convenient interface. The major bits
of functionality are: -
all coordinates in doubles or [Unrecognized cref attribute] structs;
-
support for the Y axis growing upwards;
-
functions targeted at drawing a 2d world onto a viewport of a specified size.
Common terms and abbreviations:
Screen |
Rectangular area that will be the final destination of the drawing. |
Viewport |
The region, defined in terms of the world coordinates, that is viewable on the screen. |
World coordinates |
Coordinates of the underlying "world" being represented. |
Screen coordinates |
Coordinates on the screen, can be used to directly draw on the underlying Graphics. |
WX, WY, WW, WH |
World X, Y, Width, Height, respectively |
SX, SY, SW, SH |
Screen X, Y, Width, Height, respectively |
|