Index: fx/shading/2_shading_type1.pdf |
diff --git a/fx/shading/2_shading_type1.pdf b/fx/shading/2_shading_type1.pdf |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2fc8023234baa1d09a437a370a9077ee5bb02ca1 |
--- /dev/null |
+++ b/fx/shading/2_shading_type1.pdf |
@@ -0,0 +1,109 @@ |
+%PDF-1.7 |
+ |
+1 0 obj |
+<< |
+ /Type /Catalog |
+ /Pages 2 0 R |
+>> |
+endobj |
+ |
+2 0 obj |
+<< |
+ /Type /Pages |
+ /Kids [3 0 R] |
+ /Count 1 |
+>> |
+endobj |
+ |
+3 0 obj % Page object |
+<< |
+ /Type /Page |
+ /Parent 2 0 R |
+ /Resources 4 0 R |
+ /Contents 30 0 R |
+ /MediaBox [0 0 600 600] |
+ %/CropBox [0 0 400 300] |
+>> |
+endobj |
+ |
+4 0 obj |
+<< |
+ /Shading <</Sh2 6 0 R>> |
+ /Pattern <</P1 10 0 R>> |
+>> |
+endobj |
+ |
+ |
+6 0 obj %See page 305 and page 308 |
+<< |
+ /ShadingType 1 %Function-based shading |
+ /ColorSpace /DeviceRGB |
+ /Domain [-1.0 1.0 -1.0 1.0] |
+ /Function [9 0 R 9 0 R 9 0 R] |
+ /Matrix [72 0 0 72 0 0] %1 inch |
+ /BBox [0 0 72 72] |
+ /Background [0.0 0.5 0.1] |
+>> |
+endobj |
+ |
+9 0 obj |
+<< |
+ /FunctionType 4 |
+ /Domain [-1.0 1.0 -1.0 1.0 ] |
+% /Domain [0 2.0 0.0 2.0 ] |
+ /Range [-1.0 1.0] |
+ /Length 0 |
+>> |
+stream |
+{ |
+360 mul sin 2 div exch 360 mul sin 2 div add |
+} |
+endstream |
+endobj |
+ |
+10 0 obj |
+<< |
+ /Type /Pattern |
+ /PatternType 2 |
+ /Shading 6 0 R |
+>> |
+endobj |
+30 0 obj |
+<< |
+ /Length 0 |
+>> |
+stream |
+ |
+q |
+/Sh2 sh |
+Q |
+ |
+q |
+1 0 0 1 100 400 cm |
+/Sh2 sh |
+Q |
+ |
+0 0 72 72 re |
+S |
+ |
+q |
+/Pattern cs |
+/P1 scn |
+20 300 100 100 re |
+f |
+Q |
+endstream |
+endobj |
+ |
+xref |
+ |
+trailer |
+<< |
+ /Size 0 |
+ /Root 1 0 R |
+>> |
+startxref |
+0 |
+ |
+%%EOF |
+ |