Changes

Jump to navigation Jump to search

Category:gc

451 bytes added, 15:03, 10 June 2012
no edit summary
Line 1: Line 1:  
== Quick Overview==
 
== Quick Overview==
 +
 +
'''gc''' is the Nspire's ''graphic context''. A graphics context is a module that has a handle to the script’s graphics output window and a library of graphics routines that are used to draw on the window. A graphics context is supplied to the script ”on.paint” event handler each time the window needs to be redrawn. The graphics context employs a pixel-based coordinate system with the origin in the upper left corner of the drawing window.
 +
 
*'''[[gc:clipRect]]'''(op, x, y, width, height) - Sets the clipping rectangle for subsequent graphics operations.
 
*'''[[gc:clipRect]]'''(op, x, y, width, height) - Sets the clipping rectangle for subsequent graphics operations.
 
*'''[[gc:drawArc]]'''(x, y, width, height, start angle, finish angle).
 
*'''[[gc:drawArc]]'''(x, y, width, height, start angle, finish angle).

Navigation menu