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

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

Issue 70443002: Override drawRRect in fake SkBitmapDevices. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « no previous file | src/device/xps/SkXPSDevice.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 const SkDraw&, 78 const SkDraw&,
79 SkCanvas::PointMode mode, 79 SkCanvas::PointMode mode,
80 size_t count, const SkPoint[], 80 size_t count, const SkPoint[],
81 const SkPaint& paint) SK_OVERRIDE; 81 const SkPaint& paint) SK_OVERRIDE;
82 82
83 virtual void drawRect( 83 virtual void drawRect(
84 const SkDraw&, 84 const SkDraw&,
85 const SkRect& r, 85 const SkRect& r,
86 const SkPaint& paint) SK_OVERRIDE; 86 const SkPaint& paint) SK_OVERRIDE;
87 87
88 virtual void drawRRect(
89 const SkDraw&,
90 const SkRRect&,
91 const SkPaint& paint) SK_OVERRIDE;
92
88 virtual void drawPath( 93 virtual void drawPath(
89 const SkDraw&, 94 const SkDraw&,
90 const SkPath& platonicPath, 95 const SkPath& platonicPath,
91 const SkPaint& paint, 96 const SkPaint& paint,
92 const SkMatrix* prePathMatrix, 97 const SkMatrix* prePathMatrix,
93 bool pathIsMutable) SK_OVERRIDE; 98 bool pathIsMutable) SK_OVERRIDE;
94 99
95 virtual void drawBitmap( 100 virtual void drawBitmap(
96 const SkDraw&, 101 const SkDraw&,
97 const SkBitmap& bitmap, 102 const SkBitmap& bitmap,
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 Usage usage) SK_OVERRIDE; 319 Usage usage) SK_OVERRIDE;
315 320
316 // Disable the default copy and assign implementation. 321 // Disable the default copy and assign implementation.
317 SkXPSDevice(const SkXPSDevice&); 322 SkXPSDevice(const SkXPSDevice&);
318 void operator=(const SkXPSDevice&); 323 void operator=(const SkXPSDevice&);
319 324
320 typedef SkBitmapDevice INHERITED; 325 typedef SkBitmapDevice INHERITED;
321 }; 326 };
322 327
323 #endif 328 #endif
OLDNEW
« no previous file with comments | « no previous file | src/device/xps/SkXPSDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698