| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 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 SkLiteDL_DEFINED | 8 #ifndef SkLiteDL_DEFINED |
| 9 #define SkLiteDL_DEFINED | 9 #define SkLiteDL_DEFINED |
| 10 | 10 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 void translateZ(SkScalar); | 33 void translateZ(SkScalar); |
| 34 | 34 |
| 35 void clipPath (const SkPath&, SkRegion::Op, bool aa); | 35 void clipPath (const SkPath&, SkRegion::Op, bool aa); |
| 36 void clipRect (const SkRect&, SkRegion::Op, bool aa); | 36 void clipRect (const SkRect&, SkRegion::Op, bool aa); |
| 37 void clipRRect (const SkRRect&, SkRegion::Op, bool aa); | 37 void clipRRect (const SkRRect&, SkRegion::Op, bool aa); |
| 38 void clipRegion(const SkRegion&, SkRegion::Op); | 38 void clipRegion(const SkRegion&, SkRegion::Op); |
| 39 | 39 |
| 40 void drawPaint (const SkPaint&); | 40 void drawPaint (const SkPaint&); |
| 41 void drawPath (const SkPath&, const SkPaint&); | 41 void drawPath (const SkPath&, const SkPaint&); |
| 42 void drawRect (const SkRect&, const SkPaint&); | 42 void drawRect (const SkRect&, const SkPaint&); |
| 43 void drawRegion(const SkRegion&, const SkPaint&); |
| 43 void drawOval (const SkRect&, const SkPaint&); | 44 void drawOval (const SkRect&, const SkPaint&); |
| 44 void drawArc (const SkRect&, SkScalar, SkScalar, bool, const SkPaint&); | 45 void drawArc (const SkRect&, SkScalar, SkScalar, bool, const SkPaint&); |
| 45 void drawRRect (const SkRRect&, const SkPaint&); | 46 void drawRRect (const SkRRect&, const SkPaint&); |
| 46 void drawDRRect(const SkRRect&, const SkRRect&, const SkPaint&); | 47 void drawDRRect(const SkRRect&, const SkRRect&, const SkPaint&); |
| 47 | 48 |
| 48 void drawAnnotation (const SkRect&, const char*, SkData*); | 49 void drawAnnotation (const SkRect&, const char*, SkData*); |
| 49 void drawDrawable (SkDrawable*, const SkMatrix*); | 50 void drawDrawable (SkDrawable*, const SkMatrix*); |
| 50 void drawPicture (const SkPicture*, const SkMatrix*, const SkPaint*); | 51 void drawPicture (const SkPicture*, const SkMatrix*, const SkPaint*); |
| 51 void drawShadowedPicture(const SkPicture*, const SkMatrix*, const SkPaint*); | 52 void drawShadowedPicture(const SkPicture*, const SkMatrix*, const SkPaint*); |
| 52 | 53 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 template <typename Fn, typename... Args> | 92 template <typename Fn, typename... Args> |
| 92 void map(const Fn[], Args...); | 93 void map(const Fn[], Args...); |
| 93 | 94 |
| 94 SkAutoTMalloc<uint8_t> fBytes; | 95 SkAutoTMalloc<uint8_t> fBytes; |
| 95 size_t fUsed; | 96 size_t fUsed; |
| 96 size_t fReserved; | 97 size_t fReserved; |
| 97 SkRect fBounds; | 98 SkRect fBounds; |
| 98 }; | 99 }; |
| 99 | 100 |
| 100 #endif//SkLiteDL_DEFINED | 101 #endif//SkLiteDL_DEFINED |
| OLD | NEW |