aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfTrueTypeFontDictionary_autogen.h
blob: 5ec564f229423e9dfcb81e6f4978057845f0d637 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * Copyright 2013 Google Inc.

 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef SkPdfTrueTypeFontDictionary_DEFINED
#define SkPdfTrueTypeFontDictionary_DEFINED

#include "SkPdfType1FontDictionary_autogen.h"

class SkPdfTrueTypeFontDictionary : public SkPdfType1FontDictionary {
public:
public:
   SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return this;}
   const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return this;}

private:
   SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return (SkPdfMultiMasterFontDictionary*)this;}
   const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return (const SkPdfMultiMasterFontDictionary*)this;}

   SkPdfType3FontDictionary* asType3FontDictionary() {return (SkPdfType3FontDictionary*)this;}
   const SkPdfType3FontDictionary* asType3FontDictionary() const {return (const SkPdfType3FontDictionary*)this;}

public:
   bool valid() const {return true;}
  SkString Subtype(SkPdfNativeDoc* doc);
  bool has_Subtype() const;
};

#endif  // SkPdfTrueTypeFontDictionary_DEFINED