365 Commits

Author SHA1 Message Date
jvr
05e2541b49 Fixed subtle bug in curve intersection logic: due to floating point errors,
sometimes a legitimate solution is ever so slightly over 1.0. Those used to
be filtered out; now checking for 1.0 + 1e-10.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@460 4cde692c-a291-49d1-8350-778aa11640f8
2003-10-14 20:30:07 +00:00
jvr
0b0fec3b08 debogofied doc string, added another one
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@453 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-16 10:14:48 +00:00
jvr
cc580ac0f8 Added Pen for reportlab.graphics.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@451 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-15 12:26:10 +00:00
jvr
fbff58cd78 Correctly deal with the TT-no-on-curve special case.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@449 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-09 23:29:45 +00:00
jvr
23cb200532 Factored out the SuperBezier and TT-implied-point algorithms, as the
may be useful separately from pens.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@448 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-07 09:41:28 +00:00
jvr
40cde70f16 - added endPath() method to the Pen protocol, as a counterpart for
closePath() for *open* sub paths. This allows pen implementations
  to reliably detect the end of a sub path.
- improved various doc strings.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@447 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-06 16:00:03 +00:00
jvr
49b5521f2e ensure that the current point is always set correctly
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@446 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-05 14:18:26 +00:00
jvr
934fe5fb8f - added support for quadratic contours that have NO on-curve points.
- more doco and comments.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@438 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-28 19:30:46 +00:00
jvr
53d7523c1c more doco and comments
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@437 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-28 19:03:29 +00:00
jvr
4162de350e Is the point inside or outside the outline?
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@432 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-28 08:51:45 +00:00
jvr
e028b38340 new Cocoa=specific drawing pen
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@429 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-26 18:20:27 +00:00
jvr
382102645a small tweak
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@415 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-24 17:23:34 +00:00
jvr
2bb6cd3506 ugh, lineTo != moveTo...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@412 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-24 09:48:49 +00:00
jvr
82ef2a52c9 wrapped some long lines
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@411 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-23 20:24:42 +00:00
jvr
b369ef33fc Pen stuff, see http://just.letterror.com/cgi-bin/wypy?PenProtocol
Only lightly tested, component support is not tested at all.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@410 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-23 20:19:33 +00:00