| 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 XFA_SRC_FXBARCODE_COMMON_BC_COMMONPERSPECTIVETRANSFORM_H_ | 7 #ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONPERSPECTIVETRANSFORM_H_ |
| 8 #define XFA_SRC_FXBARCODE_COMMON_BC_COMMONPERSPECTIVETRANSFORM_H_ | 8 #define XFA_SRC_FXBARCODE_COMMON_BC_COMMONPERSPECTIVETRANSFORM_H_ |
| 9 | 9 |
| 10 #include "core/include/fxcrt/fx_basic.h" |
| 11 |
| 10 class CBC_CommonPerspectiveTransform { | 12 class CBC_CommonPerspectiveTransform { |
| 11 public: | 13 public: |
| 12 CBC_CommonPerspectiveTransform(FX_FLOAT a11, | 14 CBC_CommonPerspectiveTransform(FX_FLOAT a11, |
| 13 FX_FLOAT a21, | 15 FX_FLOAT a21, |
| 14 FX_FLOAT a31, | 16 FX_FLOAT a31, |
| 15 FX_FLOAT a12, | 17 FX_FLOAT a12, |
| 16 FX_FLOAT a22, | 18 FX_FLOAT a22, |
| 17 FX_FLOAT a32, | 19 FX_FLOAT a32, |
| 18 FX_FLOAT a13, | 20 FX_FLOAT a13, |
| 19 FX_FLOAT a23, | 21 FX_FLOAT a23, |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 FX_FLOAT y3); | 56 FX_FLOAT y3); |
| 55 CBC_CommonPerspectiveTransform* BuildAdjoint(); | 57 CBC_CommonPerspectiveTransform* BuildAdjoint(); |
| 56 CBC_CommonPerspectiveTransform* Times(CBC_CommonPerspectiveTransform& other); | 58 CBC_CommonPerspectiveTransform* Times(CBC_CommonPerspectiveTransform& other); |
| 57 void TransformPoints(CFX_FloatArray* points); | 59 void TransformPoints(CFX_FloatArray* points); |
| 58 | 60 |
| 59 private: | 61 private: |
| 60 FX_FLOAT m_a11, m_a12, m_a13, m_a21, m_a22, m_a23, m_a31, m_a32, m_a33; | 62 FX_FLOAT m_a11, m_a12, m_a13, m_a21, m_a22, m_a23, m_a31, m_a32, m_a33; |
| 61 }; | 63 }; |
| 62 | 64 |
| 63 #endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONPERSPECTIVETRANSFORM_H_ | 65 #endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONPERSPECTIVETRANSFORM_H_ |
| OLD | NEW |