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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 const SkVector& pixelsPerMeter, | 60 const SkVector& pixelsPerMeter, |
61 const SkSize& trimSize, | 61 const SkSize& trimSize, |
62 const SkRect* mediaBox = NULL, | 62 const SkRect* mediaBox = NULL, |
63 const SkRect* bleedBox = NULL, | 63 const SkRect* bleedBox = NULL, |
64 const SkRect* artBox = NULL, | 64 const SkRect* artBox = NULL, |
65 const SkRect* cropBox = NULL); | 65 const SkRect* cropBox = NULL); |
66 | 66 |
67 virtual bool endSheet(); | 67 virtual bool endSheet(); |
68 virtual bool endPortfolio(); | 68 virtual bool endPortfolio(); |
69 | 69 |
70 virtual uint32_t getDeviceCapabilities() SK_OVERRIDE; | |
71 | |
72 protected: | 70 protected: |
73 virtual void clear(SkColor color) SK_OVERRIDE; | 71 virtual void clear(SkColor color) SK_OVERRIDE; |
74 | 72 |
75 virtual void drawPaint(const SkDraw&, const SkPaint& paint) SK_OVERRIDE; | 73 virtual void drawPaint(const SkDraw&, const SkPaint& paint) SK_OVERRIDE; |
76 | 74 |
77 virtual void drawPoints( | 75 virtual void drawPoints( |
78 const SkDraw&, | 76 const SkDraw&, |
79 SkCanvas::PointMode mode, | 77 SkCanvas::PointMode mode, |
80 size_t count, const SkPoint[], | 78 size_t count, const SkPoint[], |
81 const SkPaint& paint) SK_OVERRIDE; | 79 const SkPaint& paint) SK_OVERRIDE; |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) SK_OVERRIDE; | 313 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) SK_OVERRIDE; |
316 | 314 |
317 // Disable the default copy and assign implementation. | 315 // Disable the default copy and assign implementation. |
318 SkXPSDevice(const SkXPSDevice&); | 316 SkXPSDevice(const SkXPSDevice&); |
319 void operator=(const SkXPSDevice&); | 317 void operator=(const SkXPSDevice&); |
320 | 318 |
321 typedef SkBitmapDevice INHERITED; | 319 typedef SkBitmapDevice INHERITED; |
322 }; | 320 }; |
323 | 321 |
324 #endif | 322 #endif |
OLD | NEW |