phystricks
Public Member Functions | Public Attributes | List of all members
phystricks.src.MatrixGraph.MatrixElement Class Reference
Inheritance diagram for phystricks.src.MatrixGraph.MatrixElement:
Inheritance graph
[legend]
Collaboration diagram for phystricks.src.MatrixGraph.MatrixElement:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, text="", line=None, column=None, matrix=None)
 
def getColumn (self)
 
def getLine (self)
 
def getTextSize (self, pspict)
 
def getTextHeight (self, pspict)
 
def getTextWidth (self, pspict)
 
def getTextBox (self, pspict)
 
def getFirstBox (self, pspict)
 
def getSecondBox (self, pspict)
 

Public Attributes

 text
 
 line
 
 column
 
 matrix
 
 central_point
 

Detailed Description

A matrix element has three boxes.
- text box : the bounding box of the text itself
- first box : slightly larger box than the text box. If you want to draw a square around a part of the matrix, you should use this one
- second box : slightly larger that the first one. The limit of the second box of one element is the same as the limit of the second box of the next element.

Constructor & Destructor Documentation

def phystricks.src.MatrixGraph.MatrixElement.__init__ (   self,
  text = "",
  line = None,
  column = None,
  matrix = None 
)

Member Function Documentation

def phystricks.src.MatrixGraph.MatrixElement.getColumn (   self)
def phystricks.src.MatrixGraph.MatrixElement.getFirstBox (   self,
  pspict 
)
def phystricks.src.MatrixGraph.MatrixElement.getLine (   self)
def phystricks.src.MatrixGraph.MatrixElement.getSecondBox (   self,
  pspict 
)
def phystricks.src.MatrixGraph.MatrixElement.getTextBox (   self,
  pspict 
)
def phystricks.src.MatrixGraph.MatrixElement.getTextHeight (   self,
  pspict 
)
def phystricks.src.MatrixGraph.MatrixElement.getTextSize (   self,
  pspict 
)
def phystricks.src.MatrixGraph.MatrixElement.getTextWidth (   self,
  pspict 
)

Member Data Documentation

phystricks.src.MatrixGraph.MatrixElement.central_point
phystricks.src.MatrixGraph.MatrixElement.column
phystricks.src.MatrixGraph.MatrixElement.line
phystricks.src.MatrixGraph.MatrixElement.matrix
phystricks.src.MatrixGraph.MatrixElement.text

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