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 25 matching lines...) Expand all Loading... |
36 | 36 |
37 void save(); | 37 void save(); |
38 void saveLayer(const SkRect*, const SkPaint*, const SkImageFilter*, SkCanvas
::SaveLayerFlags); | 38 void saveLayer(const SkRect*, const SkPaint*, const SkImageFilter*, SkCanvas
::SaveLayerFlags); |
39 void restore(); | 39 void restore(); |
40 | 40 |
41 void concat (const SkMatrix&); | 41 void concat (const SkMatrix&); |
42 void setMatrix (const SkMatrix&); | 42 void setMatrix (const SkMatrix&); |
43 void translate(SkScalar, SkScalar); | 43 void translate(SkScalar, SkScalar); |
44 void translateZ(SkScalar); | 44 void translateZ(SkScalar); |
45 | 45 |
46 void clipPath (const SkPath&, SkRegion::Op, bool aa); | 46 void clipPath (const SkPath&, SkCanvas::ClipOp, bool aa); |
47 void clipRect (const SkRect&, SkRegion::Op, bool aa); | 47 void clipRect (const SkRect&, SkCanvas::ClipOp, bool aa); |
48 void clipRRect (const SkRRect&, SkRegion::Op, bool aa); | 48 void clipRRect (const SkRRect&, SkCanvas::ClipOp, bool aa); |
49 void clipRegion(const SkRegion&, SkRegion::Op); | 49 void clipRegion(const SkRegion&, SkCanvas::ClipOp); |
50 | 50 |
51 void drawPaint (const SkPaint&); | 51 void drawPaint (const SkPaint&); |
52 void drawPath (const SkPath&, const SkPaint&); | 52 void drawPath (const SkPath&, const SkPaint&); |
53 void drawRect (const SkRect&, const SkPaint&); | 53 void drawRect (const SkRect&, const SkPaint&); |
54 void drawRegion(const SkRegion&, const SkPaint&); | 54 void drawRegion(const SkRegion&, const SkPaint&); |
55 void drawOval (const SkRect&, const SkPaint&); | 55 void drawOval (const SkRect&, const SkPaint&); |
56 void drawArc (const SkRect&, SkScalar, SkScalar, bool, const SkPaint&); | 56 void drawArc (const SkRect&, SkScalar, SkScalar, bool, const SkPaint&); |
57 void drawRRect (const SkRRect&, const SkPaint&); | 57 void drawRRect (const SkRRect&, const SkPaint&); |
58 void drawDRRect(const SkRRect&, const SkRRect&, const SkPaint&); | 58 void drawDRRect(const SkRRect&, const SkRRect&, const SkPaint&); |
59 | 59 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 template <typename Fn, typename... Args> | 104 template <typename Fn, typename... Args> |
105 void map(const Fn[], Args...); | 105 void map(const Fn[], Args...); |
106 | 106 |
107 SkAutoTMalloc<uint8_t> fBytes; | 107 SkAutoTMalloc<uint8_t> fBytes; |
108 size_t fUsed; | 108 size_t fUsed; |
109 size_t fReserved; | 109 size_t fReserved; |
110 SkRect fBounds; | 110 SkRect fBounds; |
111 }; | 111 }; |
112 | 112 |
113 #endif//SkLiteDL_DEFINED | 113 #endif//SkLiteDL_DEFINED |
OLD | NEW |