| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef SkPDFDevice_DEFINED | 8 #ifndef SkPDFDevice_DEFINED |
| 9 #define SkPDFDevice_DEFINED | 9 #define SkPDFDevice_DEFINED |
| 10 | 10 |
| 11 #include "SkBitmap.h" | 11 #include "SkBitmap.h" |
| 12 #include "SkBitmapKey.h" | |
| 13 #include "SkCanvas.h" | 12 #include "SkCanvas.h" |
| 14 #include "SkClipStack.h" | 13 #include "SkClipStack.h" |
| 15 #include "SkData.h" | 14 #include "SkData.h" |
| 16 #include "SkDevice.h" | 15 #include "SkDevice.h" |
| 17 #include "SkPaint.h" | 16 #include "SkPaint.h" |
| 18 #include "SkPath.h" | |
| 19 #include "SkPicture.h" | |
| 20 #include "SkRect.h" | 17 #include "SkRect.h" |
| 21 #include "SkRefCnt.h" | 18 #include "SkRefCnt.h" |
| 22 #include "SkStream.h" | 19 #include "SkStream.h" |
| 23 #include "SkTDArray.h" | 20 #include "SkTDArray.h" |
| 24 #include "SkTemplates.h" | |
| 25 | 21 |
| 26 #include "SkSinglyLinkedList.h" | 22 #include "SkSinglyLinkedList.h" |
| 27 | 23 |
| 24 class SkImageBitmap; |
| 25 class SkPath; |
| 28 class SkPDFArray; | 26 class SkPDFArray; |
| 29 class SkPDFCanon; | 27 class SkPDFCanon; |
| 30 class SkPDFDevice; | 28 class SkPDFDevice; |
| 31 class SkPDFDocument; | 29 class SkPDFDocument; |
| 32 class SkPDFDict; | 30 class SkPDFDict; |
| 33 class SkPDFFont; | 31 class SkPDFFont; |
| 34 class SkPDFFormXObject; | 32 class SkPDFFormXObject; |
| 35 class SkPDFGlyphSetMap; | 33 class SkPDFGlyphSetMap; |
| 36 class SkPDFGraphicState; | |
| 37 class SkPDFObject; | 34 class SkPDFObject; |
| 38 class SkPDFShader; | |
| 39 class SkPDFStream; | |
| 40 class SkRRect; | 35 class SkRRect; |
| 41 | 36 |
| 42 /** \class SkPDFDevice | 37 /** \class SkPDFDevice |
| 43 | 38 |
| 44 The drawing context for the PDF backend. | 39 The drawing context for the PDF backend. |
| 45 */ | 40 */ |
| 46 class SkPDFDevice final : public SkBaseDevice { | 41 class SkPDFDevice final : public SkBaseDevice { |
| 47 public: | 42 public: |
| 48 /** Create a PDF drawing context. SkPDFDevice applies a | 43 /** Create a PDF drawing context. SkPDFDevice applies a |
| 49 * scale-and-translate transform to move the origin from the | 44 * scale-and-translate transform to move the origin from the |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 | 336 |
| 342 typedef SkBaseDevice INHERITED; | 337 typedef SkBaseDevice INHERITED; |
| 343 | 338 |
| 344 // TODO(edisonn): Only SkDocument_PDF and SkPDFImageShader should be able to
create | 339 // TODO(edisonn): Only SkDocument_PDF and SkPDFImageShader should be able to
create |
| 345 // an SkPDFDevice | 340 // an SkPDFDevice |
| 346 //friend class SkDocument_PDF; | 341 //friend class SkDocument_PDF; |
| 347 //friend class SkPDFImageShader; | 342 //friend class SkPDFImageShader; |
| 348 }; | 343 }; |
| 349 | 344 |
| 350 #endif | 345 #endif |
| OLD | NEW |