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

Unified Diff: include/core/SkDevice.h

Issue 1992283002: Add drawBitmapLattice() API (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add implementation for SkRecorder and SkPictureRecord Created 4 years, 5 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: include/core/SkDevice.h
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index d23aa6916f5051ac032c318930eee10cba777884..9d34305300dc0e8bc015cf54ab6c513ad7386f0f 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -230,7 +230,9 @@ protected:
const SkPaint& paint,
SkCanvas::SrcRectConstraint) = 0;
virtual void drawBitmapNine(const SkDraw&, const SkBitmap&, const SkIRect& center,
- const SkRect& dst, const SkPaint&);
+ const SkRect& dst, const SkPaint&);
+ virtual void drawBitmapNine(const SkDraw&, const SkBitmap&, const SkCanvas::NinePatchDivs& divs,
+ const SkRect& dst, const SkPaint&);
virtual void drawImage(const SkDraw&, const SkImage*, SkScalar x, SkScalar y, const SkPaint&);
virtual void drawImageRect(const SkDraw&, const SkImage*, const SkRect* src, const SkRect& dst,

Powered by Google App Engine
This is Rietveld 408576698