| Home
| Previous
| Next
| Up

UpdateScreen

Update the screen from the shadow buffer for the specified rectangle

Declaration

void NAPI GA_2DRenderFuncs::UpdateScreen(
N_int32 left,
N_int32 top,
N_int32 width,
N_int32 height)

Prototype In

snap/graphics.h

Parameters

left | Left coordinate of screen to update
top | Top coordinate of screen to update
width | Width of the rectangle in pixels
height | Height of the rectangle in scanlines

Description

This function is used to update the screen from a shadow buffer if the application or shell driver did any custom drawing to the shadow buffer without using the SNAP driver functions. If the mode is using a shadow buffer (usually only for 4bpp modes and 8bpp banked modes) this function will be implemented and must be used, otherwise the function will be NULL.

This fuction may also be used by rotation, flipped and other geometry changing filter drivers to ensure that any custom drawing is properly managed on the hardware framebuffer.

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