OLD | NEW |
1 #ifndef __DEFINED__SkPdfAlternateImageDictionary | 1 /* |
2 #define __DEFINED__SkPdfAlternateImageDictionary | 2 * Copyright 2013 Google Inc. |
3 | 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 SkPdfAlternateImageDictionary_DEFINED |
| 9 #define SkPdfAlternateImageDictionary_DEFINED |
| 10 |
4 #include "SkPdfDictionary_autogen.h" | 11 #include "SkPdfDictionary_autogen.h" |
5 | 12 |
6 // Entries in an alternate image dictionary | 13 // Entries in an alternate image dictionary |
7 class SkPdfAlternateImageDictionary : public SkPdfDictionary { | 14 class SkPdfAlternateImageDictionary : public SkPdfDictionary { |
8 public: | 15 public: |
9 public: | 16 public: |
10 SkPdfAlternateImageDictionary* asAlternateImageDictionary() {return this;} | 17 SkPdfAlternateImageDictionary* asAlternateImageDictionary() {return this;} |
11 const SkPdfAlternateImageDictionary* asAlternateImageDictionary() const {retu
rn this;} | 18 const SkPdfAlternateImageDictionary* asAlternateImageDictionary() const {retu
rn this;} |
12 | 19 |
13 private: | 20 private: |
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 const SkPdfType1FormDictionary* asType1FormDictionary() const {return (const
SkPdfType1FormDictionary*)this;} | 517 const SkPdfType1FormDictionary* asType1FormDictionary() const {return (const
SkPdfType1FormDictionary*)this;} |
511 | 518 |
512 public: | 519 public: |
513 bool valid() const {return true;} | 520 bool valid() const {return true;} |
514 SkPdfStream* Image(SkPdfNativeDoc* doc); | 521 SkPdfStream* Image(SkPdfNativeDoc* doc); |
515 bool has_Image() const; | 522 bool has_Image() const; |
516 bool DefaultForPrinting(SkPdfNativeDoc* doc); | 523 bool DefaultForPrinting(SkPdfNativeDoc* doc); |
517 bool has_DefaultForPrinting() const; | 524 bool has_DefaultForPrinting() const; |
518 }; | 525 }; |
519 | 526 |
520 #endif // __DEFINED__NATIVE_SkPdfAlternateImageDictionary | 527 #endif // SkPdfAlternateImageDictionary_DEFINED |
OLD | NEW |