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_rotate()</b> c_exam7c http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
HP_ROTATE()                                                        C_EXAM7C
   Changes the orientation of the HPGL output device.

   Syntax
         nOrientation = HP_ROTATE([nOrientation])

   Arguments
         OPTIONAL PARAMETERS
         nOrientation Sets the orientation of the HPGL output device.
                      0 - no rotation (default)
                      90 - rotated 90 degrees

                 +-----------------------------------------+
                 |    DEVICE UNITS      |Portrait|Landscape|
                 -----------------------+--------+---------|
                 |Horizontal resolution |   640  |    640  |
                 |Vertical resolution   |   480  |    480  |
                 |P1 horizontal position|   232  |    232  |
                 |P1 vertical position  |  4454  |    232  |
                 |P2 horizontal position|  7800  |  10160  |
                 |P2 vertical position  | 10130  |   7702  |
                 |Horizontal offset     |     0  |      0  |
                 |Vertical offset       |     0  |      0  |
                 +-----------------------------------------+

   Returns
         nOrientation Returns the current orientation.

   Description
         HP_ROTATE() changes the orientation of the HPGL output device.
         A 0 will change to the default condition, while a 90 will turn
         the image 90 degrees. When HP_ROTATE() is issued, the size of the
         graph on the page and the scaling are returned to their default
         states for that orientation.

See Also: HP_UNITS()

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