1DTK_MAKE_CURRENT_WINDOW(3) Draw Toolkit manual DTK_MAKE_CURRENT_WINDOW(3)
2
3
4
6 dtk_make_current_window - Make a window the target of the next draws
7
9 #include <drawtk.h>
10
11 void dtk_make_current_window(dtk_hwnd wnd);
12
14 dtk_make_current_window() makes the window referenced by wnd as the
15 target of the next drawings. If wnd is NULL then the function unbind
16 the current window for next drawings.
17
18 For a sucessfull call to dtk_draw_shape(), a window should be current.
19
20 The creation of the window does not make it current.
21
23 None.
24
26 dtk_create_window(3), dtk_draw_shape(3)
27
28
29
30
31EPFL 2010 DTK_MAKE_CURRENT_WINDOW(3)