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

Side by Side Diff: fpdfsdk/include/pdfwindow/PWL_Utils.h

Issue 1257163002: Kill FX_READER_DLL symbol (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 4 months 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/pdfwindow/PWL_SpecialButton.h ('k') | fpdfsdk/include/pdfwindow/PWL_Wnd.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_PDFWINDOW_PWL_UTILS_H_ 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_ 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_
9 9
10 #include "../../../core/include/fpdfapi/fpdf_parser.h" // For CPDF_Point. 10 #include "../../../core/include/fpdfapi/fpdf_parser.h" // For CPDF_Point.
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 public: 97 public:
98 CPWL_PathData() : point(), type(PWLPT_UNKNOWN){} 98 CPWL_PathData() : point(), type(PWLPT_UNKNOWN){}
99 CPWL_PathData(const CPWL_Point& pt, PWL_PATHDATA_TYPE tp) : point(pt), t ype(tp) {} 99 CPWL_PathData(const CPWL_Point& pt, PWL_PATHDATA_TYPE tp) : point(pt), t ype(tp) {}
100 100
101 CPWL_Point point; 101 CPWL_Point point;
102 PWL_PATHDATA_TYPE type; 102 PWL_PATHDATA_TYPE type;
103 }; 103 };
104 104
105 class IPWL_SpellCheck; 105 class IPWL_SpellCheck;
106 106
107 class PWL_CLASS CPWL_Utils 107 class CPWL_Utils
108 { 108 {
109 public: 109 public:
110 static CPDF_Rect InflateR ect(const CPDF_Rect& rcRect, FX_FLOAT fSize); 110 static CPDF_Rect InflateR ect(const CPDF_Rect& rcRect, FX_FLOAT fSize);
111 static CPDF_Rect DeflateR ect(const CPDF_Rect& rcRect, FX_FLOAT fSize); 111 static CPDF_Rect DeflateR ect(const CPDF_Rect& rcRect, FX_FLOAT fSize);
112 static FX_BOOL Intersec tRect(const CPDF_Rect& rect1, const CPDF_Rect& rect2); 112 static FX_BOOL Intersec tRect(const CPDF_Rect& rect1, const CPDF_Rect& rect2);
113 static FX_BOOL Contains Rect(const CPDF_Rect& rcParent, const CPDF_Rect& rcChild); 113 static FX_BOOL Contains Rect(const CPDF_Rect& rcParent, const CPDF_Rect& rcChild);
114 static CPDF_Rect ScaleRec t(const CPDF_Rect& rcRect,FX_FLOAT fScale); 114 static CPDF_Rect ScaleRec t(const CPDF_Rect& rcRect,FX_FLOAT fScale);
115 static CPVT_WordRange OverlapWordRange (const CPVT_WordRange& wr1, const CPVT_WordRange& wr2); 115 static CPVT_WordRange OverlapWordRange (const CPVT_WordRange& wr1, const CPVT_WordRange& wr2);
116 static CPDF_Rect GetCente rSquare(const CPDF_Rect & rect); 116 static CPDF_Rect GetCente rSquare(const CPDF_Rect & rect);
117 static CPWL_Color Substrac tColor(const CPWL_Color & sColor,FX_FLOAT fColorSub); 117 static CPWL_Color Substrac tColor(const CPWL_Color & sColor,FX_FLOAT fColorSub);
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 static void GetGraphics_UpArrow(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_Re ct& crBBox, const PWL_PATH_TYPE type); 234 static void GetGraphics_UpArrow(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_Re ct& crBBox, const PWL_PATH_TYPE type);
235 static void GetGraphics_UpLeftArrow(CFX_ByteString& sPathData, CFX_PathData& path, const CPD F_Rect& crBBox, const PWL_PATH_TYPE type); 235 static void GetGraphics_UpLeftArrow(CFX_ByteString& sPathData, CFX_PathData& path, const CPD F_Rect& crBBox, const PWL_PATH_TYPE type);
236 static void GetGraphics_Graph(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_Rect & crBBox, const PWL_PATH_TYPE type); 236 static void GetGraphics_Graph(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_Rect & crBBox, const PWL_PATH_TYPE type);
237 static void GetGraphics_Paperclip(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_ Rect& crBBox, const PWL_PATH_TYPE type); 237 static void GetGraphics_Paperclip(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_ Rect& crBBox, const PWL_PATH_TYPE type);
238 static void GetGraphics_Attachment(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF _Rect& crBBox, const PWL_PATH_TYPE type); 238 static void GetGraphics_Attachment(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF _Rect& crBBox, const PWL_PATH_TYPE type);
239 static void GetGraphics_Tag(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_Rect& crBBox, const PWL_PATH_TYPE type); 239 static void GetGraphics_Tag(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_Rect& crBBox, const PWL_PATH_TYPE type);
240 static void GetGraphics_Foxit(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_Rect & crBBox, const PWL_PATH_TYPE type); 240 static void GetGraphics_Foxit(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_Rect & crBBox, const PWL_PATH_TYPE type);
241 }; 241 };
242 242
243 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_ 243 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/pdfwindow/PWL_SpecialButton.h ('k') | fpdfsdk/include/pdfwindow/PWL_Wnd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698