OLD | NEW |
1 /* | 1 /* |
2 ******************************************************************************* | 2 ******************************************************************************* |
3 * | 3 * |
4 * Copyright (C) 1999-2007, International Business Machines | 4 * Copyright (C) 1999-2015, International Business Machines |
5 * Corporation and others. All Rights Reserved. | 5 * Corporation and others. All Rights Reserved. |
6 * | 6 * |
7 ******************************************************************************* | 7 ******************************************************************************* |
8 * file name: SimpleFontInstance.h | 8 * file name: SimpleFontInstance.h |
9 * | 9 * |
10 * created on: 03/30/2006 | 10 * created on: 03/30/2006 |
11 * created by: Eric R. Mader | 11 * created by: Eric R. Mader |
12 */ | 12 */ |
13 | 13 |
14 #ifndef __SIMPLEFONTINSTANCE_H | 14 #ifndef __SIMPLEFONTINSTANCE_H |
(...skipping 12 matching lines...) Expand all Loading... |
27 le_int32 fDescent; | 27 le_int32 fDescent; |
28 | 28 |
29 protected: | 29 protected: |
30 const void *readFontTable(LETag tableTag) const; | 30 const void *readFontTable(LETag tableTag) const; |
31 | 31 |
32 public: | 32 public: |
33 SimpleFontInstance(float pointSize, LEErrorCode &status); | 33 SimpleFontInstance(float pointSize, LEErrorCode &status); |
34 | 34 |
35 virtual ~SimpleFontInstance(); | 35 virtual ~SimpleFontInstance(); |
36 | 36 |
37 virtual const void *getFontTable(LETag tableTag) const; | 37 virtual const void *getFontTable(LETag tableTag, size_t &length) const; |
38 | 38 |
39 virtual le_int32 getUnitsPerEM() const; | 39 virtual le_int32 getUnitsPerEM() const; |
40 | 40 |
41 virtual le_int32 getAscent() const; | 41 virtual le_int32 getAscent() const; |
42 | 42 |
43 virtual le_int32 getDescent() const; | 43 virtual le_int32 getDescent() const; |
44 | 44 |
45 virtual le_int32 getLeading() const; | 45 virtual le_int32 getLeading() const; |
46 | 46 |
47 // We really want to inherit this method from the superclass, but some compi
lers | 47 // We really want to inherit this method from the superclass, but some compi
lers |
(...skipping 14 matching lines...) Expand all Loading... |
62 | 62 |
63 float getYPixelsPerEm() const; | 63 float getYPixelsPerEm() const; |
64 | 64 |
65 float getScaleFactorX() const; | 65 float getScaleFactorX() const; |
66 | 66 |
67 float getScaleFactorY() const; | 67 float getScaleFactorY() const; |
68 | 68 |
69 }; | 69 }; |
70 | 70 |
71 #endif | 71 #endif |
OLD | NEW |