Module Expr Str Import alias ImportFrom alias alias ImportFrom alias FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad NameLoad Index BinOpMod BinOpAdd NameLoad Num NameLoad Assign NameStore SubscriptLoad NameLoad Index BinOpMod BinOpSub BinOpAdd NameLoad NameLoad Num NameLoad Assign NameStore IfExp CompareEq AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore IfExp CompareEq AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr TupleLoad BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad If CompareNotEq NameLoad Num body Return BinOpMult NameLoad BinOpDiv Num NameLoad orelse Return Call NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr BinOpAdd BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Call NameLoad BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpSub Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return BinOpMod BinOpAdd NameLoad BinOpMult Num AttributeLoad NameLoad attr BinOpMult Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpSub AttributeLoad NameLoad attr Call NameLoad BinOpSub BinOpMod Call NameLoad BinOpSub NameLoad NameLoad BinOpMult AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Num body If BoolOpOr CompareLt Call NameLoad Call NameLoad NameLoad BinOpMult NameLoad Num CompareLt Call NameLoad Call NameLoad NameLoad BinOpMult NameLoad Num body Return Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return If CompareGt NameLoad NameLoad body Return Assign NameStore BinOpDiv NameLoad Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad Call NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad Call NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq NameLoad NameLoad body Return Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Num For NameStore AttributeLoad NameLoad attr body Assign NameStore ListLoad Assign NameStore NameLoad For NameStore NameLoad body AugAssignAdd NameStore Num Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq NameLoad NameLoad body Assign TupleStore NameStore NameStore NameLoad Assign NameStore BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Assign NameStore Call NameLoad Str ListLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call NameLoad NameLoad NameLoad decorator_list
N/A N/A Mitre Glyph: 

mitreSize : Length of the segment created by the mitre. The default is 4.
maxAngle :  Maximum angle in radians at which segments will be mitred. The default is .9 (about 50 degrees).
            Works for both inside and outside angles

 N/A math robofab.objects.objectsRF RPoint RSegment fontbuild.convertCurves replaceSegments getTangents N/A N/A contours N/A N/A N/A tmap N/A N/A c contours N/A N/A clen N/A len c N/A i N/A range clen N/A N/A s N/A c N/A i N/A p N/A N/A s points N/A -1 N/A ns N/A c N/A N/A N/A i 1 clen N/A ps N/A c N/A N/A N/A N/A clen i 1 clen N/A np N/A N/A N/A ns type curve N/A N/A ns points N/A 1 N/A N/A ns points N/A -1 N/A pp N/A N/A N/A s type curve N/A N/A s points N/A 2 N/A N/A ps points N/A -1 N/A N/A N/A tmap append N/A N/A pp p N/A np p N/A tmap N/A normalizeVector N/A N/A p N/A N/A N/A m N/A getMagnitude p N/A N/A m 0 N/A N/A N/A p N/A 1 m N/A N/A N/A RPoint 0 0 N/A getMagnitude N/A N/A p N/A N/A N/A N/A N/A math sqrt N/A N/A N/A p x N/A p x N/A N/A p y N/A p y N/A getDistance N/A N/A v1 v2 N/A N/A N/A N/A getMagnitude N/A RPoint N/A N/A v1 x N/A v2 x N/A N/A v1 y N/A v2 y N/A getAngle N/A N/A v1 v2 N/A N/A N/A angle N/A N/A N/A math atan2 N/A v1 y N/A v1 x N/A N/A math atan2 N/A v2 y N/A v2 x N/A N/A N/A angle N/A 2 N/A math pi N/A 2 N/A math pi N/A angleDiff N/A N/A a b N/A N/A N/A N/A N/A math pi N/A abs N/A N/A N/A abs N/A a b N/A N/A math pi 2 N/A math pi N/A getAngle2 N/A N/A v1 v2 N/A N/A N/A N/A abs N/A angleDiff N/A N/A math atan2 N/A v1 y N/A v1 x N/A N/A math atan2 N/A v2 y N/A v2 x N/A getMitreOffset N/A N/A n v1 v2 mitreSize maxAngle N/A 4 0.9 N/A N/A N/A N/A N/A abs N/A getMagnitude v1 N/A mitreSize 2 N/A N/A abs N/A getMagnitude v2 N/A mitreSize 2 N/A N/A N/A angle N/A getAngle2 v2 v1 N/A v1 N/A normalizeVector v1 N/A v2 N/A normalizeVector v2 N/A N/A N/A N/A v1 x N/A v2 x N/A N/A v1 y N/A v2 y N/A N/A N/A N/A angle maxAngle N/A N/A N/A radius N/A mitreSize N/A abs N/A getDistance v1 v2 N/A offset1 N/A RPoint N/A round N/A N/A v1 x radius N/A round N/A N/A v1 y radius N/A offset2 N/A RPoint N/A round N/A N/A v2 x radius N/A round N/A N/A v2 y radius N/A N/A offset1 offset2 N/A mitreGlyph N/A N/A g mitreSize maxAngle N/A N/A N/A N/A g None N/A N/A N/A tangents N/A getTangents N/A g contours N/A sid -1 N/A c N/A g contours N/A N/A segments N/A N/A needsMitring False N/A s c N/A N/A sid 1 N/A N/A v1 v2 N/A tangents N/A sid N/A off N/A getMitreOffset s v1 v2 mitreSize maxAngle N/A s1 N/A N/A s copy N/A N/A off None N/A N/A N/A offset1 offset2 off N/A p2 N/A N/A N/A s points N/A -1 offset2 N/A s2 N/A RSegment line N/A N/A N/A p2 x N/A p2 y N/A N/A N/A s1 points N/A 0 offset1 N/A N/A N/A segments append s1 N/A N/A N/A segments append s2 N/A needsMitring True N/A N/A N/A N/A segments append s1 N/A needsMitring N/A N/A N/A replaceSegments c segments N/A