Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>introduction</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Introduction

  These functions allow you to draw lines, boxes, circles, ovals, and
  polygons each of which may be filled or unfilled. These functions write
  to the graphics screen and require that the graphics screen be available
  (using PLOT(), PIE(), or FSCREEN()).

  By setting XORing ON, objects are XORed to the background. If the object
  is drawn a second time in the same color with XORing still on, it will
  erase it.

  Filling can be done with either solid colors or patterns. The PAT_SETFIL()
  allows you to set enclosed objects to be filled to a predefined pattern.
  PAT_SETLIN() allows you to draw lines with a predefined pattern.

  The Current Active Point (CAP) is the last coordinate that was drawn.
  FLIPPER keeps track of that point automatically. This point can be
  retrieved and moved to a new location with CAP_MOVE().

  When drawing with various drawing functions, you can place the coordinates
  in a number of ways:

  Absolute coordinates coorespond to the screens physical coordinates where
  (0,0), the origin, is the screen's upper-left corner and the lower right
  corner is one less than the video modes resolution. A starting X,Y
  postion can be replaced with that FLP_CAP variable and the object will
  start drawing at the CAP.

  World coordinates provide a device-independent coordinate system to
  overlay the screen's absolute coordinates. With world coordinates you
  enter the X,Y locations with functions, ATX() and ATY(), that return the
  absolute coordinates and enter them into the drawing function.
  i.e. FPSET(ATX(10,0),ATY(10,0),1)

  Relative points are coordinates that move relative to the current active
  point or CAP. With relative points you can draw a series of objects and
  move them to any part of the screen by only changing the starting
  position. The FLP_STEP variable is used to move relative to the starting
  position and is placed just before the ending coordinates of FLINE() and
  FBOX().

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