Home
last modified time | relevance | path

Searched refs:fontStyle (Results 1 – 25 of 69) sorted by relevance

123

/external/skia/src/ports/
DSkFontMgr_custom.cpp42 desc->setStyle(this->fontStyle()); in onGetFontDescriptor()
83 this->fontStyle(), in onMakeClone()
110 this->fontStyle(), in onMakeClone()
131 *style = fStyles[index]->fontStyle(); in getStyle()
202 const SkFontStyle& fontStyle) const in onMatchFamilyStyle()
205 return sset->matchStyle(fontStyle); in onMatchFamilyStyle()
217 const SkFontStyle& fontStyle) const in onMatchFaceStyle()
222 return fFamilies[i]->matchStyle(fontStyle); in onMatchFaceStyle()
DSkFontMgr_custom.h142 const SkFontStyle& fontStyle) const override;
147 const SkFontStyle& fontStyle) const override;
DSkFontMgr_android.cpp90 desc->setStyle(this->fontStyle()); in onGetFontDescriptor()
111 this->fontStyle(), in onMakeClone()
161 this->fontStyle(), in onMakeClone()
254 *style = fStyles[index]->fontStyle(); in getStyle()
DSkFontConfigTypeface.h51 this->fontStyle(), in onMakeClone()
/external/skqp/src/ports/
DSkFontMgr_custom.cpp42 desc->setStyle(this->fontStyle()); in onGetFontDescriptor()
83 this->fontStyle(), in onMakeClone()
110 this->fontStyle(), in onMakeClone()
131 *style = fStyles[index]->fontStyle(); in getStyle()
202 const SkFontStyle& fontStyle) const in onMatchFamilyStyle()
205 return sset->matchStyle(fontStyle); in onMatchFamilyStyle()
217 const SkFontStyle& fontStyle) const in onMatchFaceStyle()
222 return fFamilies[i]->matchStyle(fontStyle); in onMatchFaceStyle()
DSkFontMgr_custom.h142 const SkFontStyle& fontStyle) const override;
147 const SkFontStyle& fontStyle) const override;
DSkFontMgr_android.cpp90 desc->setStyle(this->fontStyle()); in onGetFontDescriptor()
111 this->fontStyle(), in onMakeClone()
161 this->fontStyle(), in onMakeClone()
254 *style = fStyles[index]->fontStyle(); in getStyle()
DSkFontConfigTypeface.h51 this->fontStyle(), in onMakeClone()
/external/skqp/src/core/
DSkTypeface.cpp136 SkFontStyle fontStyle) { in MakeFromName() argument
137 if (nullptr == name && (fontStyle.slant() == SkFontStyle::kItalic_Slant || in MakeFromName()
138 fontStyle.slant() == SkFontStyle::kUpright_Slant) && in MakeFromName()
139 (fontStyle.weight() == SkFontStyle::kBold_Weight || in MakeFromName()
140 fontStyle.weight() == SkFontStyle::kNormal_Weight)) { in MakeFromName()
142 (fontStyle.slant() == SkFontStyle::kItalic_Slant ? SkTypeface::kItalic : in MakeFromName()
144 (fontStyle.weight() == SkFontStyle::kBold_Weight ? SkTypeface::kBold : in MakeFromName()
147 return SkFontMgr::RefDefault()->legacyMakeTypeface(name, fontStyle); in MakeFromName()
DSkTypefaceCache.cpp88 SkFontStyle s = face->fontStyle(); in DumpProc()
/external/skia/src/core/
DSkTypeface.cpp136 SkFontStyle fontStyle) { in MakeFromName() argument
137 if (nullptr == name && (fontStyle.slant() == SkFontStyle::kItalic_Slant || in MakeFromName()
138 fontStyle.slant() == SkFontStyle::kUpright_Slant) && in MakeFromName()
139 (fontStyle.weight() == SkFontStyle::kBold_Weight || in MakeFromName()
140 fontStyle.weight() == SkFontStyle::kNormal_Weight)) { in MakeFromName()
142 (fontStyle.slant() == SkFontStyle::kItalic_Slant ? SkTypeface::kItalic : in MakeFromName()
144 (fontStyle.weight() == SkFontStyle::kBold_Weight ? SkTypeface::kBold : in MakeFromName()
147 return SkFontMgr::RefDefault()->legacyMakeTypeface(name, fontStyle); in MakeFromName()
DSkTypefaceCache.cpp88 SkFontStyle s = face->fontStyle(); in DumpProc()
/external/skqp/src/fonts/
DSkFontMgr_indirect.cpp139 const SkFontStyle& fontStyle) const { in onMatchFamilyStyle()
140 SkFontIdentity id = fProxy->matchNameStyle(familyName, fontStyle); in onMatchFamilyStyle()
155 const SkFontStyle& fontStyle) const { in onMatchFaceStyle()
158 return this->matchFamilyStyle(familyName.c_str(), fontStyle); in onMatchFaceStyle()
/external/skia/src/fonts/
DSkFontMgr_indirect.cpp139 const SkFontStyle& fontStyle) const { in onMatchFamilyStyle()
140 SkFontIdentity id = fProxy->matchNameStyle(familyName, fontStyle); in onMatchFamilyStyle()
155 const SkFontStyle& fontStyle) const { in onMatchFaceStyle()
158 return this->matchFamilyStyle(familyName.c_str(), fontStyle); in onMatchFaceStyle()
/external/skqp/include/ports/
DSkFontMgr_indirect.h42 const SkFontStyle& fontStyle) const override;
51 const SkFontStyle& fontStyle) const override;
/external/skia/include/ports/
DSkFontMgr_indirect.h42 const SkFontStyle& fontStyle) const override;
51 const SkFontStyle& fontStyle) const override;
/external/skqp/tools/fonts/
DSkTestSVGTypeface.cpp123 desc->setStyle(this->fontStyle()); in onGetFontDescriptor()
353 if (this->fontStyle().weight() >= SkFontStyle::Bold().weight()) { in exportTtxCommon()
356 switch (this->fontStyle().slant()) { in exportTtxCommon()
368 if (this->fontStyle().width() <= SkFontStyle::kCondensed_Width) { in exportTtxCommon()
370 } else if (this->fontStyle().width() >= SkFontStyle::kExpanded_Width) { in exportTtxCommon()
439 out->writeDecAsText(this->fontStyle().weight()); in exportTtxCommon()
442 out->writeDecAsText(this->fontStyle().width()); in exportTtxCommon()
479 if (this->fontStyle().weight() >= SkFontStyle::Bold().weight()) { in exportTtxCommon()
482 switch (this->fontStyle().slant()) { in exportTtxCommon()
484 if (this->fontStyle().weight() < SkFontStyle::Bold().weight()) { in exportTtxCommon()
/external/skia/tools/fonts/
DSkTestSVGTypeface.cpp123 desc->setStyle(this->fontStyle()); in onGetFontDescriptor()
351 if (this->fontStyle().weight() >= SkFontStyle::Bold().weight()) { in exportTtxCommon()
354 switch (this->fontStyle().slant()) { in exportTtxCommon()
366 if (this->fontStyle().width() <= SkFontStyle::kCondensed_Width) { in exportTtxCommon()
368 } else if (this->fontStyle().width() >= SkFontStyle::kExpanded_Width) { in exportTtxCommon()
437 out->writeDecAsText(this->fontStyle().weight()); in exportTtxCommon()
440 out->writeDecAsText(this->fontStyle().width()); in exportTtxCommon()
477 if (this->fontStyle().weight() >= SkFontStyle::Bold().weight()) { in exportTtxCommon()
480 switch (this->fontStyle().slant()) { in exportTtxCommon()
482 if (this->fontStyle().weight() < SkFontStyle::Bold().weight()) { in exportTtxCommon()
/external/ImageMagick/Magick++/lib/Magick++/
DOptions.h129 void fontStyle(const StyleType style_);
130 StyleType fontStyle(void) const;
/external/skqp/include/core/
DSkTypeface.h48 SkFontStyle fontStyle() const { in fontStyle() function
119 static sk_sp<SkTypeface> MakeFromName(const char familyName[], SkFontStyle fontStyle);
/external/skia/include/core/
DSkTypeface.h48 SkFontStyle fontStyle() const { in fontStyle() function
119 static sk_sp<SkTypeface> MakeFromName(const char familyName[], SkFontStyle fontStyle);
/external/skqp/src/utils/
DSkWhitelistTypefaces.cpp166 if (!font_name_is_local(fontName, tf->fontStyle())) { in WhitelistSerializeTypeface()
184 serialize_sub(fontName, tf->fontStyle(), wstream); in WhitelistSerializeTypeface()
/external/skia/src/utils/
DSkWhitelistTypefaces.cpp166 if (!font_name_is_local(fontName, tf->fontStyle())) { in WhitelistSerializeTypeface()
184 serialize_sub(fontName, tf->fontStyle(), wstream); in WhitelistSerializeTypeface()
/external/skia/gm/
Dfontmgr.cpp31 const SkFontStyle& fontStyle) { in drawCharacter() argument
36 sk_sp<SkTypeface> typeface(fm->matchFamilyStyleCharacter(fontName, fontStyle, in drawCharacter()
50 font.setTypeface(fm->legacyMakeTypeface(familyName.c_str(), typeface->fontStyle())); in drawCharacter()
/external/skqp/gm/
Dfontmgr.cpp31 const SkFontStyle& fontStyle) { in drawCharacter() argument
36 sk_sp<SkTypeface> typeface(fm->matchFamilyStyleCharacter(fontName, fontStyle, in drawCharacter()
50 font.setTypeface(fm->legacyMakeTypeface(familyName.c_str(), typeface->fontStyle())); in drawCharacter()

123