## [PyX-checkins] pyx/manual graphics.tex,1.10,1.11

 [PyX-checkins] pyx/manual graphics.tex,1.10,1.11 From: Jörg Lehmann - 2006-02-26 19:13:16 Update of /cvsroot/pyx/pyx/manual In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19004/manual Modified Files: graphics.tex Log Message: make example less specific Index: graphics.tex =================================================================== RCS file: /cvsroot/pyx/pyx/manual/graphics.tex,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** graphics.tex 12 Jul 2005 19:50:08 -0000 1.10 --- graphics.tex 26 Feb 2006 19:13:07 -0000 1.11 *************** *** 232,237 **** from math import pi ! pt1 = path.circle(0, 0, 1).at(pi) ! pt2 = path.circle(0, 0, 1).at(3*pi/2) c.stroke(path.path(path.moveto(*pt1), path.lineto(*pt2))) --- 232,238 ---- from math import pi ! r = 2 ! pt1 = path.circle(0, 0, r).at(r*pi) ! pt2 = path.circle(0, 0, r).at(r*3*pi/2) c.stroke(path.path(path.moveto(*pt1), path.lineto(*pt2))) *************** *** 239,243 **** will draw a straight line from a point at angle $180$ degrees (in radians $\pi$) to another point at angle $270$ degrees (in radians ! $3\pi/2$) on the unit circle. Note however, that the mapping arc length $\to$ point is in general discontinuous at the begin and the end of a subpath, and thus \PyX{} does not guarantee any particular --- 240,244 ---- will draw a straight line from a point at angle $180$ degrees (in radians $\pi$) to another point at angle $270$ degrees (in radians ! $3\pi/2$) on a circle with radius $r=2$. Note however, that the mapping arc length $\to$ point is in general discontinuous at the begin and the end of a subpath, and thus \PyX{} does not guarantee any particular *************** *** 387,389 **** ! XXX changeable attributes \ No newline at end of file --- 388,390 ---- ! XXX changeable attributes 

 [PyX-checkins] pyx/manual graphics.tex,1.10,1.11 From: Jörg Lehmann - 2006-02-26 19:13:16 Update of /cvsroot/pyx/pyx/manual In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19004/manual Modified Files: graphics.tex Log Message: make example less specific Index: graphics.tex =================================================================== RCS file: /cvsroot/pyx/pyx/manual/graphics.tex,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** graphics.tex 12 Jul 2005 19:50:08 -0000 1.10 --- graphics.tex 26 Feb 2006 19:13:07 -0000 1.11 *************** *** 232,237 **** from math import pi ! pt1 = path.circle(0, 0, 1).at(pi) ! pt2 = path.circle(0, 0, 1).at(3*pi/2) c.stroke(path.path(path.moveto(*pt1), path.lineto(*pt2))) --- 232,238 ---- from math import pi ! r = 2 ! pt1 = path.circle(0, 0, r).at(r*pi) ! pt2 = path.circle(0, 0, r).at(r*3*pi/2) c.stroke(path.path(path.moveto(*pt1), path.lineto(*pt2))) *************** *** 239,243 **** will draw a straight line from a point at angle $180$ degrees (in radians $\pi$) to another point at angle $270$ degrees (in radians ! $3\pi/2$) on the unit circle. Note however, that the mapping arc length $\to$ point is in general discontinuous at the begin and the end of a subpath, and thus \PyX{} does not guarantee any particular --- 240,244 ---- will draw a straight line from a point at angle $180$ degrees (in radians $\pi$) to another point at angle $270$ degrees (in radians ! $3\pi/2$) on a circle with radius $r=2$. Note however, that the mapping arc length $\to$ point is in general discontinuous at the begin and the end of a subpath, and thus \PyX{} does not guarantee any particular *************** *** 387,389 **** ! XXX changeable attributes \ No newline at end of file --- 388,390 ---- ! XXX changeable attributes