Logo Search packages:      
Sourcecode: mascyma version File versions  Download package

matplotlib::backends::backend_wx::GraphicsContextWx Class Reference

List of all members.

Detailed Description

The graphics context provides the color, line styles, etc...

In wxPython this is done by wrapping a wxDC object and forwarding the
appropriate calls to it. Notice also that colour and line styles are
mapped on the wxPen() member of the wxDC. This means that we have some
rudimentary pen management here.

The base GraphicsContext stores colors as a RGB tuple on the unit
interval, eg, (0.5, 0.0, 1.0).  wxPython uses an int interval, but
since wxPython colour management is rather simple, I have not chosen
to implement a separate colour manager class.

Definition at line 355 of file backend_wx.py.

Public Member Functions

def __init__
def get_wxcolour
def set_capstyle
def set_clip_rectangle
def set_foreground
def set_graylevel
def set_joinstyle
def set_linestyle
def set_linewidth

Public Attributes


Private Attributes


Static Private Attributes

dictionary _capd
dictionary _dashd
dictionary _joind
 _lastWxDC = None

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index