summaryrefslogtreecommitdiff
path: root/testing/resources/rectangles.in
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.in
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.in')
-rw-r--r--testing/resources/rectangles.in38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/resources/rectangles.in b/testing/resources/rectangles.in
new file mode 100644
index 0000000000..ed71cf830a
--- /dev/null
+++ b/testing/resources/rectangles.in
@@ -0,0 +1,38 @@
+{{header}}
+{{object 1 0}} <<
+ /Type /Catalog
+ /Pages 2 0 R
+>>
+endobj
+{{object 2 0}} <<
+ /Type /Pages
+ /MediaBox [ 0 0 200 200 ]
+ /Count 1
+ /Kids [ 3 0 R ]
+>>
+endobj
+{{object 3 0}} <<
+ /Type /Page
+ /Parent 2 0 R
+ /Contents 4 0 R
+>>
+endobj
+{{object 4 0}} <<
+>>
+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}}
+{{trailer}}
+{{startxref}}
+%%EOF