[<<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 accesses 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
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson