SL_BeginWindowDraw


NAME
SL_BeginWindowDraw -- does what is necessary to initiate drawing in the window.

SYNOPSIS
success = SL_BeginWindowDraw(winhandle);
A0

SLFLAG SL_BeginWindowDraw(WINHANDLE);

FUNCTION
This routine prepares the system/window for drawing. If a user clipping
region has been defined, then it is installed into the window so that
all future drawing calls will be clipped to the region.

This call must be made before any drawing calls can be made, if not then the
drawing calls will be ignored. This includes the SL_Setxxx calls.

This call nests. For every call to SL_BeginWindowDraw a call to SL_EndWindowDraw
must be made.

INPUTS
winhandle - the handle of the window to start drawing into.

RESULTS
success - TRUE if the window was made drawable, FALSE if it could not be.
No drawing must take place until this routine has returned TRUE.
This routine will return FALSE for windows that are hidden or
collapsed.

SEE ALSO
SL_EndWindowDraw, SL_SetWindowClipFull, SL_ClearWindowClip, SL_OrWindowClip, SL_AndWindowClip, SL_XorWindowClip.

 

SL_BeginWindowDraw  Command Section By Type  url:SL_BeginWindowDraw
  created:2008-03-01 23:36:28   last updated:2008-03-01 23:36:28
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_BeginWindowDraw
There are no user contributed comments for this page.