• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2017 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #ifndef FXJS_CJS_FONT_H_
8 #define FXJS_CJS_FONT_H_
9 
10 #include "fxjs/JS_Define.h"
11 
12 class CJS_Font : public CJS_Object {
13  public:
14   static void DefineJSObjects(CFXJS_Engine* pEngine);
15 
CJS_Font(v8::Local<v8::Object> pObject)16   explicit CJS_Font(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {}
~CJS_Font()17   ~CJS_Font() override {}
18 
19  private:
20   static int ObjDefnID;
21   static const JSConstSpec ConstSpecs[];
22 };
23 
24 #endif  // FXJS_CJS_FONT_H_
25