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

Side by Side Diff: core/include/fxcrt/fx_coordinates.h

Issue 1751093002: Replace FX_LPCRECT typedef with underlying types (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Remove one more default value. Created 4 years, 9 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 | « no previous file | xfa/src/fee/include/ifde_txtedtpage.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 CORE_INCLUDE_FXCRT_FX_COORDINATES_H_ 7 #ifndef CORE_INCLUDE_FXCRT_FX_COORDINATES_H_
8 #define CORE_INCLUDE_FXCRT_FX_COORDINATES_H_ 8 #define CORE_INCLUDE_FXCRT_FX_COORDINATES_H_
9 9
10 #include "core/include/fxcrt/fx_basic.h" 10 #include "core/include/fxcrt/fx_basic.h"
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 rc1.width == rc2.width && rc1.height == rc2.height; 530 rc1.width == rc2.width && rc1.height == rc2.height;
531 } 531 }
532 friend bool operator!=(const FXT_RECT& rc1, const FXT_RECT& rc2) { 532 friend bool operator!=(const FXT_RECT& rc1, const FXT_RECT& rc2) {
533 return !(rc1 == rc2); 533 return !(rc1 == rc2);
534 } 534 }
535 baseType left, top; 535 baseType left, top;
536 baseType width, height; 536 baseType width, height;
537 }; 537 };
538 typedef CFX_RTemplate<int32_t> CFX_Rect; 538 typedef CFX_RTemplate<int32_t> CFX_Rect;
539 typedef CFX_RTemplate<FX_FLOAT> CFX_RectF; 539 typedef CFX_RTemplate<FX_FLOAT> CFX_RectF;
540 typedef CFX_RTemplate<int32_t>* FX_LPRECT;
541 typedef CFX_RTemplate<FX_FLOAT>* FX_LPRECTF;
542 typedef CFX_RTemplate<int32_t> const* FX_LPCRECT;
543 typedef CFX_RTemplate<FX_FLOAT> const* FX_LPCRECTF;
544 typedef CFX_ArrayTemplate<CFX_RectF> CFX_RectFArray; 540 typedef CFX_ArrayTemplate<CFX_RectF> CFX_RectFArray;
545 541
546 class CFX_Matrix { 542 class CFX_Matrix {
547 public: 543 public:
548 CFX_Matrix() { SetIdentity(); } 544 CFX_Matrix() { SetIdentity(); }
549 545
550 CFX_Matrix(FX_FLOAT a1, 546 CFX_Matrix(FX_FLOAT a1,
551 FX_FLOAT b1, 547 FX_FLOAT b1,
552 FX_FLOAT c1, 548 FX_FLOAT c1,
553 FX_FLOAT d1, 549 FX_FLOAT d1,
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 public: 662 public:
667 FX_FLOAT a; 663 FX_FLOAT a;
668 FX_FLOAT b; 664 FX_FLOAT b;
669 FX_FLOAT c; 665 FX_FLOAT c;
670 FX_FLOAT d; 666 FX_FLOAT d;
671 FX_FLOAT e; 667 FX_FLOAT e;
672 FX_FLOAT f; 668 FX_FLOAT f;
673 }; 669 };
674 670
675 #endif // CORE_INCLUDE_FXCRT_FX_COORDINATES_H_ 671 #endif // CORE_INCLUDE_FXCRT_FX_COORDINATES_H_
OLDNEW
« no previous file with comments | « no previous file | xfa/src/fee/include/ifde_txtedtpage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698