Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Side by Side Diff: include/device/xps/SkXPSDevice.h

Issue 198943003: getDeviceCapabilities is no longer need, so remove it (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698