| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 SkRecords_DEFINED | 8 #ifndef SkRecords_DEFINED |
| 9 #define SkRecords_DEFINED | 9 #define SkRecords_DEFINED |
| 10 | 10 |
| 11 #include "SkCanvas.h" | 11 #include "SkCanvas.h" |
| 12 #include "SkDrawable.h" | 12 #include "SkDrawable.h" |
| 13 #include "SkMatrix.h" | 13 #include "SkMatrix.h" |
| 14 #include "SkPath.h" | |
| 15 #include "SkPicture.h" | 14 #include "SkPicture.h" |
| 16 #include "SkRect.h" | |
| 17 #include "SkRRect.h" | |
| 18 #include "SkRSXform.h" | 15 #include "SkRSXform.h" |
| 19 #include "SkTextBlob.h" | 16 #include "SkTextBlob.h" |
| 20 | 17 |
| 21 namespace SkRecords { | 18 namespace SkRecords { |
| 22 | 19 |
| 23 // A list of all the types of canvas calls we can record. | 20 // A list of all the types of canvas calls we can record. |
| 24 // Each of these is reified into a struct below. | 21 // Each of these is reified into a struct below. |
| 25 // | 22 // |
| 26 // (We're using the macro-of-macro trick here to do several different things wit
h the same list.) | 23 // (We're using the macro-of-macro trick here to do several different things wit
h the same list.) |
| 27 // | 24 // |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 #undef RECORD1 | 375 #undef RECORD1 |
| 379 #undef RECORD2 | 376 #undef RECORD2 |
| 380 #undef RECORD3 | 377 #undef RECORD3 |
| 381 #undef RECORD4 | 378 #undef RECORD4 |
| 382 #undef RECORD5 | 379 #undef RECORD5 |
| 383 #undef RECORD8 | 380 #undef RECORD8 |
| 384 | 381 |
| 385 } // namespace SkRecords | 382 } // namespace SkRecords |
| 386 | 383 |
| 387 #endif//SkRecords_DEFINED | 384 #endif//SkRecords_DEFINED |
| OLD | NEW |