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

Side by Side Diff: core/src/fxge/agg/src/fx_agg_driver.cpp

Issue 1425153006: Fix all relative includes to third_party. (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 | « core/src/fxge/agg/include/fx_agg_driver.h ('k') | core/src/fxge/freetype/fx_freetype.c » ('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/fxcodec/fx_codec.h"
7 #include "../../../../include/fxge/fx_ge.h" 8 #include "../../../../include/fxge/fx_ge.h"
8 #include "../../dib/dib_int.h" 9 #include "../../dib/dib_int.h"
9 #include "../../ge/text_int.h" 10 #include "../../ge/text_int.h"
10 #include "../../../../include/fxcodec/fx_codec.h"
11 #include "../../../../../third_party/agg23/agg_pixfmt_gray.h"
12 #include "../../../../../third_party/agg23/agg_path_storage.h"
13 #include "../../../../../third_party/agg23/agg_scanline_u.h"
14 #include "../../../../../third_party/agg23/agg_rasterizer_scanline_aa.h"
15 #include "../../../../../third_party/agg23/agg_renderer_scanline.h"
16 #include "../../../../../third_party/agg23/agg_curves.h"
17 #include "../../../../../third_party/agg23/agg_conv_stroke.h"
18 #include "../../../../../third_party/agg23/agg_conv_dash.h"
19 #include "../include/fx_agg_driver.h" 11 #include "../include/fx_agg_driver.h"
12 #include "third_party/agg23/agg_conv_dash.h"
13 #include "third_party/agg23/agg_conv_stroke.h"
14 #include "third_party/agg23/agg_curves.h"
15 #include "third_party/agg23/agg_path_storage.h"
16 #include "third_party/agg23/agg_pixfmt_gray.h"
17 #include "third_party/agg23/agg_rasterizer_scanline_aa.h"
18 #include "third_party/agg23/agg_renderer_scanline.h"
19 #include "third_party/agg23/agg_scanline_u.h"
20
20 void _HardClip(FX_FLOAT& x, FX_FLOAT& y) { 21 void _HardClip(FX_FLOAT& x, FX_FLOAT& y) {
21 if (x > 50000) { 22 if (x > 50000) {
22 x = 50000; 23 x = 50000;
23 } 24 }
24 if (x < -50000) { 25 if (x < -50000) {
25 x = -50000; 26 x = -50000;
26 } 27 }
27 if (y > 50000) { 28 if (y > 50000) {
28 y = 50000; 29 y = 50000;
29 } 30 }
(...skipping 1755 matching lines...) Expand 10 before | Expand all | Expand 10 after
1785 IFX_RenderDeviceDriver* pDriver = 1786 IFX_RenderDeviceDriver* pDriver =
1786 new CFX_AggDeviceDriver(pBitmap, dither_bits, FALSE, pOriDevice, FALSE); 1787 new CFX_AggDeviceDriver(pBitmap, dither_bits, FALSE, pOriDevice, FALSE);
1787 SetDeviceDriver(pDriver); 1788 SetDeviceDriver(pDriver);
1788 return TRUE; 1789 return TRUE;
1789 } 1790 }
1790 CFX_FxgeDevice::~CFX_FxgeDevice() { 1791 CFX_FxgeDevice::~CFX_FxgeDevice() {
1791 if (m_bOwnedBitmap) { 1792 if (m_bOwnedBitmap) {
1792 delete GetBitmap(); 1793 delete GetBitmap();
1793 } 1794 }
1794 } 1795 }
OLDNEW
« no previous file with comments | « core/src/fxge/agg/include/fx_agg_driver.h ('k') | core/src/fxge/freetype/fx_freetype.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698