Home
last modified time | relevance | path

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

1234

/external/skia/docs/examples/
DSkFontMgr_example2.cpp24 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()
DSkFontMgr_example.cpp24 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()
Dtext_rendering.cpp7 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/
DFontCollection.cpp77 …>> FontCollection::findTypefaces(const std::vector<SkString>& familyNames, SkFontStyle fontStyle) { in findTypefaces() argument
79 FamilyKey familyKey(familyNames, fontStyle); in findTypefaces()
87 sk_sp<SkTypeface> match = matchTypeface(familyName, fontStyle); in findTypefaces()
96 match = matchTypeface(familyName, fontStyle); in findTypefaces()
103 match = manager->legacyMakeTypeface(nullptr, fontStyle); in findTypefaces()
118 sk_sp<SkTypeface> FontCollection::matchTypeface(const SkString& familyName, SkFontStyle fontStyle) { in matchTypeface() argument
125 sk_sp<SkTypeface> match(set->matchStyle(fontStyle)); in matchTypeface()
135 sk_sp<SkTypeface> FontCollection::defaultFallback(SkUnichar unicode, SkFontStyle fontStyle, const S… in defaultFallback() argument
143 nullptr, fontStyle, bcp47.data(), bcp47.size(), unicode)); in defaultFallback()
DOneLineShaper.h121 FontKey(SkUnichar unicode, SkFontStyle fontStyle, SkString locale) in FontKey()
122 : fUnicode(unicode), fFontStyle(fontStyle), fLocale(locale) { } in FontKey()
/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;
/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()
/external/skia/modules/skparagraph/include/
DFontCollection.h33 …<sk_sp<SkTypeface>> findTypefaces(const std::vector<SkString>& familyNames, SkFontStyle fontStyle);
35 …sk_sp<SkTypeface> defaultFallback(SkUnichar unicode, SkFontStyle fontStyle, const SkString& locale…
49 sk_sp<SkTypeface> matchTypeface(const SkString& familyName, SkFontStyle fontStyle);
DParagraphStyle.h28 void setFontStyle(SkFontStyle fontStyle) { fFontStyle = fontStyle; } in setFontStyle()
/external/skia/src/ports/
DSkFontMgr_custom.cpp41 desc->setStyle(this->fontStyle()); in onGetFontDescriptor()
84 this->fontStyle(), in onMakeClone()
111 this->fontStyle(), in onMakeClone()
141 *style = fStyles[index]->fontStyle(); in getStyle()
212 const SkFontStyle& fontStyle) const in onMatchFamilyStyle()
215 return sset->matchStyle(fontStyle); in onMatchFamilyStyle()
/external/skia/src/core/
DSkTypeface.cpp130 SkFontStyle fontStyle) { in MakeFromName() argument
131 if (nullptr == name && (fontStyle.slant() == SkFontStyle::kItalic_Slant || in MakeFromName()
132 fontStyle.slant() == SkFontStyle::kUpright_Slant) && in MakeFromName()
133 (fontStyle.weight() == SkFontStyle::kBold_Weight || in MakeFromName()
134 fontStyle.weight() == SkFontStyle::kNormal_Weight)) { in MakeFromName()
136 (fontStyle.slant() == SkFontStyle::kItalic_Slant ? SkTypeface::kItalic : in MakeFromName()
138 (fontStyle.weight() == SkFontStyle::kBold_Weight ? SkTypeface::kBold : in MakeFromName()
141 return SkFontMgr::RefDefault()->legacyMakeTypeface(name, fontStyle); in MakeFromName()
/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/modules/canvaskit/
Dparagraph_bindings.cpp59 SimpleFontStyle fontStyle; member
77 SimpleFontStyle fontStyle; member
98 SkFontStyle fs(s.fontStyle.weight, s.fontStyle.width, s.fontStyle.slant); in toStrutStyle()
183 SkFontStyle fs(s.fontStyle.weight, s.fontStyle.width, s.fontStyle.slant); in toTextStyle()
601 .field("fontStyle", &SimpleStrutStyle::fontStyle) in EMSCRIPTEN_BINDINGS()
624 .field("fontStyle", &SimpleTextStyle::fontStyle) in EMSCRIPTEN_BINDINGS()
Dparagraph.js80 function fontStyle(s) { function
102 s['fontStyle'] = fontStyle(s['fontStyle']);
134 s['fontStyle'] = fontStyle(s['fontStyle']);
/external/skia/experimental/sktext/src/
DProcessor.cpp14 bool Processor::shape(TextFontStyle fontStyle, SkTArray<FontBlock, true> fontBlocks) { in shape() argument
22 Shaper shaper(this, fontStyle); in shape()
83 … background, const SkString& fontFamily, SkScalar fontSize, SkFontStyle fontStyle, SkScalar x, SkS… in drawText() argument
84 …text, canvas, textFormat, foreground, background, fontFamily, fontSize, fontStyle, SkSize::Make(SK… in drawText()
88 …reground, SkColor background, const SkString& fontFamily, SkScalar fontSize, SkFontStyle fontStyle, in drawText() argument
97 …faultTextDirection, SkFontMgr::RefDefault()}, {{{ fontFamily, fontSize, fontStyle, textRange }}}))… in drawText()
DShaper.cpp56 sk_sp<SkTypeface> Shaper::matchTypeface(const SkString& fontFamily, SkFontStyle fontStyle) { in matchTypeface() argument
62 sk_sp<SkTypeface> match(set->matchStyle(fontStyle)); in matchTypeface()
/external/skqp/include/ports/
DSkFontMgr_indirect.h42 const SkFontStyle& fontStyle) const override;
51 const SkFontStyle& fontStyle) const override;
/external/rust/crates/vmm_vhost/docs/
Dvhost_architecture.drawio16 …t;MasterReqHandler&lt;/pre&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;labelBackgroun…
30 …cheReq&lt;/pre&gt;&lt;/pre&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;labelBackgroun…
42 …stener&lt;/pre&gt;&lt;/pre&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;labelBackgroun…
45 …re&gt;&lt;/pre&gt;&lt;/pre&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;labelBackgroun…
60 …t;VhostKernBackend&lt;/pre&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;labelBackgroun…
63 …t;VhostVdpaBackend&lt;/pre&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;labelBackgroun…
66 …pt&quot;&gt;Master&lt;/pre&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;labelBackgroun…
69 …t;VhostSoftBackend&lt;/pre&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;labelBackgroun…
123 …dpoint&lt;/pre&gt;&lt;/pre&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;labelBackgroun…
126 …essage&lt;/pre&gt;&lt;/pre&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;labelBackgroun…
[all …]
/external/skia/experimental/sktext/include/
DProcessor.h102 bool shape(TextFontStyle fontStyle, SkTArray<FontBlock, true> fontBlocks);
162 … background, const SkString& fontFamily, SkScalar fontSize, SkFontStyle fontStyle, SkScalar x, SkS…
164 …reground, SkColor background, const SkString& fontFamily, SkScalar fontSize, SkFontStyle fontStyle,
/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/ImageMagick/Magick++/lib/Magick++/
DOptions.h129 void fontStyle(const StyleType style_);
130 StyleType fontStyle(void) const;
/external/skia/src/fonts/
DSkFontMgr_indirect.cpp138 const SkFontStyle& fontStyle) const { in onMatchFamilyStyle()
139 SkFontIdentity id = fProxy->matchNameStyle(familyName, fontStyle); in onMatchFamilyStyle()
/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/include/core/
DSkTypeface.h48 SkFontStyle fontStyle() const { in fontStyle() function
119 static sk_sp<SkTypeface> MakeFromName(const char familyName[], SkFontStyle fontStyle);

1234