xref: /aosp_15_r20/external/pdfium/testing/resources/pixel/bug_1949.in (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1{{header}}
2{{object 1 0}} <<
3  /Type /Catalog
4  /Pages 2 0 R
5>>
6endobj
7{{object 2 0}} <<
8  /Type /Pages
9  /Count 1
10  /Kids [3 0 R]
11>>
12endobj
13{{object 3 0}} <<
14  /Type /Page
15  /Parent 2 0 R
16  /Contents 4 0 R
17  /MediaBox [0 0 44 24]
18  /Resources <<
19    /ExtGState <<
20      /GSHalfAlphaConstant 5 0 R
21      /GSHalfAlphaMask 6 0 R
22    >>
23    /XObject <<
24      /HalfAlphaSquare 8 0 R
25    >>
26  >>
27>>
28endobj
29{{object 4 0}} <<
30  {{streamlen}}
31>>
32stream
33
34% Opaque black background.
35q
36  0 0 0 rg
37  0 0 44 24 re
38  f
39Q
40
41% Transparency group drawn with constant alpha.
42q
43  1 0 0 1 4 4 cm
44  /GSHalfAlphaConstant gs
45
46  /HalfAlphaSquare Do
47Q
48
49% Transparency group drawn with a soft mask.
50q
51  1 0 0 1 24 4 cm
52  /GSHalfAlphaMask gs
53
54  /HalfAlphaSquare Do
55Q
56
57endstream
58endobj
59
60% Graphics state with a 0.5 non-stroking alpha constant.
61{{object 5 0}} <<
62  /Type /ExtGState
63  /ca 0.5
64>>
65endobj
66
67% Graphics state with a soft mask containing a 0.5 alpha central hole.
68{{object 6 0}} <<
69  /Type /ExtGState
70  /SMask <<
71    /Type /Mask
72    /S /Luminosity
73    /G 7 0 R
74  >>
75>>
76endobj
77{{object 7 0}} <<
78  /Type /XObject
79  /Subtype /Form
80  /BBox [0 0 16 16]
81  /Group <<
82    /Type /Group
83    /S /Transparency
84    /CS /DeviceGray
85    /I true
86  >>
87  {{streamlen}}
88>>
89stream
90q
91  1 g
92  0 0 16 16 re
93  f
94
95  0.5 g
96  4 4 8 8 re
97  f
98Q
99endstream
100endobj
101
102% Transparency group containing a 0.5 alpha white square.
103{{object 8 0}} <<
104  /Type /XObject
105  /Subtype /Form
106  /BBox [0 0 16 16]
107  /Group <<
108    /Type /Group
109    /S /Transparency
110    /I true
111  >>
112  /Resources <<
113    /ExtGState <<
114      /GSHalfAlphaConstant 5 0 R
115    >>
116  >>
117  {{streamlen}}
118>>
119stream
120q
121  /GSHalfAlphaConstant gs
122
123  1 1 1 rg
124  0 0 16 16 re
125  f
126Q
127endstream
128endobj
129
130{{xref}}
131{{trailer}}
132{{startxref}}
133%%EOF
134