Query: dtk_update_screen
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DTK_UPDATE_SCREEN(3) Draw Toolkit manual DTK_UPDATE_SCREEN(3)NAMEdtk_update_screen, dtk_clear_screen, dtk_bgcolor - screen buffer manipulationSYNOPSIS#include <drawtk.h> void dtk_update_screen(dtk_hwnd wnd); void dtk_clear_screen(dtk_hwnd wnd); void dtk_bgcolor(float *bgcolor);DESCRIPTIONdtk_bgcolor() set bgcolor as the background color of the current rendering context. bgcolor should point to an array of 4 float correspond- ing to an normalized RGBA value. If unspecified, the background color is black. dtk_clear_screen() fills the frame buffer with the background color of the window wnd. dtk_update_screen() swaps the front and back frame buffers of the window wnd. Rendering is performed through double buffering, i.e. the draws are rendered on the back buffer which will be displayed on screen when a call to dtk_update_screen() will be performed. After an update, the content of the back buffer is undefined. So if the rendered scene does not rewrite the whole frame buffer, it is safer to call dtk_clear_screen() after an update of the screen.RETURN VALUEThese functions return no value.SEE ALSOEPFL2010 DTK_UPDATE_SCREEN(3)
Related Man Pages |
---|
xdbeswapbuffers(3) - debian |
dtk_process_events(3) - debian |
dtk_set_event_handler(3) - debian |
xdbeswapbuffers(3) - centos |
gldrawbuffer(3g) - suse |
Similar Topics in the Unix Linux Community |
---|
awk or sed - Convert 2 lines to 1 line |
A (ksh) Library For and From UNIX.com |
New UNIX and Linux History Sections |
My first PERL incarnation... Audio Oscillograph |