Query: dtk_draw_shape
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DTK_DRAW_SHAPE(3) Draw Toolkit manual DTK_DRAW_SHAPE(3)NAMEdtk_draw_shape - Draw a shape in the windowSYNOPSIS#include <drawtk.h> void dtk_draw_shape(const dtk_hshape shp);DESCRIPTIONdtk_draw_shape() draw the shape referenced by shp in the current window. The position of the drawing depends on the rotation and transla- tion previously set by dtk_*move_shape() and dtk_*rotate_shape() (the rotation is first applied to the shape and then the translation). This function assumes there is a valid OpenGL rendering context in the calling thread. So a successfull call to dtk_make_current_window() should have been performed previously in the current thread.RETURN VALUENone.SEE ALSOdtk_move_shape(3), dtk_make_current_window(3)EPFL2010 DTK_DRAW_SHAPE(3)