#include <SkFontDescriptor.h>
Definition at line 24 of file SkFontDescriptor.h.
◆ SkFontData() [1/2]
Makes a copy of the data in 'axis'.
Definition at line 27 of file SkFontDescriptor.h.
30 : fStream(std::move(
stream))
31 , fIndex(index)
32 , fPaletteIndex(paletteIndex)
33 , fAxisCount(axisCount)
34 , fPaletteOverrideCount(paletteOverrideCount)
35 , fAxis(fAxisCount)
36 , fPaletteOverrides(fPaletteOverrideCount)
37 {
38 for (
int i = 0;
i < fAxisCount; ++
i) {
40 }
41 for (
int i = 0;
i < fPaletteOverrideCount; ++
i) {
42 fPaletteOverrides[
i] = paletteOverrides[
i];
43 }
44 }
◆ SkFontData() [2/2]
Definition at line 46 of file SkFontDescriptor.h.
47 : fStream(that.fStream->duplicate())
48 , fIndex(that.fIndex)
49 , fPaletteIndex(that.fPaletteIndex)
50 , fAxisCount(that.fAxisCount)
51 , fPaletteOverrideCount(that.fPaletteOverrideCount)
52 , fAxis(fAxisCount)
53 , fPaletteOverrides(fPaletteOverrideCount)
54 {
55 for (
int i = 0;
i < fAxisCount; ++
i) {
56 fAxis[
i] = that.fAxis[
i];
57 }
58 for (
int i = 0;
i < fPaletteOverrideCount; ++
i) {
59 fPaletteOverrides[
i] = that.fPaletteOverrides[
i];
60 }
61 }
◆ detachStream()
◆ getAxis()
const SkFixed * SkFontData::getAxis |
( |
| ) |
const |
|
inline |
◆ getAxisCount()
int SkFontData::getAxisCount |
( |
| ) |
const |
|
inline |
◆ getIndex()
int SkFontData::getIndex |
( |
| ) |
const |
|
inline |
◆ getPaletteIndex()
int SkFontData::getPaletteIndex |
( |
| ) |
const |
|
inline |
◆ getPaletteOverrideCount()
int SkFontData::getPaletteOverrideCount |
( |
| ) |
const |
|
inline |
◆ getPaletteOverrides()
◆ getStream() [1/2]
◆ getStream() [2/2]
◆ hasStream()
bool SkFontData::hasStream |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: