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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 const SkSize& trimSize, | 63 const SkSize& trimSize, |
64 const SkRect* mediaBox = NULL, | 64 const SkRect* mediaBox = NULL, |
65 const SkRect* bleedBox = NULL, | 65 const SkRect* bleedBox = NULL, |
66 const SkRect* artBox = NULL, | 66 const SkRect* artBox = NULL, |
67 const SkRect* cropBox = NULL); | 67 const SkRect* cropBox = NULL); |
68 | 68 |
69 virtual bool endSheet(); | 69 virtual bool endSheet(); |
70 virtual bool endPortfolio(); | 70 virtual bool endPortfolio(); |
71 | 71 |
72 protected: | 72 protected: |
73 virtual void clear(SkColor color) SK_OVERRIDE; | |
74 | |
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; |
82 | 80 |
83 virtual void drawRect( | 81 virtual void drawRect( |
84 const SkDraw&, | 82 const SkDraw&, |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 virtual SkBaseDevice* onCreateCompatibleDevice(const CreateInfo&) SK_OVERRID
E; | 320 virtual SkBaseDevice* onCreateCompatibleDevice(const CreateInfo&) SK_OVERRID
E; |
323 | 321 |
324 // Disable the default copy and assign implementation. | 322 // Disable the default copy and assign implementation. |
325 SkXPSDevice(const SkXPSDevice&); | 323 SkXPSDevice(const SkXPSDevice&); |
326 void operator=(const SkXPSDevice&); | 324 void operator=(const SkXPSDevice&); |
327 | 325 |
328 typedef SkBitmapDevice INHERITED; | 326 typedef SkBitmapDevice INHERITED; |
329 }; | 327 }; |
330 | 328 |
331 #endif | 329 #endif |
OLD | NEW |