blob: a15f2e703c694aad3c22f21b23234d54a7b3a3d6 [file] [log] [blame]
epoger@google.comec3ed6a2011-07-28 14:26:00 +00001/*
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.com8a1c16f2008-12-17 15:59:43 +00007
Mike Kleinc0bd9f92019-04-23 12:05:21 -05008#include "include/core/SkColorFilter.h"
Mike Kleinc0bd9f92019-04-23 12:05:21 -05009#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.com8a1c16f2008-12-17 15:59:43 +000014
reed@android.com8a1c16f2008-12-17 15:59:43 +000015///////////////////////////////////////////////////////////////////////////////
16
Ben Wagner5d948222018-07-10 14:20:15 -040017void SkTypefacePlayback::setCount(size_t count) {
reed@android.com8a1c16f2008-12-17 15:59:43 +000018 fCount = count;
Ben Wagner5d948222018-07-10 14:20:15 -040019 fArray.reset(new sk_sp<SkTypeface>[count]);
reed@android.com8a1c16f2008-12-17 15:59:43 +000020}