InvalidateRectangle Function

Microchip Graphics Library

Microchip Graphics Library
InvalidateRectangle Function
C
void InvalidateRectangle(
    WORD left, 
    WORD top, 
    WORD right, 
    WORD bottom
);
Overview

Invalidates the specified rectangular area. This increments the number of invalidated areas and if the number of invalidated areas exceed the GFX_MAX_INVALIDATE_AREAS, the whole frame buffer is invalidated.

Input Parameters
Input Parameters 
Description 
WORD left 
left position 
WORD top 
top position 
WORD right 
right position 
WORD bottom 
bottom position 
Returns

None

Preconditions

None

Side Effects

Copies back the invalidated areas only to the draw buffer after the exchange of draw and frame buffers.

Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved