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 SkRemote_DEFINED | 8 #ifndef SkRemote_DEFINED |
9 #define SkRemote_DEFINED | 9 #define SkRemote_DEFINED |
10 | 10 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 void didRestore() override; | 86 void didRestore() override; |
87 | 87 |
88 void didConcat(const SkMatrix&) override; | 88 void didConcat(const SkMatrix&) override; |
89 void didSetMatrix(const SkMatrix&) override; | 89 void didSetMatrix(const SkMatrix&) override; |
90 | 90 |
91 void onClipPath (const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 91 void onClipPath (const SkPath&, SkRegion::Op, ClipEdgeStyle) override; |
92 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 92 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; |
93 void onClipRect (const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 93 void onClipRect (const SkRect&, SkRegion::Op, ClipEdgeStyle) override; |
94 | 94 |
95 void onDrawOval(const SkRect&, const SkPaint&) override; | 95 void onDrawOval(const SkRect&, const SkPaint&) override; |
| 96 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
96 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) overri
de; | 97 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) overri
de; |
97 void onDrawPath(const SkPath&, const SkPaint&) override; | 98 void onDrawPath(const SkPath&, const SkPaint&) override; |
98 void onDrawRect(const SkRect&, const SkPaint&) override; | 99 void onDrawRect(const SkRect&, const SkPaint&) override; |
99 void onDrawPaint(const SkPaint&) override; | 100 void onDrawPaint(const SkPaint&) override; |
100 | 101 |
101 Cache* fCache; | 102 Cache* fCache; |
102 Encoder* fEncoder; | 103 Encoder* fEncoder; |
103 }; | 104 }; |
104 | 105 |
105 // TODO: document | 106 // TODO: document |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 IDMap<Misc , Type::kMisc > fMisc; | 153 IDMap<Misc , Type::kMisc > fMisc; |
153 IDMap<SkPath , Type::kPath > fPath; | 154 IDMap<SkPath , Type::kPath > fPath; |
154 IDMap<Stroke , Type::kStroke> fStroke; | 155 IDMap<Stroke , Type::kStroke> fStroke; |
155 | 156 |
156 SkCanvas* fCanvas; | 157 SkCanvas* fCanvas; |
157 }; | 158 }; |
158 | 159 |
159 } // namespace SkRemote | 160 } // namespace SkRemote |
160 | 161 |
161 #endif//SkRemote_DEFINED | 162 #endif//SkRemote_DEFINED |
OLD | NEW |