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

Side by Side Diff: core/fxge/apple/fx_quartz_device.cpp

Issue 2503883003: Revert of Create a subset of skia support for paths only (Closed)
Patch Set: Created 4 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/fpdfapi/render/fpdf_render_image.cpp ('k') | core/fxge/ge/cfx_renderdevice.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 "core/fxcrt/fx_ext.h" 7 #include "core/fxcrt/fx_ext.h"
8 8
9 #if !defined _SKIA_SUPPORT_ && !defined _SKIA_SUPPORT_PATHS_ 9 #ifndef _SKIA_SUPPORT_
10 #include "core/fxge/agg/fx_agg_driver.h" 10 #include "core/fxge/agg/fx_agg_driver.h"
11 #endif 11 #endif
12 12
13 #include "core/fxcrt/fx_memory.h" 13 #include "core/fxcrt/fx_memory.h"
14 #include "core/fxge/cfx_gemodule.h" 14 #include "core/fxge/cfx_gemodule.h"
15 #include "core/fxge/cfx_graphstatedata.h" 15 #include "core/fxge/cfx_graphstatedata.h"
16 #include "core/fxge/cfx_pathdata.h" 16 #include "core/fxge/cfx_pathdata.h"
17 #include "core/fxge/cfx_renderdevice.h" 17 #include "core/fxge/cfx_renderdevice.h"
18 #include "core/fxge/dib/dib_int.h" 18 #include "core/fxge/dib/dib_int.h"
19 #include "core/fxge/fx_freetype.h" 19 #include "core/fxge/fx_freetype.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 void CQuartz2D::saveGraphicsState(void* graphics) { 120 void CQuartz2D::saveGraphicsState(void* graphics) {
121 if (graphics) 121 if (graphics)
122 CGContextSaveGState((CGContextRef)graphics); 122 CGContextSaveGState((CGContextRef)graphics);
123 } 123 }
124 124
125 void CQuartz2D::restoreGraphicsState(void* graphics) { 125 void CQuartz2D::restoreGraphicsState(void* graphics) {
126 if (graphics) 126 if (graphics)
127 CGContextRestoreGState((CGContextRef)graphics); 127 CGContextRestoreGState((CGContextRef)graphics);
128 } 128 }
OLDNEW
« no previous file with comments | « core/fpdfapi/render/fpdf_render_image.cpp ('k') | core/fxge/ge/cfx_renderdevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698