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

bkchem::plugins::piddle::piddleAI::AICanvas Class Reference

Inheritance diagram for bkchem::plugins::piddle::piddleAI::AICanvas:

bkchem::plugins::piddle::piddle::Canvas

List of all members.


Detailed Description

This works by accumulating a list of strings containing 
AI page marking operators, as you call its methods.  We could
use a big string but this is more efficient - only concatenate
it once, with control over line ends.  When
done, it hands off the stream to a AIPage object.

Definition at line 29 of file piddleAI.py.


Public Member Functions

def __init__
def arcPoints
def bezierArc
def canUpdate
def clear
def curvePoints
def drawArc
def drawArc
def drawCurve
def drawEllipse
def drawFigure
def drawImage
def drawLine
def drawLines
def drawMultiLineString
def drawPolygon
def drawRect
def drawRect
def drawRoundRect
def drawString
def drawString
def flush
def fontAscent
def fontDescent
def fontHeight
def isInteractive
def save
def setAuthor
def setBoundingBox
def setInfoLine
def setPageSize
def setTitle
def showPage
def stringWidth

Public Attributes

 boundbox
 code
 currentPageHasImages
 defaultFillColor
 defaultFont
 defaultLineColor
 defaultLineWidth
 doc
 linecap
 linejoin
 maxline
 maxx
 maxy
 minx
 miny
 mitre
 name
 onClick
 onKey
 onOver
 pageNumber
 winding
 winOrder

Private Member Functions

def _bounds
def _updateFillColor
def _updateLineColor
def _updateLineWidth

Private Attributes

 _colorNames
 _currentFillColor
 _currentFont
 _currentLineColor
 _currentTextColor
 _currentWidth

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

Generated by  Doxygen 1.6.0   Back to index