[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'agraphics' (#aros)


Reinterpret RasInfo information in ViewPort to reflect the current Offset values.


Source position: agraphics.pas line 2152

procedure ScrollVPort(

  Vp: PViewPort





A pointer to a ViewPort structure that is currently be displayed.


After the programmer has adjusted the Offset values in the RasInfo structures of ViewPort, change the the copper lists to reflect the the Scroll positions. Changing the BitMap ptr in RasInfo and not changing the the Offsets will effect a double buffering affect.


AROS video drivers can perform a validation of offsets, and may refuse to scroll the screen too far (if they somehow can't provide the requested offset). In this case offset values in the ViewPort will be updated in order to reflect the real result of the operation.

Documentation generated on: 2017-01-10