Lines Matching refs:style
4 * Use of this source code is governed by a BSD-style license that can be
27 SkTypeface_Custom::SkTypeface_Custom(const SkFontStyle& style, bool isFixedPitch,
29 : INHERITED(style, isFixedPitch)
59 const SkFontStyle& style, bool isFixedPitch, bool sysFont,
61 : INHERITED(style, isFixedPitch, sysFont, familyName, fontData->getIndex())
90 SkTypeface_File::SkTypeface_File(const SkFontStyle& style, bool isFixedPitch, bool sysFont,
92 : INHERITED(style, isFixedPitch, sysFont, familyName, index)
138 void SkFontStyleSet_Custom::getStyle(int index, SkFontStyle* style, SkString* name) {
140 if (style) {
141 *style = fStyles[index]->fontStyle();
239 SkFontStyle style;
243 &name, &style, &isFixedPitch, &axisDefinitions))
254 return sk_sp<SkTypeface>(new SkTypeface_Stream(std::move(data), style, isFixedPitch, false, name));
263 SkFontStyle style) const {
267 tf.reset(this->onMatchFamilyStyle(familyName, style));
271 tf.reset(fDefaultFamily->matchStyle(style));