#include <FontArguments.h>
Definition at line 13 of file FontArguments.h.
◆ FontArguments() [1/3]
skia::textlayout::FontArguments::FontArguments |
( |
const SkFontArguments & |
args | ) |
|
Definition at line 37 of file FontArguments.cpp.
38 : fCollectionIndex(
args.getCollectionIndex()),
39 fCoordinates(
args.getVariationDesignPosition().coordinates,
40 args.getVariationDesignPosition().coordinates +
41 args.getVariationDesignPosition().coordinateCount),
42 fPaletteIndex(
args.getPalette().index),
43 fPaletteOverrides(
args.getPalette().overrides,
44 args.getPalette().overrides +
45 args.getPalette().overrideCount) {}
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
◆ FontArguments() [2/3]
skia::textlayout::FontArguments::FontArguments |
( |
const FontArguments & |
| ) |
|
|
default |
◆ FontArguments() [3/3]
skia::textlayout::FontArguments::FontArguments |
( |
FontArguments && |
| ) |
|
|
default |
◆ CloneTypeface()
Definition at line 58 of file FontArguments.cpp.
58 {
60 fCoordinates.data(),
61 static_cast<int>(fCoordinates.size())
62 };
63
65 fPaletteIndex,
66 fPaletteOverrides.data(),
67 static_cast<int>(fPaletteOverrides.size())
68 };
69
71 args.setCollectionIndex(fCollectionIndex);
72 args.setVariationDesignPosition(position);
73 args.setPalette(palette);
74
76}
sk_sp< SkTypeface > makeClone(const SkFontArguments &) const
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator!=
◆ operator==
Definition at line 47 of file FontArguments.cpp.
47 {
48 return a.fCollectionIndex ==
b.fCollectionIndex &&
49 a.fCoordinates ==
b.fCoordinates &&
50 a.fPaletteIndex ==
b.fPaletteIndex &&
51 a.fPaletteOverrides ==
b.fPaletteOverrides;
52}
◆ std::hash< FontArguments >
The documentation for this class was generated from the following files: