OLD | NEW |
1 #ifndef __DEFINED__SkPdfBasics | 1 #ifndef __DEFINED__SkPdfBasics |
2 #define __DEFINED__SkPdfBasics | 2 #define __DEFINED__SkPdfBasics |
3 | 3 |
4 #include "SkCanvas.h" | 4 #include "SkCanvas.h" |
5 #include "SkPaint.h" | 5 #include "SkPaint.h" |
6 #include "SkPdfConfig.h" | 6 #include "SkPdfConfig.h" |
7 | 7 |
8 #include <iostream> | 8 #include <iostream> |
9 #include <cstdio> | 9 #include <cstdio> |
10 #include <map> | 10 #include <map> |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 // TABLE 4.2 Device-independent graphics state parameters | 106 // TABLE 4.2 Device-independent graphics state parameters |
107 /* | 107 /* |
108 * CTM array The current transformation matrix, which maps
positions from user | 108 * CTM array The current transformation matrix, which maps
positions from user |
109 coordinates to device coordinates (see Section 4
.2, “Coordinate Sys- | 109 coordinates to device coordinates (see Section 4
.2, “Coordinate Sys- |
110 tems”). This matrix is modified by each applicati
on of the coordi- | 110 tems”). This matrix is modified by each applicati
on of the coordi- |
111 nate transformation operator, cm. Initial value:
a matrix that | 111 nate transformation operator, cm. Initial value:
a matrix that |
112 transforms default user coordinates to device co
ordinates. | 112 transforms default user coordinates to device co
ordinates. |
113 */ | 113 */ |
114 SkMatrix fCTM; | 114 SkMatrix fCTM; |
115 | 115 |
| 116 SkMatrix fContentStreamMatrix; |
| 117 |
116 /* | 118 /* |
117 clipping path (internal) The current clipping path, which defines the boun
dary against | 119 clipping path (internal) The current clipping path, which defines the boun
dary against |
118 which all output is to be cropped (see Section 4
.4.3, “Clipping Path | 120 which all output is to be cropped (see Section 4
.4.3, “Clipping Path |
119 Operators”). Initial value: the boundary of the
entire imageable | 121 Operators”). Initial value: the boundary of the
entire imageable |
120 portion of the output page. | 122 portion of the output page. |
121 */ | 123 */ |
122 // Clip that is applied after the drawing is done!!! | 124 // Clip that is applied after the drawing is done!!! |
123 bool fHasClipPathToApply; | 125 bool fHasClipPathToApply; |
124 SkPath fClipPath; | 126 SkPath fClipPath; |
125 | 127 |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 kPartial_PdfResult, | 391 kPartial_PdfResult, |
390 kNYI_PdfResult, | 392 kNYI_PdfResult, |
391 kIgnoreError_PdfResult, | 393 kIgnoreError_PdfResult, |
392 kError_PdfResult, | 394 kError_PdfResult, |
393 kUnsupported_PdfResult, | 395 kUnsupported_PdfResult, |
394 | 396 |
395 kCount_PdfResult | 397 kCount_PdfResult |
396 }; | 398 }; |
397 | 399 |
398 #endif // __DEFINED__SkPdfBasics | 400 #endif // __DEFINED__SkPdfBasics |
OLD | NEW |