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 CORE_FXCRT_INCLUDE_FX_COORDINATES_H_ | 7 #ifndef CORE_FXCRT_FX_COORDINATES_H_ |
8 #define CORE_FXCRT_INCLUDE_FX_COORDINATES_H_ | 8 #define CORE_FXCRT_FX_COORDINATES_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_basic.h" | 10 #include "core/fxcrt/fx_basic.h" |
11 | 11 |
12 class CFX_Matrix; | 12 class CFX_Matrix; |
13 | 13 |
14 template <class BaseType> | 14 template <class BaseType> |
15 class CFX_PSTemplate { | 15 class CFX_PSTemplate { |
16 public: | 16 public: |
17 CFX_PSTemplate() : x(0), y(0) {} | 17 CFX_PSTemplate() : x(0), y(0) {} |
18 CFX_PSTemplate(BaseType new_x, BaseType new_y) : x(new_x), y(new_y) {} | 18 CFX_PSTemplate(BaseType new_x, BaseType new_y) : x(new_x), y(new_y) {} |
19 CFX_PSTemplate(const CFX_PSTemplate& other) : x(other.x), y(other.y) {} | 19 CFX_PSTemplate(const CFX_PSTemplate& other) : x(other.x), y(other.y) {} |
20 void clear() { | 20 void clear() { |
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 | 661 |
662 public: | 662 public: |
663 FX_FLOAT a; | 663 FX_FLOAT a; |
664 FX_FLOAT b; | 664 FX_FLOAT b; |
665 FX_FLOAT c; | 665 FX_FLOAT c; |
666 FX_FLOAT d; | 666 FX_FLOAT d; |
667 FX_FLOAT e; | 667 FX_FLOAT e; |
668 FX_FLOAT f; | 668 FX_FLOAT f; |
669 }; | 669 }; |
670 | 670 |
671 #endif // CORE_FXCRT_INCLUDE_FX_COORDINATES_H_ | 671 #endif // CORE_FXCRT_FX_COORDINATES_H_ |
OLD | NEW |