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

Side by Side Diff: fpdfsdk/include/formfiller/FFL_Utils.h

Issue 453133004: clang-format all code (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 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
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 #define FFL_BASE_USERUNIT» » » 1.0f / 72.0f 7 #define FFL_BASE_USERUNIT 1.0f / 72.0f
8 8
9 template<class T> T FFL_MIN (const T & i, const T & j) { return ((i < j) ? i : j ); } 9 template <class T>
10 template<class T> T FFL_MAX (const T & i, const T & j) { return ((i > j) ? i : j ); } 10 T FFL_MIN(const T& i, const T& j) {
11 return ((i < j) ? i : j);
12 }
13 template <class T>
14 T FFL_MAX(const T& i, const T& j) {
15 return ((i > j) ? i : j);
16 }
11 17
12 class CFFL_Utils 18 class CFFL_Utils {
13 { 19 public:
14 public: 20 static CPDF_Rect MaxRect(const CPDF_Rect& rect1, const CPDF_Rect& rect2);
15 » static CPDF_Rect» » » » MaxRect(const CPDF_Rect & rect1,const CPDF_Rect & rect2); 21 static CPDF_Rect InflateRect(const CPDF_Rect& crRect, const FX_FLOAT& fSize);
16 » static CPDF_Rect» » » » InflateRect(const CPDF_R ect & crRect, const FX_FLOAT & fSize); 22 static CPDF_Rect DeflateRect(const CPDF_Rect& crRect, const FX_FLOAT& fSize);
17 » static CPDF_Rect» » » » DeflateRect(const CPDF_R ect & crRect, const FX_FLOAT & fSize); 23 static FX_BOOL TraceObject(CPDF_Object* pObj);
18 » static FX_BOOL» » » » » TraceObject(CPDF_Object* pObj);
19 }; 24 };
20
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698