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

Side by Side Diff: core/fpdfdoc/cpdf_annot.cpp

Issue 2392603004: Move core/fpdfapi/fpdf_parser to core/fpdfapi/parser (Closed)
Patch Set: Rebase to master Created 4 years, 2 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 | « core/fpdfdoc/cpdf_actionfields.cpp ('k') | core/fpdfdoc/cpdf_annotlist.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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 "core/fpdfdoc/cpdf_annot.h" 7 #include "core/fpdfdoc/cpdf_annot.h"
8 8
9 #include "core/fpdfapi/fpdf_parser/cpdf_array.h"
10 #include "core/fpdfapi/fpdf_parser/cpdf_document.h"
11 #include "core/fpdfapi/fpdf_render/cpdf_rendercontext.h" 9 #include "core/fpdfapi/fpdf_render/cpdf_rendercontext.h"
12 #include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h" 10 #include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
13 #include "core/fpdfapi/page/cpdf_form.h" 11 #include "core/fpdfapi/page/cpdf_form.h"
14 #include "core/fpdfapi/page/cpdf_page.h" 12 #include "core/fpdfapi/page/cpdf_page.h"
13 #include "core/fpdfapi/parser/cpdf_array.h"
14 #include "core/fpdfapi/parser/cpdf_document.h"
15 #include "core/fpdfdoc/cpvt_generateap.h" 15 #include "core/fpdfdoc/cpvt_generateap.h"
16 #include "core/fxcrt/fx_memory.h" 16 #include "core/fxcrt/fx_memory.h"
17 #include "core/fxge/cfx_graphstatedata.h" 17 #include "core/fxge/cfx_graphstatedata.h"
18 #include "core/fxge/cfx_pathdata.h" 18 #include "core/fxge/cfx_pathdata.h"
19 #include "core/fxge/cfx_renderdevice.h" 19 #include "core/fxge/cfx_renderdevice.h"
20 #include "third_party/base/ptr_util.h" 20 #include "third_party/base/ptr_util.h"
21 21
22 namespace { 22 namespace {
23 23
24 char kPDFiumKey_HasGeneratedAP[] = "PDFIUM_HasGeneratedAP"; 24 char kPDFiumKey_HasGeneratedAP[] = "PDFIUM_HasGeneratedAP";
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 CFX_PathData path; 490 CFX_PathData path;
491 width /= 2; 491 width /= 2;
492 path.AppendRect(rect.left + width, rect.bottom + width, rect.right - width, 492 path.AppendRect(rect.left + width, rect.bottom + width, rect.right - width,
493 rect.top - width); 493 rect.top - width);
494 int fill_type = 0; 494 int fill_type = 0;
495 if (pOptions && (pOptions->m_Flags & RENDER_NOPATHSMOOTH)) { 495 if (pOptions && (pOptions->m_Flags & RENDER_NOPATHSMOOTH)) {
496 fill_type |= FXFILL_NOPATHSMOOTH; 496 fill_type |= FXFILL_NOPATHSMOOTH;
497 } 497 }
498 pDevice->DrawPath(&path, pUser2Device, &graph_state, argb, argb, fill_type); 498 pDevice->DrawPath(&path, pUser2Device, &graph_state, argb, argb, fill_type);
499 } 499 }
OLDNEW
« no previous file with comments | « core/fpdfdoc/cpdf_actionfields.cpp ('k') | core/fpdfdoc/cpdf_annotlist.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698