Beispiel #1
0
 def __init__(self, pen, localSubrs, globalSubrs, nominalWidthX,
              defaultWidthX):
     T2OutlineExtractor.__init__(self, pen, localSubrs, globalSubrs,
                                 nominalWidthX, defaultWidthX)
     self.hintTable = []
     self.vhints = []
     self.hhints = []
Beispiel #2
0
 def __init__(self, pen, localSubrs, globalSubrs, nominalWidthX,
              defaultWidthX):
     T2OutlineExtractor.__init__(self, pen, localSubrs, globalSubrs,
                                 nominalWidthX, defaultWidthX)
     self.hintTable = []
     self.vhints = []
     self.hhints = []
Beispiel #3
0
	def __init__(self, localSubrs, globalSubrs, nominalWidthX, defaultWidthX, removeHints = 0):
		T2OutlineExtractor.__init__(self, None, localSubrs, globalSubrs, nominalWidthX, defaultWidthX)
		self.vhints = []
		self.hhints = []
		self.bezProgram = []
		self.removeHints = removeHints
		self.firstMarkingOpSeen = 0
		self.closePathSeen = 0
		self.subrLevel = 0
Beispiel #4
0
 def __init__(self,
              localSubrs,
              globalSubrs,
              nominalWidthX,
              defaultWidthX,
              read_hints=True,
              round_coords=True):
     T2OutlineExtractor.__init__(self, None, localSubrs, globalSubrs,
                                 nominalWidthX, defaultWidthX)
     self.vhints = []
     self.hhints = []
     self.bezProgram = []
     self.read_hints = read_hints
     self.firstMarkingOpSeen = False
     self.closePathSeen = False
     self.subrLevel = 0
     self.round_coords = round_coords
     self.hintMaskBytes = None
Beispiel #5
0
 def __init__(self,
              localSubrs,
              globalSubrs,
              nominalWidthX,
              defaultWidthX,
              removeHints=False,
              allowDecimals=False):
     T2OutlineExtractor.__init__(self, None, localSubrs, globalSubrs,
                                 nominalWidthX, defaultWidthX)
     self.vhints = []
     self.hhints = []
     self.bezProgram = []
     self.removeHints = removeHints
     self.firstMarkingOpSeen = False
     self.closePathSeen = False
     self.subrLevel = 0
     self.allowDecimals = allowDecimals
     self.hintMaskBytes = None