Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(519)

Side by Side Diff: experimental/PdfViewer/SkPdfBasics.h

Issue 22460004: pdfviewer: /Pattern color space, uses the matrix of the last content stream, not the global matrix. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | experimental/PdfViewer/SkPdfRenderer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | experimental/PdfViewer/SkPdfRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698