summaryrefslogtreecommitdiff
path: root/testing/resources/rectangles.pdf
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-07-26 13:50:12 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-26 19:56:53 +0000
commit60bde10736fd78a2333cf1513aea779df9346b35 (patch)
treeed792453114a14937c0be4169a972e633ddf1a08 /testing/resources/rectangles.pdf
parente9af3798cbee81bc0093d4be024ecb6c2ea19bd9 (diff)
downloadpdfium-60bde10736fd78a2333cf1513aea779df9346b35.tar.xz
Fix FPDF_RenderPageBitmapWithMatrix
This CL fixes FPDF_RenderPageBitmapWithMatrix and improves tests. Bug: pdfium:837 Change-Id: I98f90b667cc9a50fb0e915b8a758603488b44d40 Reviewed-on: https://pdfium-review.googlesource.com/9010 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'testing/resources/rectangles.pdf')
-rw-r--r--testing/resources/rectangles.pdf46
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/resources/rectangles.pdf b/testing/resources/rectangles.pdf
new file mode 100644
index 0000000000..718bee56d9
--- /dev/null
+++ b/testing/resources/rectangles.pdf
@@ -0,0 +1,46 @@
+%PDF-1.7
+% ò¤ô
+1 0 obj <<
+ /Type /Catalog
+ /Pages 2 0 R
+>>
+endobj
+2 0 obj <<
+ /Type /Pages
+ /MediaBox [ 0 0 200 200 ]
+ /Count 1
+ /Kids [ 3 0 R ]
+>>
+endobj
+3 0 obj <<
+ /Type /Page
+ /Parent 2 0 R
+ /Contents 4 0 R
+>>
+endobj
+4 0 obj <<
+>>
+stream
+q
+0 0 0 rg
+10 80 50 30 re B*
+0 0 1 rg
+70 135 50 30 re B*
+0 1 0 rg
+130 80 50 30 re B*
+1 0 0 rg
+70 25 50 30 re B*
+Q
+endstream
+endobj
+xref
+0 5
+0000000000 65535 f
+0000000015 00000 n
+0000000068 00000 n
+0000000161 00000 n
+0000000230 00000 n
+trailer<< /Root 1 0 R /Size 5 >>
+startxref
+382
+%%EOF