OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef _BC_DIMENSION_H_ | 7 #ifndef _BC_DIMENSION_H_ |
8 #define _BC_DIMENSION_H_ | 8 #define _BC_DIMENSION_H_ |
9 class CBC_Dimension; | 9 class CBC_Dimension; |
10 class CBC_Dimension : public CFX_Object | 10 class CBC_Dimension : public CFX_Object |
11 { | 11 { |
12 public: | 12 public: |
13 CBC_Dimension(); | 13 CBC_Dimension(); |
14 CBC_Dimension(FX_INT32 width, FX_INT32 height, FX_INT32 &e); | 14 CBC_Dimension(FX_INT32 width, FX_INT32 height, FX_INT32 &e); |
15 virtual ~CBC_Dimension(); | 15 virtual ~CBC_Dimension(); |
16 FX_INT32 getWidth(); | 16 FX_INT32 getWidth(); |
17 FX_INT32 getHeight(); | 17 FX_INT32 getHeight(); |
18 FX_INT32 hashCode(); | 18 FX_INT32 hashCode(); |
19 CFX_WideString toString(); | 19 CFX_WideString toString(); |
20 private: | 20 private: |
21 FX_INT32 m_width; | 21 FX_INT32 m_width; |
22 FX_INT32 m_height; | 22 FX_INT32 m_height; |
23 }; | 23 }; |
24 #endif | 24 #endif |
OLD | NEW |