| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 SkNulCanvas_DEFINED | 8 #ifndef SkNulCanvas_DEFINED |
| 9 #define SkNulCanvas_DEFINED | 9 #define SkNulCanvas_DEFINED |
| 10 | 10 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 virtual void drawRect(const SkRect& rect, const SkPaint& paint) SK_OVERRIDE
{} | 33 virtual void drawRect(const SkRect& rect, const SkPaint& paint) SK_OVERRIDE
{} |
| 34 virtual void drawOval(const SkRect& oval, const SkPaint&) SK_OVERRIDE {} | 34 virtual void drawOval(const SkRect& oval, const SkPaint&) SK_OVERRIDE {} |
| 35 virtual void drawRRect(const SkRRect& rrect, const SkPaint& paint) SK_OVERRI
DE {} | 35 virtual void drawRRect(const SkRRect& rrect, const SkPaint& paint) SK_OVERRI
DE {} |
| 36 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE
{} | 36 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE
{} |
| 37 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, | 37 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, |
| 38 const SkPaint* paint = NULL) SK_OVERRIDE {} | 38 const SkPaint* paint = NULL) SK_OVERRIDE {} |
| 39 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, | 39 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, |
| 40 const SkRect& dst, | 40 const SkRect& dst, |
| 41 const SkPaint* paint, | 41 const SkPaint* paint, |
| 42 DrawBitmapRectFlags flags) SK_OVERRIDE {} | 42 DrawBitmapRectFlags flags) SK_OVERRIDE {} |
| 43 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, | |
| 44 const SkPaint* paint = NULL) SK_OVERRIDE {} | |
| 45 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, | 43 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, |
| 46 const SkRect& dst, const SkPaint* paint = NULL)
SK_OVERRIDE {} | 44 const SkRect& dst, const SkPaint* paint = NULL)
SK_OVERRIDE {} |
| 47 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, | 45 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, |
| 48 const SkPaint* paint = NULL) SK_OVERRIDE {} | 46 const SkPaint* paint = NULL) SK_OVERRIDE {} |
| 49 virtual void drawVertices(VertexMode vmode, int vertexCount, | 47 virtual void drawVertices(VertexMode vmode, int vertexCount, |
| 50 const SkPoint vertices[], const SkPoint texs[], | 48 const SkPoint vertices[], const SkPoint texs[], |
| 51 const SkColor colors[], SkXfermode* xmode, | 49 const SkColor colors[], SkXfermode* xmode, |
| 52 const uint16_t indices[], int indexCount, | 50 const uint16_t indices[], int indexCount, |
| 53 const SkPaint& paint) SK_OVERRIDE {} | 51 const SkPaint& paint) SK_OVERRIDE {} |
| 54 virtual void drawData(const void* data, size_t length) SK_OVERRIDE {} | 52 virtual void drawData(const void* data, size_t length) SK_OVERRIDE {} |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE {} | 97 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE {} |
| 100 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE {} | 98 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE {} |
| 101 | 99 |
| 102 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*
) SK_OVERRIDE {} | 100 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*
) SK_OVERRIDE {} |
| 103 | 101 |
| 104 private: | 102 private: |
| 105 typedef SkCanvas INHERITED; | 103 typedef SkCanvas INHERITED; |
| 106 }; | 104 }; |
| 107 | 105 |
| 108 #endif // SkNulCanvas_DEFINED | 106 #endif // SkNulCanvas_DEFINED |
| OLD | NEW |