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_COMMONPERSPECTIVETRANSFORM_H_ | 7 #ifndef _BC_COMMONPERSPECTIVETRANSFORM_H_ |
8 #define _BC_COMMONPERSPECTIVETRANSFORM_H_ | 8 #define _BC_COMMONPERSPECTIVETRANSFORM_H_ |
9 class CBC_CommonPerspectiveTransform; | 9 class CBC_CommonPerspectiveTransform; |
10 class CBC_CommonPerspectiveTransform : public CFX_Object | 10 class CBC_CommonPerspectiveTransform : public CFX_Object |
(...skipping 19 matching lines...) Expand all Loading... |
30 FX_FLOAT x1, FX_FLOAT y1, | 30 FX_FLOAT x1, FX_FLOAT y1, |
31 FX_FLOAT x2, FX_FLOAT y2, | 31 FX_FLOAT x2, FX_FLOAT y2, |
32 FX_FLOAT x3, FX_FLOAT y3); | 32 FX_FLOAT x3, FX_FLOAT y3); |
33 CBC_CommonPerspectiveTransform *BuildAdjoint(); | 33 CBC_CommonPerspectiveTransform *BuildAdjoint(); |
34 CBC_CommonPerspectiveTransform *Times(CBC_CommonPerspectiveTransform &other)
; | 34 CBC_CommonPerspectiveTransform *Times(CBC_CommonPerspectiveTransform &other)
; |
35 void TransformPoints(CFX_FloatArray *points); | 35 void TransformPoints(CFX_FloatArray *points); |
36 private: | 36 private: |
37 FX_FLOAT m_a11, m_a12, m_a13, m_a21, m_a22, m_a23, m_a31, m_a32, m_a33; | 37 FX_FLOAT m_a11, m_a12, m_a13, m_a21, m_a22, m_a23, m_a31, m_a32, m_a33; |
38 }; | 38 }; |
39 #endif | 39 #endif |
OLD | NEW |