ClearDevice Function

Microchip Graphics Library

Microchip Graphics Library
ClearDevice Function
C
void ClearDevice();
Overview

This function clears the screen with the current color and sets the graphic cursor position to (0, 0). Clipping is NOT supported by ClearDevice().

Returns

none

Side Effects

none

Example
void ClearScreen(void)
{
    SetColor(WHITE);        // set color to WHITE
    ClearDevice();          // set screen to all WHITE
}
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved