Commit 0b40c3712476296ab71523d49e216021325e60fb

sammy 2008-06-09T10:12:21

* Better FTContour::ComputeOutsetPoint() documentation.

diff --git a/src/FTContour.cpp b/src/FTContour.cpp
index 18d1570..59c276c 100644
--- a/src/FTContour.cpp
+++ b/src/FTContour.cpp
@@ -96,8 +96,18 @@ void FTContour::evaluateCubicCurve(FTPoint A, FTPoint B, FTPoint C, FTPoint D)
 
 // This function is a bit tricky. Given a path ABC, it returns the
 // coordinates of the outset point facing B on the left at a distance
-// of 64.0. Ask Sam for details, even ASCII art cannot possibly explain
-// this properly.
+// of 64.0.
+//                                         M
+//                            - - - - - - X
+//                             ^         / '
+//                             | 64.0   /   '
+//  X---->-----X     ==>    X--v-------X     '
+// A          B \          A          B \   .>'
+//               \                       \<'  64.0
+//                \                       \
+//                 \                       \
+//                C X                     C X
+//
 FTPoint FTContour::ComputeOutsetPoint(FTPoint A, FTPoint B, FTPoint C)
 {
     /* Build the rotation matrix from 'ba' vector */