OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |