OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright 2013 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 |
| 8 #include "SkMatrix.h" |
| 9 #include "SkTDStackNester.h" |
| 10 #include "SkPdfGraphicsState.h" |
| 11 |
| 12 class SkPdfAllocator; |
| 13 class SkPdfNativeDoc; |
| 14 class SkPdfNativeObject; |
| 15 |
| 16 /** \class SkPdfContext |
| 17 * The context of the drawing. The document we draw from, the current stack of
objects, ... |
| 18 */ |
| 19 class SkPdfContext { |
| 20 public: |
| 21 SkTDStackNester<SkPdfNativeObject*> fObjectStack; |
| 22 SkTDStackNester<SkPdfGraphicsState> fStateStack; |
| 23 SkPdfGraphicsState fGraphicsState; |
| 24 SkPdfNativeDoc* fPdfDoc; |
| 25 SkPdfAllocator* fTmpPageAllocator; |
| 26 SkMatrix fOriginalMatrix; |
| 27 |
| 28 SkPdfContext(SkPdfNativeDoc* doc); |
| 29 ~SkPdfContext(); |
| 30 }; |
OLD | NEW |