API Reference for Enthought Tool Suite 3.0.1

Fields

state
Current state of graphics context.
state_stack
Stack used to save graphics states
path
The drawing path.
active_subpath
The active drawing subpath

I think this class needs to be sub-classed by every device type that handles graphics. This is so that set_line_width() and similar functions can do things like setting up a new pen in wxPython, etc. This stuff could also be stored in the GraphicsState, and there are probably performance benefits for doing so. Maybe graphics state is the device dependent object?? Time will tell.

path and active_subpath will probably need to be optimized somehow.

Method summary

Methods

© Copyright 2002-2008 Enthought, Inc.