~ubuntu-branches/debian/sid/pyx/sid

« back to all changes in this revision

Viewing changes to manual/radii2.py

  • Committer: Package Import Robot
  • Author(s): Stuart Prescott
  • Date: 2012-12-17 13:45:12 UTC
  • mto: (9.1.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: package-import@ubuntu.com-20121217134512-q85pr3q75fxii7mq
Tags: upstream-0.12.1
ImportĀ upstreamĀ versionĀ 0.12.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
segment = line2 << arc
17
17
 
18
 
c.fill(segment, [color.grey(0.9)])
 
18
c.fill(segment, [color.grey(0.5)])
19
19
 
20
20
c.stroke(circle, [style.linewidth.Thick])
21
21
c.stroke(line, [style.linewidth.Thick])
23
23
for isect in isects_circle:
24
24
    c.stroke(path.line(0, 0, *circle.at(isect)))
25
25
 
26
 
c.writeEPSfile("radii2")
27
 
c.writePDFfile("radii2")
 
26
c.writePDFfile()