OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 SkPictureRecord_DEFINED | 8 #ifndef SkPictureRecord_DEFINED |
9 #define SkPictureRecord_DEFINED | 9 #define SkPictureRecord_DEFINED |
10 | 10 |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
160 | 160 |
161 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK_OVERRID E; | 161 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK_OVERRID E; |
162 | 162 |
163 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS calar y, | 163 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS calar y, |
164 const SkPaint&) SK_OVERRIDE; | 164 const SkPaint&) SK_OVERRIDE; |
165 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin t pos[], | 165 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin t pos[], |
166 const SkPaint&) SK_OVERRIDE; | 166 const SkPaint&) SK_OVERRIDE; |
167 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca lar xpos[], | 167 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca lar xpos[], |
168 SkScalar constY, const SkPaint&) SK_OVERRIDE; | 168 SkScalar constY, const SkPaint&) SK_OVERRIDE; |
169 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP ath& path, | 169 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP ath& path, |
170 const SkMatrix* matrix, const SkPaint&) SK_OVE RRIDE; | 170 const SkMatrix* matrix, |
171 SK_SUPPORT_LEGACY_DRAWTEXTONPATH_PARAM const Sk Paint&) SK_OVERRIDE; | |
f(malita)
2015/02/16 15:31:50
indentation
| |
171 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, | 172 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
172 const SkPaint& paint) SK_OVERRIDE; | 173 const SkPaint& paint) SK_OVERRIDE; |
173 | 174 |
174 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 175 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
175 const SkPoint texCoords[4], SkXfermode* xmode, | 176 const SkPoint texCoords[4], SkXfermode* xmode, |
176 const SkPaint& paint) SK_OVERRIDE; | 177 const SkPaint& paint) SK_OVERRIDE; |
177 | 178 |
178 void onDrawPaint(const SkPaint&) SK_OVERRIDE; | 179 void onDrawPaint(const SkPaint&) SK_OVERRIDE; |
179 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) SK_OVERRIDE; | 180 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) SK_OVERRIDE; |
180 void onDrawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; | 181 void onDrawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
237 | 238 |
238 uint32_t fRecordFlags; | 239 uint32_t fRecordFlags; |
239 int fInitialSaveCount; | 240 int fInitialSaveCount; |
240 | 241 |
241 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c onstructor | 242 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c onstructor |
242 | 243 |
243 typedef SkCanvas INHERITED; | 244 typedef SkCanvas INHERITED; |
244 }; | 245 }; |
245 | 246 |
246 #endif | 247 #endif |
OLD | NEW |