User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:graphics.h:swapbuffers

swapbuffers

Syntax of swapbuffers

#include "graphics.h"
void swapbuffers( );
 

Description of swapbuffers

<code c> The swapbuffers function is available in the winbgim implementation of BGI graphics. You do not need to include conio.h; just include graphics.h. The function swaps the roles of the current active and the current visual graphics buffers. It is equivalent to these statements:

  int oldv = getvisualpage( );
  int olda = getactivepage( );
  setvisualpage(olda);
  setactivepage(oldv);
See also

getactivepage getvisualpage initwindow setactivepage setvisualpage

See also

output of swapbuffers example

  no output of example at the moment
  do not hesitate and add it...  
advertising
c/graphics.h/swapbuffers.txt · Last modified: 2015/05/06 23:06 (external edit)

Impressum Datenschutz