epoger@google.com | ec3ed6a | 2011-07-28 14:26:00 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2011 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 | */ |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 7 | |
Mike Klein | c0bd9f9 | 2019-04-23 12:05:21 -0500 | [diff] [blame] | 8 | #include "include/core/SkColorFilter.h" |
Mike Klein | c0bd9f9 | 2019-04-23 12:05:21 -0500 | [diff] [blame] | 9 | #include "include/core/SkMaskFilter.h" |
| 10 | #include "include/core/SkShader.h" |
| 11 | #include "include/core/SkTypeface.h" |
| 12 | #include "include/private/SkChecksum.h" |
| 13 | #include "src/core/SkPictureFlat.h" |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 14 | |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 15 | /////////////////////////////////////////////////////////////////////////////// |
| 16 | |
Ben Wagner | 5d94822 | 2018-07-10 14:20:15 -0400 | [diff] [blame] | 17 | void SkTypefacePlayback::setCount(size_t count) { |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 18 | fCount = count; |
Ben Wagner | 5d94822 | 2018-07-10 14:20:15 -0400 | [diff] [blame] | 19 | fArray.reset(new sk_sp<SkTypeface>[count]); |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 20 | } |