debian man page for dtk_update_screen

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)

NAME
dtk_update_screen, dtk_clear_screen, dtk_bgcolor - screen buffer manipulation
SYNOPSIS
#include <drawtk.h> void dtk_update_screen(dtk_hwnd wnd); void dtk_clear_screen(dtk_hwnd wnd); void dtk_bgcolor(float *bgcolor);
DESCRIPTION
dtk_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 VALUE
These functions return no value.
SEE ALSO
EPFL
2010 DTK_UPDATE_SCREEN(3)
Related Man Pages
gldrawbuffer(3g) - mojave
xdbeswapbuffers(3) - debian
dtk_create_window(3) - debian
dtk_process_events(3) - debian
xdbeswapbuffers(3) - centos
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
One instance of comparing grep and awk
Find columns in a file based on header and print to new file
New UNIX and Linux History Sections