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

Side by Side Diff: fx/matrix/transformation.pdf

Issue 1020983002: Add matrix/ 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/matrix/bug_cm_rotate_expected.pdf.0.png ('k') | fx/matrix/transformation_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 2 0 obj
12 <<
13 /Type /Pages
14 /Kids [3 0 R]
15 /Count 1
16 >>
17 endobj
18
19 3 0 obj
20 <<
21 /Type /Page
22 /Parent 2 0 R
23 /MediaBox [-50 -300 300 300]
24 /Contents 4 0 R
25 /Resources << /Font<</Font1 5 0 R>> >>
26 >>
27 endobj
28
29 4 0 obj
30 <<
31 /Length 0
32 >>stream
33 %draw x and y axis.
34 0 0 0 RG
35 1 w
36 0 -100 m
37 0 100 l
38 s
39 -100 0 m
40 100 0 l
41 s
42
43 %draw base n
44 BT
45 /Font1 100 Tf
46 1 Tr
47 (n) Tj
48 ET
49
50 %draw translation
51 q
52
53 1 0 0 1 50 100 cm
54 1 w
55 1 0 0 RG
56 0 -100 m
57 0 100 l
58 s
59 -100 0 m
60 100 0 l
61 s
62 BT
63 /Font1 100 Tf
64 1 Tr
65 (n) Tj
66 ET
67
68 0.866 0.5 -0.5 0.866 0 0 cm
69 0 1 0 RG
70 1 w
71 0 -100 m
72 0 100 l
73 s
74 -100 0 m
75 100 0 l
76 s
77 BT
78 /Font1 100 Tf
79 1 Tr
80 (n) Tj
81 ET
82
83 3 0 0 1 0 0 cm
84 0 0 1 RG
85 1 w
86 0 -100 m
87 0 100 l
88 s
89 -100 0 m
90 100 0 l
91 s
92 BT
93 /Font1 100 Tf
94 1 Tr
95 (n) Tj
96 ET
97
98 Q
99
100 BT
101 /Font1 12 Tf
102 -10 -30 TD
103 0 Tr
104 (----Black figures denote orignal coordinate system.) '
105 (----Red figures denote coordinate system after translation.) '
106 (----Green figures denote coordinate system after rotation.) '
107 (----Blue figures denote coordinate system after scaling.) '
108 ET
109
110 endstream
111 endobj
112
113 5 0 obj
114 <<
115 /Type /Font
116 /Subtype /Type1
117 /BaseFont /Helvetica
118 >>
119 endobj
120
121 6 0 obj
122 <<
123 /Type /Outlines
124 /First 7 0 R
125 /Last 7 0 R
126 /Count 1
127 >>
128 endobj
129
130 7 0 obj
131 <<
132 /Title (examples of transformations of coordiate system)
133 /Parent 6 0 R
134 /Dest [3 0 R /Fit]
135 >>
136 endobj
137
138 xref
139 trailer
140 <<
141 /Size 0
142 /Root 1 0 R
143 >>
144 startxref
145 0
146
147 %%EOF
OLDNEW
« no previous file with comments | « fx/matrix/bug_cm_rotate_expected.pdf.0.png ('k') | fx/matrix/transformation_expected.pdf.0.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698