Flutter Engine
The Flutter Engine
third_party
skia
src
core
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
8
#include "
src/core/SkPictureFlat.h
"
9
10
#include "
include/core/SkTypeface.h
"
11
12
#include <memory>
13
14
///////////////////////////////////////////////////////////////////////////////
15
16
void
SkTypefacePlayback::setCount
(
size_t
count
) {
17
fCount
=
count
;
18
fArray
= std::make_unique<sk_sp<SkTypeface>[]>(
count
);
19
}
count
int count
Definition:
FontMgrTest.cpp:50
SkPictureFlat.h
SkTypeface.h
SkTypefacePlayback::fCount
size_t fCount
Definition:
SkPictureFlat.h:209
SkTypefacePlayback::count
size_t count() const
Definition:
SkPictureFlat.h:197
SkTypefacePlayback::setCount
void setCount(size_t count)
Definition:
SkPictureFlat.cpp:16
SkTypefacePlayback::fArray
std::unique_ptr< sk_sp< SkTypeface >[]> fArray
Definition:
SkPictureFlat.h:210
Generated on Sun Jun 23 2024 21:56:14 for Flutter Engine by
1.9.4