Home
last modified time | relevance | path

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

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