Flutter Engine
The Flutter Engine
SkPictureFlat.cpp
Go to the documentation of this file.
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 */
7
9
11
12#include <memory>
13
14///////////////////////////////////////////////////////////////////////////////
15
17 fCount = count;
18 fArray = std::make_unique<sk_sp<SkTypeface>[]>(count);
19}
int count
Definition: FontMgrTest.cpp:50
size_t count() const
void setCount(size_t count)
std::unique_ptr< sk_sp< SkTypeface >[]> fArray