OLD | NEW |
| 1 /* |
| 2 * Copyright 2015 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
1 | 7 |
2 #ifndef SkTableColorFilter_DEFINED | 8 #ifndef SkTableColorFilter_DEFINED |
3 #define SkTableColorFilter_DEFINED | 9 #define SkTableColorFilter_DEFINED |
4 | 10 |
5 #include "SkColorFilter.h" | 11 #include "SkColorFilter.h" |
6 | 12 |
7 class SK_API SkTableColorFilter { | 13 class SK_API SkTableColorFilter { |
8 public: | 14 public: |
9 /** | 15 /** |
10 * Create a table colorfilter, copying the table into the filter, and | 16 * Create a table colorfilter, copying the table into the filter, and |
(...skipping 16 matching lines...) Expand all Loading... |
27 */ | 33 */ |
28 static SkColorFilter* CreateARGB(const uint8_t tableA[256], | 34 static SkColorFilter* CreateARGB(const uint8_t tableA[256], |
29 const uint8_t tableR[256], | 35 const uint8_t tableR[256], |
30 const uint8_t tableG[256], | 36 const uint8_t tableG[256], |
31 const uint8_t tableB[256]); | 37 const uint8_t tableB[256]); |
32 | 38 |
33 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP() | 39 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP() |
34 }; | 40 }; |
35 | 41 |
36 #endif | 42 #endif |
OLD | NEW |