OLD | NEW |
| 1 |
1 /* | 2 /* |
2 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
3 * | 4 * |
4 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 6 * found in the LICENSE file. |
6 */ | 7 */ |
7 | 8 |
| 9 |
8 #ifndef SkPDFDevice_DEFINED | 10 #ifndef SkPDFDevice_DEFINED |
9 #define SkPDFDevice_DEFINED | 11 #define SkPDFDevice_DEFINED |
10 | 12 |
| 13 #include "SkDevice.h" |
11 #include "SkBitmap.h" | 14 #include "SkBitmap.h" |
12 #include "SkCanvas.h" | 15 #include "SkCanvas.h" |
13 #include "SkClipStack.h" | |
14 #include "SkDevice.h" | |
15 #include "SkPaint.h" | 16 #include "SkPaint.h" |
16 #include "SkPath.h" | 17 #include "SkPath.h" |
17 #include "SkPicture.h" | 18 #include "SkPicture.h" |
18 #include "SkRect.h" | 19 #include "SkRect.h" |
19 #include "SkRefCnt.h" | 20 #include "SkRefCnt.h" |
20 #include "SkStream.h" | 21 #include "SkStream.h" |
21 #include "SkTDArray.h" | 22 #include "SkTDArray.h" |
22 #include "SkTemplates.h" | 23 #include "SkTemplates.h" |
23 | 24 |
24 class SkPDFArray; | 25 class SkPDFArray; |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 | 296 |
296 typedef SkBaseDevice INHERITED; | 297 typedef SkBaseDevice INHERITED; |
297 | 298 |
298 // TODO(edisonn): Only SkDocument_PDF and SkPDFImageShader should be able to
create | 299 // TODO(edisonn): Only SkDocument_PDF and SkPDFImageShader should be able to
create |
299 // an SkPDFDevice | 300 // an SkPDFDevice |
300 //friend class SkDocument_PDF; | 301 //friend class SkDocument_PDF; |
301 //friend class SkPDFImageShader; | 302 //friend class SkPDFImageShader; |
302 }; | 303 }; |
303 | 304 |
304 #endif | 305 #endif |
OLD | NEW |