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

Side by Side Diff: src/core/SkPictureRecord.h

Issue 1534443003: remove drawSprite from canvas (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: really tired of unused variable warnings Created 5 years 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
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 SkPictureRecord_DEFINED 8 #ifndef SkPictureRecord_DEFINED
9 #define SkPictureRecord_DEFINED 9 #define SkPictureRecord_DEFINED
10 10
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain t*) override; 185 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain t*) override;
186 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*, 186 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*,
187 SrcRectConstraint) override; 187 SrcRectConstraint) override;
188 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint* ) override; 188 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint* ) override;
189 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, 189 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
190 const SkPaint*, SrcRectConstraint) override; 190 const SkPaint*, SrcRectConstraint) override;
191 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds t, 191 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds t,
192 const SkPaint*) override; 192 const SkPaint*) override;
193 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, 193 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst,
194 const SkPaint*) override; 194 const SkPaint*) override;
195 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri de;
196 void onDrawVertices(VertexMode vmode, int vertexCount, 195 void onDrawVertices(VertexMode vmode, int vertexCount,
197 const SkPoint vertices[], const SkPoint texs[], 196 const SkPoint vertices[], const SkPoint texs[],
198 const SkColor colors[], SkXfermode* xmode, 197 const SkColor colors[], SkXfermode* xmode,
199 const uint16_t indices[], int indexCount, 198 const uint16_t indices[], int indexCount,
200 const SkPaint&) override; 199 const SkPaint&) override;
201 200
202 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; 201 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override;
203 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; 202 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override;
204 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; 203 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override;
205 void onClipRegion(const SkRegion&, SkRegion::Op) override; 204 void onClipRegion(const SkRegion&, SkRegion::Op) override;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 241
243 uint32_t fRecordFlags; 242 uint32_t fRecordFlags;
244 int fInitialSaveCount; 243 int fInitialSaveCount;
245 244
246 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c onstructor 245 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c onstructor
247 246
248 typedef SkCanvas INHERITED; 247 typedef SkCanvas INHERITED;
249 }; 248 };
250 249
251 #endif 250 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698