OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 #include "SkPaintPriv.h" | 8 #include "SkPaintPriv.h" |
9 | 9 |
10 #include "SkBitmap.h" | 10 #include "SkBitmap.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 * | 83 * |
84 * getTypeface() | 84 * getTypeface() |
85 * getAnnotation() | 85 * getAnnotation() |
86 * paint.getColorFilter() | 86 * paint.getColorFilter() |
87 * getXfermode() | 87 * getXfermode() |
88 * getPathEffect() | 88 * getPathEffect() |
89 * getMaskFilter() | 89 * getMaskFilter() |
90 */ | 90 */ |
91 | 91 |
92 return paint.getShader() || | 92 return paint.getShader() || |
93 #ifdef SK_SUPPORT_LEGACY_LAYERRASTERIZER_API | |
94 paint.getRasterizer() || | |
95 #endif | |
96 paint.getLooper() || // needs to hide its addLayer... | 93 paint.getLooper() || // needs to hide its addLayer... |
97 paint.getImageFilter(); | 94 paint.getImageFilter(); |
98 } | 95 } |
OLD | NEW |