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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 SkMatrix* matrix, | 305 SkMatrix* matrix, |
306 SkVector* ppuScale, | 306 SkVector* ppuScale, |
307 const SkIRect& clip, SkIRect* clipIRect); | 307 const SkIRect& clip, SkIRect* clipIRect); |
308 | 308 |
309 HRESULT applyMask( | 309 HRESULT applyMask( |
310 const SkDraw& d, | 310 const SkDraw& d, |
311 const SkMask& mask, | 311 const SkMask& mask, |
312 const SkVector& ppuScale, | 312 const SkVector& ppuScale, |
313 IXpsOMPath* shadedPath); | 313 IXpsOMPath* shadedPath); |
314 | 314 |
315 // override from SkBaseDevice | 315 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) SK_OVERRIDE; |
316 virtual SkBaseDevice* onCreateCompatibleDevice(SkBitmap::Config config, | |
317 int width, int height, | |
318 bool isOpaque, | |
319 Usage usage) SK_OVERRIDE; | |
320 | 316 |
321 // Disable the default copy and assign implementation. | 317 // Disable the default copy and assign implementation. |
322 SkXPSDevice(const SkXPSDevice&); | 318 SkXPSDevice(const SkXPSDevice&); |
323 void operator=(const SkXPSDevice&); | 319 void operator=(const SkXPSDevice&); |
324 | 320 |
325 typedef SkBitmapDevice INHERITED; | 321 typedef SkBitmapDevice INHERITED; |
326 }; | 322 }; |
327 | 323 |
328 #endif | 324 #endif |
OLD | NEW |