TOC PREV NEXT INDEX

GDview_call_func

Synopsis

refresh a view


void GDview_call_func
(GDview *view, "view_refresh", 0)

Description

GDview_call_func is a general-purpose routine for calling any of the view's renderer specific functions.

The format shown above invokes the current renderer's (Software, OpenGL, etc.) refresh routine.

You typically call this routine when the view is in double-buffer mode and you want to draw directly to the front (window) buffer. You first call GDview_call_func to refresh the view, then change the view's drawable state to 0, and then perform the drawing.


TOC PREV NEXT INDEX