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

  The library has several functions for creating and manipulating viewports,
  rectangular sub-sections of the video screen. You can specify up to 15
  viewports, and each viewport can have its own scaling, origin and direction
  of axes which is set with SET_WORLD().

  You are always working inside a viewport. The full screen is called the
  base or root viewport and is viewport 0. The viewport you are working in
  is called the current viewport. The root viewport is where the graphs should
  be plotted since the scaling is based on the full screen with no SET_WORLD()
  set. If you set the SET_WORLD() on the root viewport, then the graphs will
  not plot correctly.

  All coordinates are relative to the current viewport's origin, and objects
  extending beyond that viewport's border are automatically clipped.

  Using VIEW_SWAP() to specify a viewport causes all screen I/O to be directed
  to that viewport. The underlying image can be saved to RAM memory or
  buffered to a file with VW_FLOPEN().

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