Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>origin()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    Origin()

         Modifies the video origin in the CRT controller

    Syntax:

         Origin( nX, nY ) -> Nil

         nX : Coordinate X
         nY : Coordinate Y

    Description:

         It accedes to the CRT controller and fixes the relative position
         given as the start position of the video memory.
         For example, if we call to Origin( 5, 6 ) we are indicating that
         the new position in X is shifted 5 pixels and in Y is shifted 6
         pixels. With all this we will descend the image 6 lines and move
         it right 5 columns.
         These movements are extraordinarily fast.

    Return:

         Nothing.

    Example:

         gifShow256( "demo.gif" )
         For nInd := 0 To 200 Step 2
           Origin( 0, nInd )
         Next

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