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

Side by Side Diff: fpdfsdk/src/fxedit/fxet_pageobjs.cpp

Issue 1434223002: Remove relative includes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years, 1 month 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/src/fxedit/fxet_module.cpp ('k') | fpdfsdk/src/javascript/Consts.cpp » ('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 #include "../../include/fxedit/fxet_stub.h" 7 #include "fpdfsdk/include/fxedit/fx_edit.h"
8 #include "../../include/fxedit/fx_edit.h" 8 #include "fpdfsdk/include/fxedit/fxet_edit.h"
9 #include "../../include/fxedit/fxet_edit.h" 9 #include "fpdfsdk/include/fxedit/fxet_stub.h"
10 10
11 #define FX_EDIT_UNDERLINEHALFWIDTH 0.5f 11 #define FX_EDIT_UNDERLINEHALFWIDTH 0.5f
12 #define FX_EDIT_CROSSOUTHALFWIDTH 0.5f 12 #define FX_EDIT_CROSSOUTHALFWIDTH 0.5f
13 13
14 CPDF_Rect GetUnderLineRect(const CPVT_Word& word) { 14 CPDF_Rect GetUnderLineRect(const CPVT_Word& word) {
15 return CPDF_Rect(word.ptWord.x, word.ptWord.y + word.fDescent * 0.5f, 15 return CPDF_Rect(word.ptWord.x, word.ptWord.y + word.fDescent * 0.5f,
16 word.ptWord.x + word.fWidth, 16 word.ptWord.x + word.fWidth,
17 word.ptWord.y + word.fDescent * 0.25f); 17 word.ptWord.y + word.fDescent * 0.25f);
18 } 18 }
19 19
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 rcUnderline.left += ptOffset.x; 658 rcUnderline.left += ptOffset.x;
659 rcUnderline.right += ptOffset.x; 659 rcUnderline.right += ptOffset.x;
660 rcUnderline.top += ptOffset.y; 660 rcUnderline.top += ptOffset.y;
661 rcUnderline.bottom += ptOffset.y; 661 rcUnderline.bottom += ptOffset.y;
662 AddRectToPageObjects(pPageObjects, color, rcUnderline); 662 AddRectToPageObjects(pPageObjects, color, rcUnderline);
663 } 663 }
664 } 664 }
665 } 665 }
666 } 666 }
667 } 667 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/fxedit/fxet_module.cpp ('k') | fpdfsdk/src/javascript/Consts.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698