| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 SkXfermode* xmode, | 128 SkXfermode* xmode, |
| 129 const uint16_t indices[], int indexCount, | 129 const uint16_t indices[], int indexCount, |
| 130 const SkPaint& paint) SK_OVERRIDE; | 130 const SkPaint& paint) SK_OVERRIDE; |
| 131 | 131 |
| 132 virtual void drawDevice( | 132 virtual void drawDevice( |
| 133 const SkDraw&, | 133 const SkDraw&, |
| 134 SkBaseDevice* device, | 134 SkBaseDevice* device, |
| 135 int x, int y, | 135 int x, int y, |
| 136 const SkPaint& paint) SK_OVERRIDE; | 136 const SkPaint& paint) SK_OVERRIDE; |
| 137 | 137 |
| 138 bool allowImageFilter(const SkImageFilter*) SK_OVERRIDE; |
| 139 |
| 138 private: | 140 private: |
| 139 class TypefaceUse : ::SkNoncopyable { | 141 class TypefaceUse : ::SkNoncopyable { |
| 140 public: | 142 public: |
| 141 SkFontID typefaceId; | 143 SkFontID typefaceId; |
| 142 int ttcIndex; | 144 int ttcIndex; |
| 143 SkStream* fontData; | 145 SkStream* fontData; |
| 144 IXpsOMFontResource* xpsFont; | 146 IXpsOMFontResource* xpsFont; |
| 145 SkBitSet* glyphsUsed; | 147 SkBitSet* glyphsUsed; |
| 146 | 148 |
| 147 explicit TypefaceUse(); | 149 explicit TypefaceUse(); |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 SkMatrix* matrix, | 304 SkMatrix* matrix, |
| 303 SkVector* ppuScale, | 305 SkVector* ppuScale, |
| 304 const SkIRect& clip, SkIRect* clipIRect); | 306 const SkIRect& clip, SkIRect* clipIRect); |
| 305 | 307 |
| 306 HRESULT applyMask( | 308 HRESULT applyMask( |
| 307 const SkDraw& d, | 309 const SkDraw& d, |
| 308 const SkMask& mask, | 310 const SkMask& mask, |
| 309 const SkVector& ppuScale, | 311 const SkVector& ppuScale, |
| 310 IXpsOMPath* shadedPath); | 312 IXpsOMPath* shadedPath); |
| 311 | 313 |
| 312 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) SK_OVERRIDE; | 314 SkBaseDevice* onCreateCompatibleDevice(const CreateInfo&) SK_OVERRIDE; |
| 313 | 315 |
| 314 // Disable the default copy and assign implementation. | 316 // Disable the default copy and assign implementation. |
| 315 SkXPSDevice(const SkXPSDevice&); | 317 SkXPSDevice(const SkXPSDevice&); |
| 316 void operator=(const SkXPSDevice&); | 318 void operator=(const SkXPSDevice&); |
| 317 | 319 |
| 318 typedef SkBitmapDevice INHERITED; | 320 typedef SkBitmapDevice INHERITED; |
| 319 }; | 321 }; |
| 320 | 322 |
| 321 #endif | 323 #endif |
| OLD | NEW |