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

Side by Side Diff: fx/shading/2_shading_type1.pdf

Issue 1026583002: Add shading/ 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 | « no previous file | fx/shading/2_shading_type1_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.7
2
3 1 0 obj
4 <<
5 /Type /Catalog
6 /Pages 2 0 R
7 >>
8 endobj
9
10 2 0 obj
11 <<
12 /Type /Pages
13 /Kids [3 0 R]
14 /Count 1
15 >>
16 endobj
17
18 3 0 obj % Page object
19 <<
20 /Type /Page
21 /Parent 2 0 R
22 /Resources 4 0 R
23 /Contents 30 0 R
24 /MediaBox [0 0 600 600]
25 %/CropBox [0 0 400 300]
26 >>
27 endobj
28
29 4 0 obj
30 <<
31 /Shading <</Sh2 6 0 R>>
32 /Pattern <</P1 10 0 R>>
33 >>
34 endobj
35
36
37 6 0 obj %See page 305 and page 308
38 <<
39 /ShadingType 1 %Function-based shading
40 /ColorSpace /DeviceRGB
41 /Domain [-1.0 1.0 -1.0 1.0]
42 /Function [9 0 R 9 0 R 9 0 R]
43 /Matrix [72 0 0 72 0 0] %1 inch
44 /BBox [0 0 72 72]
45 /Background [0.0 0.5 0.1]
46 >>
47 endobj
48
49 9 0 obj
50 <<
51 /FunctionType 4
52 /Domain [-1.0 1.0 -1.0 1.0 ]
53 % /Domain [0 2.0 0.0 2.0 ]
54 /Range [-1.0 1.0]
55 /Length 0
56 >>
57 stream
58 {
59 360 mul sin 2 div exch 360 mul sin 2 div add
60 }
61 endstream
62 endobj
63
64 10 0 obj
65 <<
66 /Type /Pattern
67 /PatternType 2
68 /Shading 6 0 R
69 >>
70 endobj
71 30 0 obj
72 <<
73 /Length 0
74 >>
75 stream
76
77 q
78 /Sh2 sh
79 Q
80
81 q
82 1 0 0 1 100 400 cm
83 /Sh2 sh
84 Q
85
86 0 0 72 72 re
87 S
88
89 q
90 /Pattern cs
91 /P1 scn
92 20 300 100 100 re
93 f
94 Q
95 endstream
96 endobj
97
98 xref
99
100 trailer
101 <<
102 /Size 0
103 /Root 1 0 R
104 >>
105 startxref
106 0
107
108 %%EOF
109
OLDNEW
« no previous file with comments | « no previous file | fx/shading/2_shading_type1_expected.pdf.0.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698