Searched refs:FontParameters (Results 1 - 10 of 10) sorted by relevance

/external/skia/include/ports/
H A DSkFontMgr.h105 struct FontParameters { struct in class:SkFontMgr
111 FontParameters() : fCollectionIndex(0), fAxisCount(0), fAxes(nullptr) {} function in struct:SkFontMgr::FontParameters
118 FontParameters& setCollectionIndex(int collectionIndex) {
128 * @param axes not copied. This pointer must remain valid for life of FontParameters.
130 FontParameters& setAxes(const Axis* axes, int axisCount) {
149 SkTypeface* createFromStream(SkStreamAsset*, const FontParameters&) const;
195 virtual SkTypeface* onCreateFromStream(SkStreamAsset*, const FontParameters&) const;
/external/skia/gm/
H A Dfontscalerdistortable.cpp60 SkFontMgr::FontParameters::Axis axes[] = { { tag, styleValue } };
62 distortable->duplicate(), SkFontMgr::FontParameters().setAxes(axes, 1)));
/external/skia/src/ports/
H A DSkFontHost_FreeType_common.h62 const SkFontMgr::FontParameters::Axis* requestedAxis, int requestedAxisCount,
H A DSkFontMgr_android_parser.h76 SkTArray<SkFontMgr::FontParameters::Axis, true> fAxes;
H A DSkFontMgr_android.cpp456 SkTypeface* onCreateFromStream(SkStreamAsset* s, const FontParameters& params) const override {
470 const FontParameters::Axis* paramAxes = params.getAxes(&paramAxisCount);
H A DSkFontMgr_fontconfig.cpp837 SkTypeface* onCreateFromStream(SkStreamAsset* s, const FontParameters& params) const override {
851 const FontParameters::Axis* paramAxes = params.getAxes(&paramAxisCount);
H A DSkFontHost_mac.cpp2392 static CFDictionaryRef get_axes(CGFontRef cg, const FontParameters& params) {
2411 const FontParameters::Axis* paramAxes = params.getAxes(&paramAxisCount);
2477 SkTypeface* onCreateFromStream(SkStreamAsset* s, const FontParameters& params) const override {
H A DSkFontHost_FreeType.cpp1763 const SkFontMgr::FontParameters::Axis* requestedAxes, int requestedAxisCount,
1773 const SkFontMgr::FontParameters::Axis& axisSpecified = requestedAxes[j];
H A DSkFontMgr_android_parser.cpp191 SkFontMgr::FontParameters::Axis& axis = file.fAxes.push_back();
/external/skia/src/core/
H A DSkFontMgr.cpp135 SkTypeface* SkFontMgr::createFromStream(SkStreamAsset* stream, const FontParameters& params) const {
150 SkTypeface* SkFontMgr::onCreateFromStream(SkStreamAsset* stream, const FontParameters& p) const {

Completed in 965 milliseconds