User Tools

Site Tools


c:graphics.h:swapbuffers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

c:graphics.h:swapbuffers [2024/02/16 01:05] (current)
Line 1: Line 1:
 +===== swapbuffers =====
 +
 +
 +====Syntax of swapbuffers ==== 
 + <code c>
 +#include "graphics.h"
 +void swapbuffers( );
 +  </code>
 +
 +
 +==== 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 ====
 +[[getactivepage]]
 +[[getvisualpage]]
 +[[initwindow]]
 +[[setactivepage]]
 +[[setvisualpage]]
 +
 +
 +
 +
 +===== output of swapbuffers example ===== 
 +
 +    no output of example at the moment
 +    do not hesitate and add it...  
 +
 +
  

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
c/graphics.h/swapbuffers.txt · Last modified: 2024/02/16 01:05 (external edit)

Impressum Datenschutz