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

Side by Side Diff: include/pdf/SkPDFDevice.h

Issue 19977003: drawBitmap* cleanup (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Fixed bugs Created 7 years, 4 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
« no previous file with comments | « include/gpu/SkGpuDevice.h ('k') | src/core/SkCanvas.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 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkPDFDevice_DEFINED 10 #ifndef SkPDFDevice_DEFINED
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 size_t count, const SkPoint[], 83 size_t count, const SkPoint[],
84 const SkPaint& paint) SK_OVERRIDE; 84 const SkPaint& paint) SK_OVERRIDE;
85 virtual void drawRect(const SkDraw&, const SkRect& r, const SkPaint& paint); 85 virtual void drawRect(const SkDraw&, const SkRect& r, const SkPaint& paint);
86 virtual void drawPath(const SkDraw&, const SkPath& origpath, 86 virtual void drawPath(const SkDraw&, const SkPath& origpath,
87 const SkPaint& paint, const SkMatrix* prePathMatrix, 87 const SkPaint& paint, const SkMatrix* prePathMatrix,
88 bool pathIsMutable) SK_OVERRIDE; 88 bool pathIsMutable) SK_OVERRIDE;
89 virtual void drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap, 89 virtual void drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap,
90 const SkRect* src, const SkRect& dst, 90 const SkRect* src, const SkRect& dst,
91 const SkPaint& paint) SK_OVERRIDE; 91 const SkPaint& paint) SK_OVERRIDE;
92 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap, 92 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap,
93 const SkIRect* srcRectOrNull,
94 const SkMatrix& matrix, const SkPaint&) SK_OVERRIDE; 93 const SkMatrix& matrix, const SkPaint&) SK_OVERRIDE;
95 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, int x, int y, 94 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, int x, int y,
96 const SkPaint& paint) SK_OVERRIDE; 95 const SkPaint& paint) SK_OVERRIDE;
97 virtual void drawText(const SkDraw&, const void* text, size_t len, 96 virtual void drawText(const SkDraw&, const void* text, size_t len,
98 SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE; 97 SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE;
99 virtual void drawPosText(const SkDraw&, const void* text, size_t len, 98 virtual void drawPosText(const SkDraw&, const void* text, size_t len,
100 const SkScalar pos[], SkScalar constY, 99 const SkScalar pos[], SkScalar constY,
101 int scalarsPerPos, const SkPaint&) SK_OVERRIDE; 100 int scalarsPerPos, const SkPaint&) SK_OVERRIDE;
102 virtual void drawTextOnPath(const SkDraw&, const void* text, size_t len, 101 virtual void drawTextOnPath(const SkDraw&, const void* text, size_t len,
103 const SkPath& path, const SkMatrix* matrix, 102 const SkPath& path, const SkMatrix* matrix,
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 const SkMatrix& matrix); 302 const SkMatrix& matrix);
304 void handleLinkToNamedDest(SkData* nameData, const SkRect& r, 303 void handleLinkToNamedDest(SkData* nameData, const SkRect& r,
305 const SkMatrix& matrix); 304 const SkMatrix& matrix);
306 void defineNamedDestination(SkData* nameData, const SkPoint& point, 305 void defineNamedDestination(SkData* nameData, const SkPoint& point,
307 const SkMatrix& matrix); 306 const SkMatrix& matrix);
308 307
309 typedef SkDevice INHERITED; 308 typedef SkDevice INHERITED;
310 }; 309 };
311 310
312 #endif 311 #endif
OLDNEW
« no previous file with comments | « include/gpu/SkGpuDevice.h ('k') | src/core/SkCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698