Home | History | Annotate | Download | only in core

Lines Matching refs:Style

5  * Use of this source code is governed by a BSD-style license that can be
30 The SkTypeface class specifies the typeface and intrinsic style of a font.
41 /** Style specifies the intrinsic style attributes of a given typeface
43 enum Style {
52 /** Returns the typeface's intrinsic style attributes
54 Style style() const { return fStyle; }
65 * This is a style bit, advance widths may vary even if this returns true.
89 static SkTypeface* RefDefault(Style style = SkTypeface::kNormal);
92 requested familyName and style. Pass null as the familyName to return
93 the default font for the requested style. Will never return null
96 @param style The style (normal, bold, italic) of the typeface.
100 static SkTypeface* CreateFromName(const char familyName[], Style style);
103 requested typeface and specified Style. Use this call if you want to
104 pick a new style from the same family of the existing typeface.
108 @param s The style (normal, bold, italic) of the type face.
112 static SkTypeface* CreateFromTypeface(const SkTypeface* family, Style s);
262 * specified style, and return a ref to that typeface. Note: the
269 SkTypeface* refMatchingStyle(Style) const;
291 SkTypeface(Style style, SkFontID uniqueID, bool isFixedPitch = false);
298 static SkTypeface* GetDefaultTypeface(Style style = SkTypeface::kNormal);
321 virtual SkTypeface* onRefMatchingStyle(Style styleBits) const = 0;
325 Style fStyle;