Index: fx/path/pentagon.pdf |
diff --git a/fx/path/pentagon.pdf b/fx/path/pentagon.pdf |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cdbefdfbd18c814774fd5fdb1f330311f5200e10 |
--- /dev/null |
+++ b/fx/path/pentagon.pdf |
@@ -0,0 +1,144 @@ |
+%PDF-1.4 |
+ |
+1 0 obj |
+<< |
+ /Type /Catalog |
+ /Outlines 6 0 R |
+ /Pages 2 0 R |
+>> |
+endobj |
+ |
+ |
+ |
+ |
+2 0 obj |
+<< |
+ /Type /Pages |
+ /Kids [3 0 R] |
+ /Count 1 |
+>> |
+endobj |
+ |
+ |
+ |
+ |
+3 0 obj |
+<< |
+ /Type /Page |
+ /Parent 2 0 R |
+ /MediaBox [-50 -300 300 300] |
+ /Contents 4 0 R |
+ /Resources << /Font<</Font1 5 0 R>> >> |
+>> |
+endobj |
+ |
+4 0 obj |
+<< |
+ /Length 0 |
+>>stream |
+%====================================== |
+ q |
+ %------draw pentagon, nonzero winding number rule |
+ 0 1 0 RG |
+ 1 0 0 rg |
+ 5 w |
+ 200 35 m |
+ 160 160 l |
+ 265 85 l |
+ 135 85 l |
+ 240 160 l |
+ b %(h f S) |
+ |
+ %------draw pentagon, even-odd rule |
+ 1 0 0 1 0 -150 cm % move coordinate 0 by x, -150 by y |
+ 0 1 0 RG |
+ 1 0 0 rg |
+ 1 j |
+ 5 w |
+ 200 35 m |
+ 160 160 l |
+ 265 85 l |
+ 135 85 l |
+ 240 160 l |
+ b* %(h f* S) |
+ |
+ |
+ %-----------draw circle, nonzero winding number rule.(two circle wind in same direction) |
+ 1 0 0 1 -200 -100 cm |
+ 1 w |
+ 264.919 342.306 m |
+ 272.672 342.306 278.959 336.019 278.959 328.265 c |
+ 278.959 320.511 272.672 314.225 264.919 314.225 c |
+ 257.164 314.225 250.878 320.511 250.878 328.265 c |
+ 250.878 336.019 257.164 342.306 264.919 342.306 c |
+ |
+ |
+ 264.919 358.614 m |
+ 281.679 358.614 295.267 345.026 295.267 328.265 c |
+ 295.267 311.504 281.679 297.916 264.919 297.916 c |
+ 248.157 297.916 234.569 311.504 234.569 328.265 c |
+ 234.569 345.026 248.157 358.614 264.919 358.614 c |
+ b |
+ |
+ %---------draw circle, even-odd rule.(two circle wind in same direction) |
+ 1 0 0 1 0 -100 cm |
+ 0 0 1 rg %blue |
+ 264.919 342.306 m |
+ 272.672 342.306 278.959 336.019 278.959 328.265 c |
+ 278.959 320.511 272.672 314.225 264.919 314.225 c |
+ 257.164 314.225 250.878 320.511 250.878 328.265 c |
+ 250.878 336.019 257.164 342.306 264.919 342.306 c |
+ |
+ |
+ 264.919 358.614 m |
+ 281.679 358.614 295.267 345.026 295.267 328.265 c |
+ 295.267 311.504 281.679 297.916 264.919 297.916 c |
+ 248.157 297.916 234.569 311.504 234.569 328.265 c |
+ 234.569 345.026 248.157 358.614 264.919 358.614 c |
+ b* |
+ |
+ |
+ Q |
+%====================================== |
+endstream |
+endobj |
+ |
+ |
+ |
+6 0 obj |
+<< |
+ /Type /Outlines |
+ /First 7 0 R |
+ /Last 7 0 R |
+ /Count 1 |
+>> |
+endobj |
+ |
+ |
+ |
+ |
+7 0 obj |
+<< |
+ /Title (example page) |
+ /Parent 6 0 R |
+ /Dest [3 0 R /Fit] |
+>> |
+endobj |
+ |
+ |
+ |
+ |
+xref |
+ |
+ |
+trailer |
+<< |
+ /Size 0 |
+ /Root 1 0 R |
+>> |
+ |
+ |
+startxref |
+0 |
+ |
+%%EOF |