Add an axial shading pixel test.
With /Extend [false false], which is missing test coverage.
Change-Id: I77b4871edfe96c0d1df792965763f7a49ebe2bc8
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/60990
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/testing/resources/pixel/axial_shading_point_at_border_no_extend.in b/testing/resources/pixel/axial_shading_point_at_border_no_extend.in
new file mode 100644
index 0000000..01f5690
--- /dev/null
+++ b/testing/resources/pixel/axial_shading_point_at_border_no_extend.in
@@ -0,0 +1,53 @@
+{{header}}
+{{object 1 0}} <<
+ /Pages 2 0 R
+>>
+endobj
+{{object 2 0}} <<
+ /Type /Pages
+ /Count 1
+ /Kids [3 0 R]
+>>
+endobj
+{{object 3 0}} <<
+ /Type /Page
+ /Parent 2 0 R
+ /MediaBox [0 0 300 400]
+ /Contents 4 0 R
+ /Resources <<
+ /Shading <<
+ /R9 5 0 R
+ >>
+ >>
+>>
+endobj
+{{object 4 0}} <<
+ {{streamlen}}
+>>
+stream
+50 0 0 50 150 100 cm
+10 10 280 380 re f
+/R9 sh
+endstream
+endobj
+{{object 5 0}} <<
+ /ShadingType 2
+ /ColorSpace /DeviceRGB
+ /Coords [0.0 0.0 1.0 0.0]
+ /Function 6 0 R
+ /Extend [false false]
+ >>
+endobj
+{{object 6 0}} <<
+ /FunctionType 2
+ /Domain [0.0 1.0]
+ /C0 [0.1 0.2 0.8]
+ /C1 [0.05 0.01 0.4]
+ /N 1
+>>
+endobj
+
+{{xref}}
+{{trailer}}
+{{startxref}}
+%%EOF
diff --git a/testing/resources/pixel/axial_shading_point_at_border_no_extend_expected.pdf.0.png b/testing/resources/pixel/axial_shading_point_at_border_no_extend_expected.pdf.0.png
new file mode 100644
index 0000000..075a8b2
--- /dev/null
+++ b/testing/resources/pixel/axial_shading_point_at_border_no_extend_expected.pdf.0.png
Binary files differ