| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 SkPaintFilterCanvas_DEFINED | 8 #ifndef SkPaintFilterCanvas_DEFINED |
| 9 #define SkPaintFilterCanvas_DEFINED | 9 #define SkPaintFilterCanvas_DEFINED |
| 10 | 10 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 | 49 |
| 50 void onDrawPaint(const SkPaint&) override; | 50 void onDrawPaint(const SkPaint&) override; |
| 51 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; | 51 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; |
| 52 void onDrawRect(const SkRect&, const SkPaint&) override; | 52 void onDrawRect(const SkRect&, const SkPaint&) override; |
| 53 void onDrawRRect(const SkRRect&, const SkPaint&) override; | 53 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
| 54 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; | 54 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; |
| 55 void onDrawOval(const SkRect&, const SkPaint&) override; | 55 void onDrawOval(const SkRect&, const SkPaint&) override; |
| 56 void onDrawPath(const SkPath&, const SkPaint&) override; | 56 void onDrawPath(const SkPath&, const SkPaint&) override; |
| 57 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; | 57 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; |
| 58 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, | 58 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, |
| 59 SK_VIRTUAL_CONSTRAINT_TYPE) override; | 59 SrcRectConstraint) override; |
| 60 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; | 60 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; |
| 61 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, | 61 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, |
| 62 const SkPaint* SRC_RECT_CONSTRAINT_PARAM(constraint)) o
verride; | 62 const SkPaint*, SrcRectConstraint) override; |
| 63 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, | 63 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, |
| 64 const SkPaint*) override; | 64 const SkPaint*) override; |
| 65 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri
de; | 65 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri
de; |
| 66 void onDrawVertices(VertexMode vmode, int vertexCount, | 66 void onDrawVertices(VertexMode vmode, int vertexCount, |
| 67 const SkPoint vertices[], const SkPoint texs[], | 67 const SkPoint vertices[], const SkPoint texs[], |
| 68 const SkColor colors[], SkXfermode* xmode, | 68 const SkColor colors[], SkXfermode* xmode, |
| 69 const uint16_t indices[], int indexCount, | 69 const uint16_t indices[], int indexCount, |
| 70 const SkPaint&) override; | 70 const SkPaint&) override; |
| 71 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 71 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
| 72 const SkPoint texCoords[4], SkXfermode* xmode, | 72 const SkPoint texCoords[4], SkXfermode* xmode, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 84 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, | 84 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
| 85 const SkPaint& paint) override; | 85 const SkPaint& paint) override; |
| 86 | 86 |
| 87 private: | 87 private: |
| 88 class AutoPaintFilter; | 88 class AutoPaintFilter; |
| 89 | 89 |
| 90 typedef SkNWayCanvas INHERITED; | 90 typedef SkNWayCanvas INHERITED; |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 #endif | 93 #endif |
| OLD | NEW |