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 #include "xfa/include/fwl/lightwidget/picturebox.h" | 7 #include "xfa/include/fwl/lightwidget/picturebox.h" |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 matrix.Translate(-fLen, -fWid); | 110 matrix.Translate(-fLen, -fWid); |
111 matrix.Rotate(m_fRotation); | 111 matrix.Rotate(m_fRotation); |
112 matrix.Translate(fLen, fWid); | 112 matrix.Translate(fLen, fWid); |
113 matrix.Scale(m_fScaleX, m_fScaleY); | 113 matrix.Scale(m_fScaleX, m_fScaleY); |
114 matrix.Translate(m_fOffSetX, m_fOffSetY); | 114 matrix.Translate(m_fOffSetX, m_fOffSetY); |
115 return FWL_ERR_Succeeded; | 115 return FWL_ERR_Succeeded; |
116 } | 116 } |
117 int32_t CFWL_PictureBox::CFWL_PictureBoxDP::GetFlipMode(IFWL_Widget* pWidget) { | 117 int32_t CFWL_PictureBox::CFWL_PictureBoxDP::GetFlipMode(IFWL_Widget* pWidget) { |
118 return m_iFlipMode; | 118 return m_iFlipMode; |
119 } | 119 } |
OLD | NEW |