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>hp_units()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
HP_UNITS()
   Sets the units used to plot from the screen.

   Syntax
         HP_UNITS(aPlotUnits[8])

   Arguments
         aPlotUnits[1]  Horizontal scaling size.
                   [2]  Vertical scaling size.
                   [3]  Left position P1.
                   [4]  Lower position P1.
                   [5]  Right postion P2.
                   [6]  Upper position P2.
                   [7]  Plotter horizontal origin.
                   [8]  Plotter vertical origin.

   Returns
         Each of the eight above values are returned to the array after
         the values are set.

   Description
         HP_UNITS() sets up the units used to plot from the screen to the
         plotter as the size of a VGA screen (640 X 480) so the plots will
         look similar to the screen. If you want more precision on the
         plotter, those values can be increased.

         P1 and P2 are set so that the image will appear square when output
         to the vector device. The origin can offset the image. When using
         a D size plotter, the coordinates must be negative. The origin can
         be moved into the negative area to take advantage of these larger
         plotters.

See Also: HP_ROTATE()

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