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

Side by Side Diff: src/utils/SkProxyCanvas.cpp

Issue 20806003: Plumb in "bleed" flag (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Addressed pipe-specific issues and updated to ToT 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
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 #include "SkProxyCanvas.h" 8 #include "SkProxyCanvas.h"
9 9
10 SkProxyCanvas::SkProxyCanvas(SkCanvas* proxy) : fProxy(proxy) { 10 SkProxyCanvas::SkProxyCanvas(SkCanvas* proxy) : fProxy(proxy) {
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 void SkProxyCanvas::drawPath(const SkPath& path, const SkPaint& paint) { 98 void SkProxyCanvas::drawPath(const SkPath& path, const SkPaint& paint) {
99 fProxy->drawPath(path, paint); 99 fProxy->drawPath(path, paint);
100 } 100 }
101 101
102 void SkProxyCanvas::drawBitmap(const SkBitmap& bitmap, SkScalar x, SkScalar y, 102 void SkProxyCanvas::drawBitmap(const SkBitmap& bitmap, SkScalar x, SkScalar y,
103 const SkPaint* paint) { 103 const SkPaint* paint) {
104 fProxy->drawBitmap(bitmap, x, y, paint); 104 fProxy->drawBitmap(bitmap, x, y, paint);
105 } 105 }
106 106
107 void SkProxyCanvas::drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* s rc, 107 void SkProxyCanvas::drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* s rc,
108 const SkRect& dst, const SkPaint* paint) { 108 const SkRect& dst, const SkPaint* paint,
109 fProxy->drawBitmapRectToRect(bitmap, src, dst, paint); 109 DrawBitmapRectFlags flags) {
110 fProxy->drawBitmapRectToRect(bitmap, src, dst, paint, flags);
110 } 111 }
111 112
112 void SkProxyCanvas::drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, 113 void SkProxyCanvas::drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m,
113 const SkPaint* paint) { 114 const SkPaint* paint) {
114 fProxy->drawBitmapMatrix(bitmap, m, paint); 115 fProxy->drawBitmapMatrix(bitmap, m, paint);
115 } 116 }
116 117
117 void SkProxyCanvas::drawSprite(const SkBitmap& bitmap, int x, int y, 118 void SkProxyCanvas::drawSprite(const SkBitmap& bitmap, int x, int y,
118 const SkPaint* paint) { 119 const SkPaint* paint) {
119 fProxy->drawSprite(bitmap, x, y, paint); 120 fProxy->drawSprite(bitmap, x, y, paint);
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 fProxy->endCommentGroup(); 171 fProxy->endCommentGroup();
171 } 172 }
172 173
173 SkBounder* SkProxyCanvas::setBounder(SkBounder* bounder) { 174 SkBounder* SkProxyCanvas::setBounder(SkBounder* bounder) {
174 return fProxy->setBounder(bounder); 175 return fProxy->setBounder(bounder);
175 } 176 }
176 177
177 SkDrawFilter* SkProxyCanvas::setDrawFilter(SkDrawFilter* filter) { 178 SkDrawFilter* SkProxyCanvas::setDrawFilter(SkDrawFilter* filter) {
178 return fProxy->setDrawFilter(filter); 179 return fProxy->setDrawFilter(filter);
179 } 180 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698