Lightweight Graphics

GDispEnd

Show the collected pixel drawing

Syntax

Signature
void GDispEnd( void );

Arguments

None.

Return value

No return value.

Description

Ends the GDispBegin() started last. When the outermost GDispBegin() ends, the window shows everything drawn since it.

Example

gdispend.c
#include "xdev-wtui.h"

int main( void )
{
   GDispBegin();
   GRect( 20, 20, 120, 220, GMakeColor( 255, 255, 255 ), F );
   GLine( 20, 20, 120, 220, GMakeColor( 255, 0, 0 ) );
   GDispEnd();

   Inkey( 0, NIL );

   return 0;
}

See also