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

Side by Side Diff: testing/resources/pixel/bug_585_highlight.in

Issue 2289293005: Use /RECT or /QuadPoints for annotation coordinates, depending on /AP (Closed)
Patch Set: Use either /RECT or /QuadPoints for annotation coordinates, depending on /AP Created 4 years, 3 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
OLDNEW
1 {{header}} 1 {{header}}
2 {{object 1 0}} << 2 {{object 1 0}} <<
3 /Type /Catalog 3 /Type /Catalog
4 /Pages 2 0 R 4 /Pages 2 0 R
5 /OpenAction 20 0 R
6 >> 5 >>
7 endobj 6 endobj
8 {{object 2 0}} << 7 {{object 2 0}} <<
9 /Type /Pages 8 /Type /Pages
10 /Count 1 9 /Count 1
11 /Kids [ 10 /Kids [
12 10 0 R 11 10 0 R
13 ] 12 ]
14 >> 13 >>
15 endobj 14 endobj
16 % Page number 0. 15 % Page number 0.
17 {{object 10 0}} << 16 {{object 10 0}} <<
18 /Type /Page 17 /Type /Page
19 /Parent 2 0 R 18 /Parent 2 0 R
20 /Resources << 19 /Resources <<
21 /Font <</F1 15 0 R>> 20 /Font <</F1 15 0 R>>
22 >> 21 >>
23 /MediaBox [0 0 612 792] 22 /MediaBox [0 0 612 792]
24 /Annots [ 23 /Annots [
25 22 0 R 24 22 0 R
26 ] 25 ]
27 /Tabs /R 26 /Tabs /R
28 >> 27 >>
29 endobj 28 endobj
30 29
31 % OpenAction action
32 {{object 20 0}} <<
33 /Type /Action
34 /S /JavaScript
35 /JS 21 0 R
36 >>
37 endobj
38 % JS program to exexute
39 {{object 21 0}} <<
40 >>
41 stream
42 var annot = this.getAnnot(0, "Annot-1");
43 annot.hidden = false;
44 endstream
45 endobj
46
47 {{object 22 0}} << 30 {{object 22 0}} <<
48 /Type /Annot 31 /Type /Annot
49 /Subtype /Highlight 32 /Subtype /Highlight
50 /Rect [ 475 681 512 690 ] 33 /Rect [ -1 -1 -1 -1 ]
51 /NM (Annot-1) 34 /NM (Annot-1)
52 /F 2 35 /F 4
53 /QuadPoints [ 475 688 512 688 475 679 512 679 ] 36 /QuadPoints [ 475 688 512 688 475 679 512 679 ]
54 /C [ 0.0001108646 0.001760244 0.9982184 ] 37 /C [ 0.0001108646 0.001760244 0.9982184 ]
55 /Contents () 38 /Contents ()
56 >> 39 >>
57 endobj 40 endobj
58 41
59 {{xref}} 42 {{xref}}
60 trailer << 43 trailer <<
61 /Root 1 0 R 44 /Root 1 0 R
62 >> 45 >>
63 {{startxref}} 46 {{startxref}}
64 %%EOF 47 %%EOF
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698