Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(660)

Side by Side Diff: fx/path/pentagon.pdf

Issue 1027513002: Add path/ directory to corpus (Closed) Base URL: https://pdfium.googlesource.com/pdfium_tests@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fx/path/path_9_expected.pdf.0.png ('k') | fx/path/pentagon_expected.pdf.0.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 %PDF-1.4
2
3 1 0 obj
4 <<
5 /Type /Catalog
6 /Outlines 6 0 R
7 /Pages 2 0 R
8 >>
9 endobj
10
11
12
13
14 2 0 obj
15 <<
16 /Type /Pages
17 /Kids [3 0 R]
18 /Count 1
19 >>
20 endobj
21
22
23
24
25 3 0 obj
26 <<
27 /Type /Page
28 /Parent 2 0 R
29 /MediaBox [-50 -300 300 300]
30 /Contents 4 0 R
31 /Resources << /Font<</Font1 5 0 R>> >>
32 >>
33 endobj
34
35 4 0 obj
36 <<
37 /Length 0
38 >>stream
39 %======================================
40 q
41 %------draw pentagon, nonzero winding number rule
42 0 1 0 RG
43 1 0 0 rg
44 5 w
45 200 35 m
46 160 160 l
47 265 85 l
48 135 85 l
49 240 160 l
50 b %(h f S)
51
52 %------draw pentagon, even-odd rule
53 1 0 0 1 0 -150 cm % move coordinate 0 by x, -150 by y
54 0 1 0 RG
55 1 0 0 rg
56 1 j
57 5 w
58 200 35 m
59 160 160 l
60 265 85 l
61 135 85 l
62 240 160 l
63 b* %(h f* S)
64
65
66 %-----------draw circle, nonzero winding number rule.(two circle wind in sam e direction)
67 1 0 0 1 -200 -100 cm
68 1 w
69 264.919 342.306 m
70 272.672 342.306 278.959 336.019 278.959 328.265 c
71 278.959 320.511 272.672 314.225 264.919 314.225 c
72 257.164 314.225 250.878 320.511 250.878 328.265 c
73 250.878 336.019 257.164 342.306 264.919 342.306 c
74
75
76 264.919 358.614 m
77 281.679 358.614 295.267 345.026 295.267 328.265 c
78 295.267 311.504 281.679 297.916 264.919 297.916 c
79 248.157 297.916 234.569 311.504 234.569 328.265 c
80 234.569 345.026 248.157 358.614 264.919 358.614 c
81 b
82
83 %---------draw circle, even-odd rule.(two circle wind in same direction)
84 1 0 0 1 0 -100 cm
85 0 0 1 rg %blue
86 264.919 342.306 m
87 272.672 342.306 278.959 336.019 278.959 328.265 c
88 278.959 320.511 272.672 314.225 264.919 314.225 c
89 257.164 314.225 250.878 320.511 250.878 328.265 c
90 250.878 336.019 257.164 342.306 264.919 342.306 c
91
92
93 264.919 358.614 m
94 281.679 358.614 295.267 345.026 295.267 328.265 c
95 295.267 311.504 281.679 297.916 264.919 297.916 c
96 248.157 297.916 234.569 311.504 234.569 328.265 c
97 234.569 345.026 248.157 358.614 264.919 358.614 c
98 b*
99
100
101 Q
102 %======================================
103 endstream
104 endobj
105
106
107
108 6 0 obj
109 <<
110 /Type /Outlines
111 /First 7 0 R
112 /Last 7 0 R
113 /Count 1
114 >>
115 endobj
116
117
118
119
120 7 0 obj
121 <<
122 /Title (example page)
123 /Parent 6 0 R
124 /Dest [3 0 R /Fit]
125 >>
126 endobj
127
128
129
130
131 xref
132
133
134 trailer
135 <<
136 /Size 0
137 /Root 1 0 R
138 >>
139
140
141 startxref
142 0
143
144 %%EOF
OLDNEW
« no previous file with comments | « fx/path/path_9_expected.pdf.0.png ('k') | fx/path/pentagon_expected.pdf.0.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698