Lines Matching refs:style
4 * Use of this source code is governed by a BSD-style license that can be
33 SkTypeface_Preview(const SkFontStyle& style,
36 : INHERITED(style, isFixedPitch)
59 const SkFontStyle& style,
64 : INHERITED(style, isFixedPitch, familyName)
134 const SkFontStyle& style,
137 : INHERITED(style, isFixedPitch, familyName)
203 SkFontStyle style;
208 &familyName, &style, &isFixedWidth, &axisDefinitions)) {
214 int weight = fontFile.fWeight != 0 ? fontFile.fWeight : style.weight();
215 SkFontStyle::Slant slant = style.slant();
218 slant = style.slant();
230 style = SkFontStyle(weight, style.width(), slant);
252 axisDefinitions.count(), style, isFixedWidth,
264 void getStyle(int index, SkFontStyle* style, SkString* name) override
269 if (style) {
270 *style = fStyles[index]->fontStyle();
323 const SkFontStyle& style) const override;
325 const SkFontStyle& style) const override;
330 const SkFontStyle& style, bool elegant,
334 const SkFontStyle& style,
343 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle style) const override;