OLD | NEW |
1 #ifndef __DEFINED__SkPdfBasics | 1 /* |
2 #define __DEFINED__SkPdfBasics | 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 #ifndef SkPdfGraphicsState_DEFINED |
| 9 #define SkPdfGraphicsState_DEFINED |
3 | 10 |
4 #include "SkCanvas.h" | 11 #include "SkCanvas.h" |
5 #include "SkPaint.h" | 12 #include "SkPaint.h" |
6 #include "SkPdfConfig.h" | 13 #include "SkPdfConfig.h" |
7 #include "SkPdfUtils.h" | 14 #include "SkPdfUtils.h" |
8 | 15 |
9 //#include "SkTDStack.h" | 16 //#include "SkTDStack.h" |
10 | 17 |
11 class SkPdfFont; | 18 class SkPdfFont; |
12 class SkPdfDoc; | 19 class SkPdfDoc; |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 SkPdfGraphicsState fGraphicsState; | 471 SkPdfGraphicsState fGraphicsState; |
465 SkPdfNativeDoc* fPdfDoc; | 472 SkPdfNativeDoc* fPdfDoc; |
466 // TODO(edisonn): the allocator, could be freed after the page is done drawi
ng. | 473 // TODO(edisonn): the allocator, could be freed after the page is done drawi
ng. |
467 SkPdfAllocator* fTmpPageAllocator; | 474 SkPdfAllocator* fTmpPageAllocator; |
468 SkMatrix fOriginalMatrix; | 475 SkMatrix fOriginalMatrix; |
469 | 476 |
470 SkPdfContext(SkPdfNativeDoc* doc); | 477 SkPdfContext(SkPdfNativeDoc* doc); |
471 ~SkPdfContext(); | 478 ~SkPdfContext(); |
472 }; | 479 }; |
473 | 480 |
474 #endif // __DEFINED__SkPdfBasics | 481 #endif // SkPdfGraphicsState_DEFINED |
OLD | NEW |