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

Side by Side Diff: include/device/xps/SkXPSDevice.h

Issue 156213002: Fix SkXPSDevice (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove fix to MatrixTestImageFilter Created 6 years, 10 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 | src/device/xps/SkXPSDevice.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 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkXPSDevice_DEFINED 8 #ifndef SkXPSDevice_DEFINED
9 #define SkXPSDevice_DEFINED 9 #define SkXPSDevice_DEFINED
10 10
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 const SkDraw&, 141 const SkDraw&,
142 SkBaseDevice* device, 142 SkBaseDevice* device,
143 int x, int y, 143 int x, int y,
144 const SkPaint& paint) SK_OVERRIDE; 144 const SkPaint& paint) SK_OVERRIDE;
145 145
146 virtual bool onReadPixels(const SkBitmap& bitmap, 146 virtual bool onReadPixels(const SkBitmap& bitmap,
147 int x, 147 int x,
148 int y, 148 int y,
149 SkCanvas::Config8888) SK_OVERRIDE; 149 SkCanvas::Config8888) SK_OVERRIDE;
150 150
151 virtual bool allowImageFilter(SkImageFilter*) SK_OVERRIDE; 151 virtual bool allowImageFilter(const SkImageFilter*) SK_OVERRIDE;
152 152
153 private: 153 private:
154 class TypefaceUse : ::SkNoncopyable { 154 class TypefaceUse : ::SkNoncopyable {
155 public: 155 public:
156 SkFontID typefaceId; 156 SkFontID typefaceId;
157 int ttcIndex; 157 int ttcIndex;
158 SkStream* fontData; 158 SkStream* fontData;
159 IXpsOMFontResource* xpsFont; 159 IXpsOMFontResource* xpsFont;
160 SkBitSet* glyphsUsed; 160 SkBitSet* glyphsUsed;
161 161
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 Usage usage) SK_OVERRIDE; 319 Usage usage) SK_OVERRIDE;
320 320
321 // Disable the default copy and assign implementation. 321 // Disable the default copy and assign implementation.
322 SkXPSDevice(const SkXPSDevice&); 322 SkXPSDevice(const SkXPSDevice&);
323 void operator=(const SkXPSDevice&); 323 void operator=(const SkXPSDevice&);
324 324
325 typedef SkBitmapDevice INHERITED; 325 typedef SkBitmapDevice INHERITED;
326 }; 326 };
327 327
328 #endif 328 #endif
OLDNEW
« no previous file with comments | « no previous file | src/device/xps/SkXPSDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698