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

bkchem::plugins::piddle::piddleFIG::FIGCanvas Class Reference

Inheritance diagram for bkchem::plugins::piddle::piddleFIG::FIGCanvas:

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

List of all members.


Detailed Description

Fig version 3.2 format canvas.

This canvas is meant for generating Fig 3.2 format files (.fig), used for
editing in the free xfig vector graphics program for X windows.

Definition at line 71 of file piddleFIG.py.


Public Member Functions

def __init__
def arcPoints
def canUpdate
def clear
def curvePoints
def drawArc
def drawCurve
def drawEllipse
def drawFigure
def drawImage
def drawLine
def drawLines
def drawMultiLineString
def drawPolygon
def drawRect
def drawRoundRect
def drawString
def flush
def fontAscent
def fontDescent
def fontHeight
def isInteractive
def setInfoLine
def stringWidth

Public Attributes

 defaultFillColor
 defaultFont
 defaultLineColor
 defaultLineWidth
 name
 onClick
 onKey
 onOver

Static Public Attributes

string A = "A"
string A0 = "A0"
string A1 = "A1"
string A2 = "A2"
string A3 = "A3"
string A4 = "A4"
int Arc = 1
int ArcBox = 4
int AvantGardeBook = 4
int AvantGardeBookOblique = 5
int AvantGardeDemi = 6
int AvantGardeDemiOblique = 7
string B = "B"
string B5 = "B5"
int BackgroundTransp = 1
int Bevel = 1
int Bold = 2
int BookmanDemi = 10
int BookmanDemiItalic = 11
int BookmanLight = 8
int BookmanLightItalic = 9
int BoundingBox = 5
int Box = 2
int Butt = 0
string C = "C"
int Center = 1
string CenterJust = "Center"
int Closed_indented_butt = 2
int Closed_pointed_butt = 3
int Closed_triangle = 1
int Color = 0
string color_fmt = "0 %d #%.2x%.2x%.2x"
int Compound = 6
string coord_fmt = "%d %d"
int Courier = 12
int CourierBold = 14
int CourierBoldOblique = 15
int CourierOblique = 13
string D = "D"
int Dash_dotted = 3
int Dash_double_dotted = 4
int Dash_triple_dotted = 5
int Dashed = 1
int DefaultFont = 0
int DefaultLineStyle = 1
int Dotted = 2
string E = "E"
int Ellipse = 2
int Filled = 1
string FlushLeftJust = "Flush Left"
 header_fmt = \
int Helvetica = 16
int HelveticaBold = 18
int HelveticaBoldOblique = 19
int HelveticaNarrow = 20
int HelveticaNarrowBold = 22
int HelveticaNarrowBoldOblique = 23
int HelveticaNarrowOblique = 21
int HelveticaOblique = 17
int Hidden = 8
int Hollow = 0
string Imperial = "Inches"
int Italic = 3
string Landscape = "Landscape"
string Ledger = "Ledger"
int Left = 0
string Legal = "Legal"
string Letter = "Letter"
string Metric = "Metric"
int Miter = 0
int Monospaced = 5
string MultiplePage = "Multiple"
int NewCenturySchoolbookBold = 26
int NewCenturySchoolbookBoldItalic = 27
int NewCenturySchoolbookItalic = 25
int NewCenturySchoolbookRoman = 24
int NoTransp = 2
int PalatinoBold = 30
int PalatinoBoldItalic = 31
int PalatinoItalic = 29
int PalatinoRoman = 28
tuple poly_fmt
int Polygon = 3
int PolyLine = 1
int Polyline = 3
string Portrait = "Portrait"
int Postscript = 4
int Projecting = 2
int Right = 2
int Rigid = 1
int Roman = 1
int Round = 2
int SansSerif = 4
string SinglePage = "Single"
int Solid = 0
int Special = 2
int Spline = 4
int Stick = 0
int Symbol = 32
string Tabloid = "Tabloid"
int Text = 5
tuple text_fmt
int TimesBold = 2
int TimesBoldItalic = 3
int TimesItalic = 1
int TimesRoman = 0
int ZapfChanceryMediumItalic = 33
int ZapfDingbats = 34

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

Generated by  Doxygen 1.6.0   Back to index