Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: fpdfsdk/include/fsdk_baseform.h

Issue 1513363002: Remove CFX_AffineMatrix/CPDF_Matrix (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Nits Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/include/fsdk_baseannot.h ('k') | fpdfsdk/include/fsdk_mgr.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ 7 #ifndef FPDFSDK_INCLUDE_FSDK_BASEFORM_H_
8 #define FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ 8 #define FPDFSDK_INCLUDE_FSDK_BASEFORM_H_
9 9
10 #if _FX_OS_ == _FX_ANDROID_ 10 #if _FX_OS_ == _FX_ANDROID_
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 void ResetAppearance_RadioButton(); 141 void ResetAppearance_RadioButton();
142 void ResetAppearance_ComboBox(const FX_WCHAR* sValue); 142 void ResetAppearance_ComboBox(const FX_WCHAR* sValue);
143 void ResetAppearance_ListBox(); 143 void ResetAppearance_ListBox();
144 void ResetAppearance_TextField(const FX_WCHAR* sValue); 144 void ResetAppearance_TextField(const FX_WCHAR* sValue);
145 145
146 CPDF_Rect GetClientRect() const; 146 CPDF_Rect GetClientRect() const;
147 CPDF_Rect GetRotatedRect() const; 147 CPDF_Rect GetRotatedRect() const;
148 148
149 CFX_ByteString GetBackgroundAppStream() const; 149 CFX_ByteString GetBackgroundAppStream() const;
150 CFX_ByteString GetBorderAppStream() const; 150 CFX_ByteString GetBorderAppStream() const;
151 CPDF_Matrix GetMatrix() const; 151 CFX_Matrix GetMatrix() const;
152 152
153 CPWL_Color GetTextPWLColor() const; 153 CPWL_Color GetTextPWLColor() const;
154 CPWL_Color GetBorderPWLColor() const; 154 CPWL_Color GetBorderPWLColor() const;
155 CPWL_Color GetFillPWLColor() const; 155 CPWL_Color GetFillPWLColor() const;
156 156
157 void AddImageToAppearance(const CFX_ByteString& sAPType, CPDF_Stream* pImage); 157 void AddImageToAppearance(const CFX_ByteString& sAPType, CPDF_Stream* pImage);
158 void RemoveAppearance(const CFX_ByteString& sAPType); 158 void RemoveAppearance(const CFX_ByteString& sAPType);
159 159
160 public: 160 public:
161 FX_BOOL IsWidgetAppearanceValid(CPDF_Annot::AppearanceMode mode); 161 FX_BOOL IsWidgetAppearanceValid(CPDF_Annot::AppearanceMode mode);
162 void DrawAppearance(CFX_RenderDevice* pDevice, 162 void DrawAppearance(CFX_RenderDevice* pDevice,
163 const CPDF_Matrix* pUser2Device, 163 const CFX_Matrix* pUser2Device,
164 CPDF_Annot::AppearanceMode mode, 164 CPDF_Annot::AppearanceMode mode,
165 const CPDF_RenderOptions* pOptions) override; 165 const CPDF_RenderOptions* pOptions) override;
166 166
167 FX_BOOL HitTest(FX_FLOAT pageX, FX_FLOAT pageY); 167 FX_BOOL HitTest(FX_FLOAT pageX, FX_FLOAT pageY);
168 168
169 private: 169 private:
170 CPDFSDK_InterForm* m_pInterForm; 170 CPDFSDK_InterForm* m_pInterForm;
171 FX_BOOL m_bAppModified; 171 FX_BOOL m_bAppModified;
172 int32_t m_nAppAge; 172 int32_t m_nAppAge;
173 int32_t m_nValueAge; 173 int32_t m_nValueAge;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot); 302 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot);
303 303
304 CPDFSDK_PageView* m_pPageView; 304 CPDFSDK_PageView* m_pPageView;
305 CFX_ByteString m_sType; 305 CFX_ByteString m_sType;
306 CFX_ByteString m_sSubType; 306 CFX_ByteString m_sSubType;
307 int m_nTabs; 307 int m_nTabs;
308 CPDFSDK_Annots m_Annots; 308 CPDFSDK_Annots m_Annots;
309 }; 309 };
310 310
311 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ 311 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/fsdk_baseannot.h ('k') | fpdfsdk/include/fsdk_mgr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698