GET BACKBUFFER PITCH This command will return the pitch of the backbuffer.
Syntax
    Return Integer=GET BACKBUFFER PITCH()
Returns
The pitch of the backbuffer
Description
You can pass this data to a DLL to assist in the direct access of backbuffer memory. The pitch is similar to the width of the backbuffer, and may be larger should the backbuffer use a cache at the end of each horizontal line. You can only use this command when you have used the LOCK BACKBUFFER command.
Example Code
    cls

    set display mode 800,600,32

    wait 1000*8

    print "backbuffer pitch "+str$(get backbuffer pitch())

    do

    loop

    end
See also
DISPLAY Commands Menu Index