Home | History | Annotate | Download | only in ports

Lines Matching full:style

4  * Use of this source code is governed by a BSD-style license that can be
20 SkTypeface::Style* style, bool* isFixedWidth);
67 FindRec(const char* name, SkTypeface::Style style)
69 , fStyle(style) {}
72 SkTypeface::Style fStyle;
75 static bool find_proc(SkTypeface* face, SkTypeface::Style style, void* ctx) {
79 return rec->fStyle == style && fci->isFamilyName(rec->fFamilyName);
85 SkTypeface::Style style) {
96 FindRec rec(familyName, style);
105 SkTypeface::Style outStyle;
107 if (!fci->matchFamilyName(familyName, style,
122 SkTypefaceCache::Add(face, style);
131 SkTypeface::Style style) {
133 style);
148 // ask freetype for reported style and if it is a fixed width font
149 SkTypeface::Style style = SkTypeface::kNormal;
151 if (!find_name_and_attributes(stream, NULL, &style, &isFixedWidth)) {
155 SkTypeface* face = SkNEW_ARGS(FontConfigTypeface, (style, isFixedWidth, stream));
214 SkTypeface* FontConfigTypeface::onRefMatchingStyle(Style style) const {
215 return LegacyCreateTypeface(this, NULL, style);