/external/skia/docs/examples/ |
D | SkFontMgr_example2.cpp | 24 SkFontStyle fontStyle; in draw() local 26 styleSet->getStyle(j, &fontStyle, &style); in draw() 30 familyName.c_str(), fontStyle.weight(), fontStyle.width(), in draw() 31 tostr(fontStyle.slant()), textScale); in draw() 32 SkFont font(mgr->legacyMakeTypeface(familyName.c_str(), fontStyle), textScale); in draw()
|
D | SkFontMgr_example.cpp | 24 SkFontStyle fontStyle; in draw() local 26 styleSet->getStyle(j, &fontStyle, &style); in draw() 29 familyName.c_str(), fontStyle.weight(), fontStyle.width(), in draw() 30 tostr(fontStyle.slant())); in draw()
|
D | text_rendering.cpp | 7 SkFontStyle fontStyle; // Default is normal weight, normal width, upright slant. in draw() local 9 sk_sp<SkTypeface> typeface = fontManager->legacyMakeTypeface(fontFamily, fontStyle); in draw()
|
/external/skia/modules/skparagraph/src/ |
D | FontCollection.cpp | 70 …>> FontCollection::findTypefaces(const std::vector<SkString>& familyNames, SkFontStyle fontStyle) { in findTypefaces() argument 72 FamilyKey familyKey(familyNames, fontStyle); in findTypefaces() 80 sk_sp<SkTypeface> match = matchTypeface(familyName, fontStyle); in findTypefaces() 87 sk_sp<SkTypeface> match = matchTypeface(fDefaultFamilyName, fontStyle); in findTypefaces() 97 sk_sp<SkTypeface> FontCollection::matchTypeface(const SkString& familyName, SkFontStyle fontStyle) { in matchTypeface() argument 104 sk_sp<SkTypeface> match(set->matchStyle(fontStyle)); in matchTypeface() 114 sk_sp<SkTypeface> FontCollection::defaultFallback(SkUnichar unicode, SkFontStyle fontStyle, const S… in defaultFallback() argument 122 0, fontStyle, bcp47.data(), bcp47.size(), unicode)); in defaultFallback()
|
/external/skqp/src/ports/ |
D | SkFontMgr_custom.cpp | 42 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()
|
D | SkFontMgr_custom.h | 142 const SkFontStyle& fontStyle) const override; 147 const SkFontStyle& fontStyle) const override;
|
D | SkFontMgr_android.cpp | 90 desc->setStyle(this->fontStyle()); in onGetFontDescriptor() 111 this->fontStyle(), in onMakeClone() 161 this->fontStyle(), in onMakeClone() 254 *style = fStyles[index]->fontStyle(); in getStyle()
|
/external/skia/src/ports/ |
D | SkFontMgr_custom.cpp | 41 desc->setStyle(this->fontStyle()); in onGetFontDescriptor() 82 this->fontStyle(), in onMakeClone() 109 this->fontStyle(), in onMakeClone() 130 *style = fStyles[index]->fontStyle(); in getStyle() 201 const SkFontStyle& fontStyle) const in onMatchFamilyStyle() 204 return sset->matchStyle(fontStyle); in onMatchFamilyStyle() 216 const SkFontStyle& fontStyle) const in onMatchFaceStyle() 221 return fFamilies[i]->matchStyle(fontStyle); in onMatchFaceStyle()
|
D | SkFontMgr_custom.h | 142 const SkFontStyle& fontStyle) const override; 147 const SkFontStyle& fontStyle) const override;
|
/external/skqp/src/core/ |
D | SkTypeface.cpp | 136 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()
|
/external/skia/modules/skparagraph/include/ |
D | FontCollection.h | 34 …<sk_sp<SkTypeface>> findTypefaces(const std::vector<SkString>& familyNames, SkFontStyle fontStyle); 36 …sk_sp<SkTypeface> defaultFallback(SkUnichar unicode, SkFontStyle fontStyle, const SkString& locale… 48 sk_sp<SkTypeface> matchTypeface(const SkString& familyName, SkFontStyle fontStyle);
|
D | ParagraphStyle.h | 20 void setFontStyle(SkFontStyle fontStyle) { fFontStyle = fontStyle; } in setFontStyle()
|
/external/skia/src/core/ |
D | SkTypeface.cpp | 135 SkFontStyle fontStyle) { in MakeFromName() argument 136 if (nullptr == name && (fontStyle.slant() == SkFontStyle::kItalic_Slant || in MakeFromName() 137 fontStyle.slant() == SkFontStyle::kUpright_Slant) && in MakeFromName() 138 (fontStyle.weight() == SkFontStyle::kBold_Weight || in MakeFromName() 139 fontStyle.weight() == SkFontStyle::kNormal_Weight)) { in MakeFromName() 141 (fontStyle.slant() == SkFontStyle::kItalic_Slant ? SkTypeface::kItalic : in MakeFromName() 143 (fontStyle.weight() == SkFontStyle::kBold_Weight ? SkTypeface::kBold : in MakeFromName() 146 return SkFontMgr::RefDefault()->legacyMakeTypeface(name, fontStyle); in MakeFromName()
|
/external/skqp/src/fonts/ |
D | SkFontMgr_indirect.cpp | 139 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/ |
D | SkFontMgr_indirect.cpp | 138 const SkFontStyle& fontStyle) const { in onMatchFamilyStyle() 139 SkFontIdentity id = fProxy->matchNameStyle(familyName, fontStyle); in onMatchFamilyStyle() 154 const SkFontStyle& fontStyle) const { in onMatchFaceStyle() 157 return this->matchFamilyStyle(familyName.c_str(), fontStyle); in onMatchFaceStyle()
|
/external/skia/modules/canvaskit/ |
D | paragraph_bindings.cpp | 42 SimpleFontStyle fontStyle; member 85 SkFontStyle fs(s.fontStyle.weight, s.fontStyle.width, s.fontStyle.slant); in toTextStyle() 281 .field("fontStyle", &SimpleTextStyle::fontStyle) in EMSCRIPTEN_BINDINGS()
|
D | paragraph.js | 55 function fontStyle(s) { function 85 s['fontStyle'] = fontStyle(s['fontStyle']);
|
/external/skia/include/ports/ |
D | SkFontMgr_indirect.h | 42 const SkFontStyle& fontStyle) const override; 51 const SkFontStyle& fontStyle) const override;
|
/external/skqp/include/ports/ |
D | SkFontMgr_indirect.h | 42 const SkFontStyle& fontStyle) const override; 51 const SkFontStyle& fontStyle) const override;
|
/external/skqp/tools/fonts/ |
D | SkTestSVGTypeface.cpp | 123 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/modules/canvaskit/tests/ |
D | paragraph.spec.js | 362 fontStyle: { property 377 fontStyle: { property 434 fontStyle: { property 490 fontStyle: { property
|
/external/ImageMagick/Magick++/lib/Magick++/ |
D | Options.h | 129 void fontStyle(const StyleType style_); 130 StyleType fontStyle(void) const;
|
/external/skqp/include/core/ |
D | SkTypeface.h | 48 SkFontStyle fontStyle() const { in fontStyle() function 119 static sk_sp<SkTypeface> MakeFromName(const char familyName[], SkFontStyle fontStyle);
|
/external/skia/include/core/ |
D | SkTypeface.h | 48 SkFontStyle fontStyle() const { in fontStyle() function 119 static sk_sp<SkTypeface> MakeFromName(const char familyName[], SkFontStyle fontStyle);
|
/external/skia/tools/fonts/ |
D | TestSVGTypeface.cpp | 149 desc->setStyle(this->fontStyle()); in onGetFontDescriptor() 417 if (this->fontStyle().weight() >= SkFontStyle::Bold().weight()) { in exportTtxCommon() 420 switch (this->fontStyle().slant()) { in exportTtxCommon() 430 if (this->fontStyle().width() <= SkFontStyle::kCondensed_Width) { in exportTtxCommon() 432 } else if (this->fontStyle().width() >= SkFontStyle::kExpanded_Width) { in exportTtxCommon() 501 out->writeDecAsText(this->fontStyle().weight()); in exportTtxCommon() 504 out->writeDecAsText(this->fontStyle().width()); in exportTtxCommon() 542 if (this->fontStyle().weight() >= SkFontStyle::Bold().weight()) { in exportTtxCommon() 545 switch (this->fontStyle().slant()) { in exportTtxCommon() 547 if (this->fontStyle().weight() < SkFontStyle::Bold().weight()) { in exportTtxCommon()
|