[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo-commit
Subject:    [cairo-commit] rcairo/src/lib/cairo/context path.rb,1.4,1.5
From:       Kouhei Sutou <commit () pdx ! freedesktop ! org>
Date:       2007-05-29 6:56:57
Message-ID: 20070529065657.A58C49E7AE () gabe ! freedesktop ! org
[Download RAW message or body]

Committed by: kou

Update of /cvs/cairo/rcairo/src/lib/cairo/context
In directory kemper:/tmp/cvs-serv8153/src/lib/cairo/context

Modified Files:
	path.rb 
Log Message:
* src/lib/cairo/context/path.rb: fixed typos.
  Thanks to NANKI Haruo!!!
* README: added an entry for NANKI Haruo.


Index: path.rb
===================================================================
RCS file: /cvs/cairo/rcairo/src/lib/cairo/context/path.rb,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- path.rb	6 May 2007 10:10:50 -0000	1.4
+++ path.rb	29 May 2007 06:56:45 -0000	1.5
@@ -79,7 +79,7 @@
                   3 * cy1       * (    2 * ratio - 3 * ratio * ratio) +
                   3 * cy2       *      ratio  * ratio
 
-            ratio = y / Math.sqrt(dx ** 2, dy ** 2)
+            ratio = y / Math.sqrt(dx ** 2 + dy ** 2)
 
             [new_x + -dy * ratio, new_y + dx * ratio]
           when PATH_CLOSE_PATH

_______________________________________________
cairo-commit mailing list
cairo-commit@cairographics.org
http://cairographics.org/cgi-bin/mailman/listinfo/cairo-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic