| OLD | NEW |
| (Empty) | |
| 1 /* |
| 2 * Copyright 2014 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 */ |
| 7 |
| 8 #ifndef SkMaskCache_DEFINED |
| 9 #define SkMaskCache_DEFINED |
| 10 |
| 11 #include "SkMask.h" |
| 12 #include "SkRect.h" |
| 13 #include "SkRRect.h" |
| 14 |
| 15 class SkMaskCache { |
| 16 public: |
| 17 static bool Find(SkScalar sigma, const SkRRect& rrect, SkMask* result); |
| 18 static void Add(SkScalar sigma, const SkRRect& rrect, const SkMask& mask); |
| 19 |
| 20 static bool Find(SkScalar sigma, int32_t count, const SkRect rects[], SkMask
* result); |
| 21 static void Add(SkScalar sigma, int32_t count, const SkRect rects[], const S
kMask& mask); |
| 22 }; |
| 23 |
| 24 #endif |
| OLD | NEW |