Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - fg - flash_graphics http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   FG - Flash_Graphics

   Flash_Graphics  is  a set of graphics routines for the  IBM  PC  (and
   clones)  to  interface to the Zortech C and C++  compilers.  They  are
   optimized  for speed and size with most of the code being  written  in
   assembly  language.  Support  is provided for  the  following  display
   types;

   Hercules,  EGA  (color and the monochrome modes), CGA,  VGA,  the  IBM
   8514A and the Toshiba 3100. Specific support is provided for the  high
   resolution modes of some display adaptors.

   The  initialization  routine  recognizes  most  graphics  boards   and
   automatically  configures for the graphics board available.  A  manual
   over-ride  is  possible through either an environment variable  or  at
   compile time.

   There are two libraries available. These libraries will work correctly
   with  all  supported memory models. One is a debug library  that  does
   range checking on most variables passed to the functions. If an  error
   is detected then fg_assert is called with an error message. This is to
   provide  some help in finding difficult to locate program bugs.  There
   is  a small penalty paid in both size and speed with this library  and
   so a non-debug version is available for use with fully debugged code.

   The  header  file  fg.h must be included in any  modules  using  these
   functions  and  variables. Some of the function calls are  macros  and
   will result in unresolved externals if the header file is not used.

   Definition of Basic Coordinate System
   FG uses a right-handed coordinate system with its origin at the bottom
   left of the drawing area. The origin is taken as x = 0, y = 0, where x
   and y are pixel coordinates.

   Variable Types Defined


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson