9 Commits

Author SHA1 Message Date
Cosimo Lupo
e883885c3a
[pointPen] add ReverseContourPointPen from defcon
https://github.com/typesupply/defcon/issues/106
2017-04-25 10:50:21 +01:00
Cosimo Lupo
d952f9a74f
[pointPen] make PointToSegmentPen.addComponent accept/ignore **kwargs
The beginPath and addPoint methods of PointToSegmentPen already take
extra **kwargs (via BasePointToSegmentPen); only the addComponent method
does not.
This makes it raise TypeError when an unknown keyword argument is passed
(e.g. 'identifier' for UFO3 objects).
For the PointToSegmentPen, which translates between the PointPen and
the SegmentPen API, it is ok if we only use the arguments that have
an equivalent in the SegmentPen API, and silently discard the **kwargs.
2017-04-25 10:23:38 +01:00
Cosimo Lupo
869a8f6a45
[pointPen] add **kwargs to AbstractPointPen's beginPath and addCompoment too 2017-02-27 16:04:47 +00:00
Cosimo Lupo
6739bc8b9d
[pointPen] add identifier=None argument in AbstractPointPen.beginPath, addPoint and addComponent methods 2017-02-27 12:46:06 +00:00
Adrien Tétar
5d89437108 pointPen: add missing GuessSmoothPointPen 2016-01-17 10:46:39 +01:00
Adrien Tétar
c6132fdd35 pointPen: add pt count in assertions 2015-12-25 23:51:26 +01:00
Adrien Tétar
67414f21ff pointPen: add adapter pens
and annihilate remaining robofab dependency
2015-12-13 20:48:01 +01:00
Tal Leming
a43e586f8b Moved the adapter pen back to RoboFab.
git-svn-id: http://svn.robofab.com/branches/ufo3k@517 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-07 17:17:40 +00:00
Erik van Blokland
3620969c4f Move pointPen to ufoLib
git-svn-id: http://svn.robofab.com/branches/ufo3k@453 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-20 20:46:26 +00:00