SetDisplayStartXY

Sets the currently visible display start address as an (x,y) coordinate.

Declaration

void NAPI GA_driverFuncs::SetDisplayStartXY(
    N_int32 x,
    N_int32 y,
    N_int32 waitVRT)

Prototype In

snap/graphics.h

Parameters

x

X coordinate of first pixel to display

y

Y coordinate of first pixel to display

waitVRT

Wait for retrace flag

 

Description

This function sets the currently visible hardware display start address as an (x,y) coordinate offset from the start of physical display memory. This is similar to SetDisplayStart, however the driver does the conversion from an (x,y) coordinate to the display memory offset for you. The waitVRT flag determines if the function will wait for the vertical retrace when programming the hardware display start address and the following are valid values:

value

Description

0

Schedule change for next retrace and return immediately not 0   - Wait for vertical retrace during programming

See Also

SetDisplayStart, SetStereoDisplayStart, GetDisplayStartStatus, SetActiveBuffer, FlipToBuffer

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com