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

Unified Diff: src/utils/SkLuaCanvas.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 side-by-side diff with in-line comments
Download patch
Index: src/utils/SkLuaCanvas.cpp
===================================================================
--- src/utils/SkLuaCanvas.cpp (revision 10709)
+++ src/utils/SkLuaCanvas.cpp (working copy)
@@ -206,7 +206,7 @@
}
void SkLuaCanvas::drawBitmap(const SkBitmap& bitmap, SkScalar x, SkScalar y,
- const SkPaint* paint) {
+ const SkPaint* paint) {
AUTO_LUA("drawBitmap");
if (paint) {
lua.pushPaint(*paint, "paint");
@@ -214,7 +214,8 @@
}
void SkLuaCanvas::drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src,
- const SkRect& dst, const SkPaint* paint) {
+ const SkRect& dst, const SkPaint* paint,
+ DrawBitmapRectFlags flags) {
AUTO_LUA("drawBitmapRectToRect");
if (paint) {
lua.pushPaint(*paint, "paint");
@@ -222,7 +223,7 @@
}
void SkLuaCanvas::drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m,
- const SkPaint* paint) {
+ const SkPaint* paint) {
AUTO_LUA("drawBitmapMatrix");
if (paint) {
lua.pushPaint(*paint, "paint");

Powered by Google App Engine
This is Rietveld 408576698