View

OpenTuring

View

Description   This unit contains the predefined subprograms that deal with the current output surface, which is a window.

All routines in the View unit are exported qualified (and thus must be prefaced with "View.") with the exception of maxx, maxy, maxcolor and maxcolour which are exported unqualified.

Entry Points  
maxx Returns the maximum x coordinate (width 1) (exported unqualified).
maxy Returns the maximum y coordinate (height 1) (exported unqualified).
maxcolor Returns the maximum color number (# colors 1) (exported unqualified).
maxcolour Returns the maximum color number (# colors 1) (exported unqualified).
Set Changes the configuration of the output surface.
ClipSet Clips output to a specified rectangle.
ClipAdd Adds another specified rectangle to the clipping region.
ClipAddOval Adds another specified oval to the clipping region.
ClipOff Stops all clipping.
WhatDotColor  Gets the color of the pixel at a specified location.
WhatDotColour Gets the color of the pixel at a specified location.
Update Updates the onscreen window from the offscreen bitmap.
UpdateArea Updates part of the onscreen window from the offscreen bitmap.
SetTransparentColor Sets the transparent color to be ignored when using picUnderMerge mode.
SetTransparentColour Sets the transparent colour to be ignored when using picUnderMerge mode.