| OLD | NEW |
| 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 #ifndef SkNWayCanvas_DEFINED | 9 #ifndef SkNWayCanvas_DEFINED |
| 10 #define SkNWayCanvas_DEFINED | 10 #define SkNWayCanvas_DEFINED |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 void onDrawRRect(const SkRRect&, const SkPaint&) override; | 58 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
| 59 void onDrawPath(const SkPath&, const SkPaint&) override; | 59 void onDrawPath(const SkPath&, const SkPaint&) override; |
| 60 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; | 60 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; |
| 61 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, | 61 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, |
| 62 SrcRectConstraint) override; | 62 SrcRectConstraint) override; |
| 63 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; | 63 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; |
| 64 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, | 64 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, |
| 65 const SkPaint*, SrcRectConstraint) override; | 65 const SkPaint*, SrcRectConstraint) override; |
| 66 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, | 66 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, |
| 67 const SkPaint*) override; | 67 const SkPaint*) override; |
| 68 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri
de; |
| 68 void onDrawVertices(VertexMode vmode, int vertexCount, | 69 void onDrawVertices(VertexMode vmode, int vertexCount, |
| 69 const SkPoint vertices[], const SkPoint texs[], | 70 const SkPoint vertices[], const SkPoint texs[], |
| 70 const SkColor colors[], SkXfermode* xmode, | 71 const SkColor colors[], SkXfermode* xmode, |
| 71 const uint16_t indices[], int indexCount, | 72 const uint16_t indices[], int indexCount, |
| 72 const SkPaint&) override; | 73 const SkPaint&) override; |
| 73 | 74 |
| 74 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 75 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; |
| 75 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 76 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; |
| 76 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 77 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; |
| 77 void onClipRegion(const SkRegion&, SkRegion::Op) override; | 78 void onClipRegion(const SkRegion&, SkRegion::Op) override; |
| 78 | 79 |
| 79 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; | 80 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; |
| 80 | 81 |
| 81 class Iter; | 82 class Iter; |
| 82 | 83 |
| 83 private: | 84 private: |
| 84 typedef SkCanvas INHERITED; | 85 typedef SkCanvas INHERITED; |
| 85 }; | 86 }; |
| 86 | 87 |
| 87 | 88 |
| 88 #endif | 89 #endif |
| OLD | NEW |