robofab.interface.mac.markerPen
index
/code/projects/robofab/Lib/robofab/interface/mac/markerPen.py

 
Classes
       
robofab.pens.pointPen.AbstractPointPen
MarkerPointsPen

 
class MarkerPointsPen(robofab.pens.pointPen.AbstractPointPen)
    A pen for drawing markers in Quartz context. Hurray for PointPens
 
  Methods defined here:
__init__(self, ctx, glyphSet, flags, ignoreSmoothAndName=False)
addComponent(self, baseGlyphName, transformation)
addPoint(self, pt, segmentType=None, smooth=False, name=None, **kwargs)
beginPath(self)
endPath(self)

 
Functions
       
markerBox(pt, ctx, color, size)
Draw a square marker
markerCircle(pt, ctx, color, size, lineWidth=2)
Draw a circle around a marker
markerCross(pt, ctx, color, size)
Draw a (+) shaped marker
markerDot(pt, ctx, color, size)
Draw a round marker
markerLine(pt1, pt2, ctx, color, size)
Draw a circle around a marker