Name
EndSelect -- select display as output device (V1.5)
Synopsis
EndSelect()
Function
This function cancels the offscreen-rendering mode by selecting the display as the output device again. All commands which output graphics will now render directly to the display again.

Note that EndSelect() cannot be used with SelectDisplay().

Please note that the SelectXXX()/EndSelect() calls do not nest, i.e. EndSelect() will always select the display as the output device, even if it was not the output device when SelectXXX() was called.

 
SelectBrush(1)
Box(0, 0, 100, 100, #RED)   ; draw box on brush #1
SelectBrush(2)
Box(0, 0, 100, 100, #GREEN) ; draw box on brush #2
EndSelect                   ; selects display (not brush #1 !!!)
EndSelect                   ; Error! Display already selected!

Inputs
none

Example
See SelectBGPic
See SelectBrush
See SelectAnim
See SelectLayer


Show TOC