Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DrawText ¶
DrawText draws English and Polish text of the Akkerman Steppe poem on the whole screen using two different font faces. The background is white with two random quadrilaterals or triangles with different semi-transparent colors. The text is black. Dejavu is a proportional font with glyph data encoded as 2 bpp image (anti-aliased, 4 transparency levels). VGA is a monospace font with glyph data encoded as 1 bpp image (no anti-aliasing).
Pay attention to the background visibility, font anti-aliasing (display dependent), non-ASCII letters in Polish text.
func GraphicsTest ¶
func RotateDisplay ¶
RotateDisplay draws a white arrow pointing to the top left corner of the screen, the red, green and blue bars near top right corner of the screen and a purple rounded rectangle around the screen. Next it sequentially rotates the coordinate system 90 degrees clockwise and draws it all again.
Pay attention to the position of all elements, the order of RGB bars (the red one should be closest to the arrow, the blue one farthest) and the direction of rotation.
Types ¶
This section is empty.