on.paint

From Inspired-Lua Wiki
Revision as of 19:34, 31 May 2011 by Adriweb (talk | contribs) (Text replace - ".invalidate" to ":invalidate")
Jump to navigation Jump to search

The function on.paint(gc) is called when the script's window needs to be painted.
'gc' is the Graphics Context, passed by default to the function.

This function can be fired by the platform.window:invalidate function.