The CRT X-Y Library (libcrtxy) allows you to write vector-based video games (like Asteroids, Lunar Lander, and Battlezone from the 1970s and 80s). The end-user (and/or packager of your software) determines how lines are rendered, depending on the capabilities of their system. This choice includes anti-aliasing, alpha blending, blurring, and even the display size and depth. Fixed-point math is used, and sine and cosine trigonometric functions (using look-up tables) are provided. The library is based on libSDL and uses SDL as the video backend.
|Tags||Software Development Embedded Systems User Interfaces|
|Operating Systems||POSIX BSD BSD/OS FreeBSD NetBSD OpenBSD Linux Solaris Unix|
Release Notes: Options are supported via configuration files, command-line switches, and environment variables. SDL is used to draw both anti-aliased and non-anti-aliased lines. Alpha-blending is supported. SDL also provides "fast" bitmap scaling. Background bitmaps are supported, with scaling and positioning options. Test applications include drawlines and rockdodge. API documentation was started but is incomplete.