Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType6ShadingDictionary_autogen.h

Issue 1266093003: Remove experimental/PdfViewer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-03 (Monday) 10:43:56 EDT Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /*
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 SkPdfType6ShadingDictionary_DEFINED
9 #define SkPdfType6ShadingDictionary_DEFINED
10
11 #include "SkPdfShadingDictionary_autogen.h"
12
13 // Additional entries specific to a type 6 shading dictionary
14 class SkPdfType6ShadingDictionary : public SkPdfShadingDictionary {
15 public:
16 public:
17 SkPdfType6ShadingDictionary* asType6ShadingDictionary() {return this;}
18 const SkPdfType6ShadingDictionary* asType6ShadingDictionary() const {return t his;}
19
20 private:
21 SkPdfType1ShadingDictionary* asType1ShadingDictionary() {return (SkPdfType1Sh adingDictionary*)this;}
22 const SkPdfType1ShadingDictionary* asType1ShadingDictionary() const {return ( const SkPdfType1ShadingDictionary*)this;}
23
24 SkPdfType2ShadingDictionary* asType2ShadingDictionary() {return (SkPdfType2Sh adingDictionary*)this;}
25 const SkPdfType2ShadingDictionary* asType2ShadingDictionary() const {return ( const SkPdfType2ShadingDictionary*)this;}
26
27 SkPdfType3ShadingDictionary* asType3ShadingDictionary() {return (SkPdfType3Sh adingDictionary*)this;}
28 const SkPdfType3ShadingDictionary* asType3ShadingDictionary() const {return ( const SkPdfType3ShadingDictionary*)this;}
29
30 SkPdfType4ShadingDictionary* asType4ShadingDictionary() {return (SkPdfType4Sh adingDictionary*)this;}
31 const SkPdfType4ShadingDictionary* asType4ShadingDictionary() const {return ( const SkPdfType4ShadingDictionary*)this;}
32
33 SkPdfType5ShadingDictionary* asType5ShadingDictionary() {return (SkPdfType5Sh adingDictionary*)this;}
34 const SkPdfType5ShadingDictionary* asType5ShadingDictionary() const {return ( const SkPdfType5ShadingDictionary*)this;}
35
36 public:
37 bool valid() const {return true;}
38 int64_t BitsPerCoordinate(SkPdfNativeDoc* doc);
39 bool has_BitsPerCoordinate() const;
40 int64_t BitsPerComponent(SkPdfNativeDoc* doc);
41 bool has_BitsPerComponent() const;
42 int64_t BitsPerFlag(SkPdfNativeDoc* doc);
43 bool has_BitsPerFlag() const;
44 SkPdfArray* Decode(SkPdfNativeDoc* doc);
45 bool has_Decode() const;
46 SkPdfFunction Function(SkPdfNativeDoc* doc);
47 bool has_Function() const;
48 };
49
50 #endif // SkPdfType6ShadingDictionary_DEFINED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698