| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2010 The Android Open Source Project | 3 * Copyright 2010 The Android Open Source Project |
| 4 * | 4 * |
| 5 * 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 |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 #ifndef SkPDFFormXObject_DEFINED | 10 #ifndef SkPDFFormXObject_DEFINED |
| 11 #define SkPDFFormXObject_DEFINED | 11 #define SkPDFFormXObject_DEFINED |
| 12 | 12 |
| 13 #include "SkPDFStream.h" | 13 #include "SkPDFStream.h" |
| 14 #include "SkPDFTypes.h" | 14 #include "SkPDFTypes.h" |
| 15 #include "SkRect.h" | 15 #include "SkRect.h" |
| 16 #include "SkRefCnt.h" | 16 #include "SkRefCnt.h" |
| 17 #include "SkPDFResourceDict.h" | 17 #include "SkPDFResourceDict.h" |
| 18 #include "SkString.h" | 18 #include "SkString.h" |
| 19 | 19 |
| 20 class SkMatrix; | 20 class SkMatrix; |
| 21 class SkPDFDevice; | 21 class SkPDFDevice; |
| 22 class SkPDFCatalog; | 22 class SkPDFObjNumMap; |
| 23 | 23 |
| 24 /** \class SkPDFFormXObject | 24 /** \class SkPDFFormXObject |
| 25 | 25 |
| 26 A form XObject; a self contained description of graphics objects. A form | 26 A form XObject; a self contained description of graphics objects. A form |
| 27 XObject is basically a page object with slightly different syntax, that | 27 XObject is basically a page object with slightly different syntax, that |
| 28 can be drawn onto a page. | 28 can be drawn onto a page. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 // The caller could keep track of the form XObjects it creates and | 31 // The caller could keep track of the form XObjects it creates and |
| 32 // canonicalize them, but the Skia API doesn't provide enough context to | 32 // canonicalize them, but the Skia API doesn't provide enough context to |
| (...skipping 13 matching lines...) Expand all Loading... |
| 46 SkRect bbox, | 46 SkRect bbox, |
| 47 SkPDFResourceDict* resourceDict); | 47 SkPDFResourceDict* resourceDict); |
| 48 virtual ~SkPDFFormXObject(); | 48 virtual ~SkPDFFormXObject(); |
| 49 | 49 |
| 50 private: | 50 private: |
| 51 void init(const char* colorSpace, | 51 void init(const char* colorSpace, |
| 52 SkPDFDict* resourceDict, SkPDFArray* bbox); | 52 SkPDFDict* resourceDict, SkPDFArray* bbox); |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 #endif | 55 #endif |
| OLD | NEW |