HomeSort by relevance Sort by last modified time
    Searched refs:SkFontStyle (Results 1 - 22 of 22) sorted by null

  /external/chromium_org/third_party/skia/include/ports/
SkFontMgr.h 12 #include "SkFontStyle.h"
24 virtual void getStyle(int index, SkFontStyle*, SkString* style) = 0;
26 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) = 0;
63 SkTypeface* matchFamilyStyle(const char familyName[], const SkFontStyle&) const;
78 SkTypeface* matchFamilyStyleCharacter(const char familyName[], const SkFontStyle&,
82 SkTypeface* matchFamilyStyleCharacter(const char familyName[], const SkFontStyle&,
86 SkTypeface* matchFaceStyle(const SkTypeface*, const SkFontStyle&) const;
128 const SkFontStyle&) const = 0;
131 virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&,
135 virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&
    [all...]
SkFontStyle.h 13 class SK_API SkFontStyle {
44 SkFontStyle();
45 SkFontStyle(int weight, int width, Slant);
47 bool operator==(const SkFontStyle& rhs) const {
SkRemotableFontMgr.h 11 #include "SkFontStyle.h"
31 // Since they may be selected against, these are really 'extensions' to SkFontStyle.
32 // SkFontStyle should pick these up.
33 SkFontStyle fFontStyle;
66 * matchIndexStyle(int, SkFontStyle).
86 virtual SkFontIdentity matchIndexStyle(int familyIndex, const SkFontStyle&) const = 0;
94 * getIndex(int) or matchIndexStyle(int, SkFontStyle) due to
124 virtual SkFontIdentity matchNameStyle(const char familyName[], const SkFontStyle&) const = 0;
137 virtual SkFontIdentity matchNameStyleCharacter(const char familyName[], const SkFontStyle&,
141 virtual SkFontIdentity matchNameStyleCharacter(const char familyName[], const SkFontStyle&
    [all...]
SkFontMgr_indirect.h 13 #include "SkFontStyle.h"
40 const SkFontStyle& fontStyle) const SK_OVERRIDE;
44 const SkFontStyle&,
50 const SkFontStyle&,
56 const SkFontStyle& fontStyle) const SK_OVERRIDE;
SkFontConfigInterface.h 12 #include "SkFontStyle.h"
63 SkFontStyle fStyle;
  /external/chromium_org/third_party/skia/src/ports/
SkFontHost_linux.cpp 148 virtual void getStyle(int index, SkFontStyle* style, SkString* name) SK_OVERRIDE {
152 *style = SkFontStyle(bold ? SkFontStyle::kBold_Weight : SkFontStyle::kNormal_Weight,
153 SkFontStyle::kNormal_Width,
154 italic ? SkFontStyle::kItalic_Slant : SkFontStyle::kUpright_Slant);
163 static int match_score(const SkFontStyle& pattern, const SkFontStyle& candidate) {
171 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRIDE
    [all...]
SkFontMgr_android.cpp 12 #include "SkFontStyle.h"
192 virtual void getStyle(int index, SkFontStyle* style, SkString* name) SK_OVERRIDE {
214 virtual SkTypeface_AndroidSystem* matchStyle(const SkFontStyle& pattern) SK_OVERRIDE {
221 SkFontStyle style = this->style(i);
232 SkFontStyle style(int index) {
233 return SkFontStyle(this->weight(index), SkFontStyle::kNormal_Width,
236 SkFontStyle::Weight weight(int index) {
237 if (fStyles[index]->isBold()) return SkFontStyle::kBold_Weight;
238 return SkFontStyle::kNormal_Weight
    [all...]
SkRemotableFontMgr_win_dw.cpp 25 explicit DWriteStyle(const SkFontStyle& pattern) {
27 case SkFontStyle::kUpright_Slant:
30 case SkFontStyle::kItalic_Slant:
162 SkFontStyle::Slant slant;
165 slant = SkFontStyle::kUpright_Slant;
169 slant = SkFontStyle::kItalic_Slant;
178 fontId->fFontStyle = SkFontStyle(weight, width, slant);
201 const SkFontStyle& pattern) const SK_OVERRIDE
263 const SkFontStyle& style) const SK_OVERRIDE
413 const SkFontStyle& pattern
    [all...]
SkFontMgr_fontconfig.cpp 12 #include "SkFontStyle.h"
300 static SkFontStyle skfontstyle_from_fcpattern(FcPattern* pattern) {
301 typedef SkFontStyle SkFS;
336 return SkFontStyle(weight, width, slant);
339 static void fcpattern_from_skfontstyle(SkFontStyle style, FcPattern* pattern) {
342 typedef SkFontStyle SkFS;
480 virtual void getStyle(int index, SkFontStyle* style, SkString* styleName) SK_OVERRIDE {
501 virtual SkTypeface* matchStyle(const SkFontStyle& style) SK_OVERRIDE {
735 const SkFontStyle& style) const SK_OVERRIDE
774 const SkFontStyle& style
    [all...]
SkFontMgr_win_dw.cpp 272 const SkFontStyle& fontstyle) const SK_OVERRIDE;
274 const SkFontStyle& fontstyle) const SK_OVERRIDE;
308 virtual void getStyle(int index, SkFontStyle* fs, SkString* styleName) SK_OVERRIDE;
310 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRIDE;
481 const SkFontStyle& fontstyle) const {
487 const SkFontStyle& fontstyle) const {
662 void SkFontStyleSet_DirectWrite::getStyle(int index, SkFontStyle* fs, SkString* styleName) {
667 SkFontStyle::Slant slant;
670 slant = SkFontStyle::kUpright_Slant;
674 slant = SkFontStyle::kItalic_Slant
    [all...]
SkFontHost_mac.cpp 399 static SkFontStyle stylebits2fontstyle(SkTypeface::Style styleBits) {
400 return SkFontStyle((styleBits & SkTypeface::kBold)
401 ? SkFontStyle::kBold_Weight
402 : SkFontStyle::kNormal_Weight,
403 SkFontStyle::kNormal_Width,
405 ? SkFontStyle::kItalic_Slant
406 : SkFontStyle::kUpright_Slant);
409 #define WEIGHT_THRESHOLD ((SkFontStyle::kNormal_Weight + SkFontStyle::kBold_Weight)/2)
411 static SkTypeface::Style fontstyle2stylebits(const SkFontStyle& fs)
    [all...]
SkFontConfigInterface_direct.cpp 54 SkFontStyle::Slant slant = (SkFontStyle::Slant)u8;
55 fStyle = SkFontStyle(weight, width, slant);
68 iden->fStyle = SkFontStyle(300, 6, SkFontStyle::kItalic_Slant);
SkFontHost_win.cpp     [all...]
  /external/chromium_org/third_party/skia/src/core/
SkFontHost.cpp 54 #include "SkFontStyle.h"
56 SkFontStyle::SkFontStyle() {
63 SkFontStyle::SkFontStyle(int weight, int width, Slant slant) {
75 virtual void getStyle(int, SkFontStyle*, SkString*) SK_OVERRIDE {
82 virtual SkTypeface* matchStyle(const SkFontStyle&) SK_OVERRIDE {
110 const SkFontStyle&) const SK_OVERRIDE {
115 const SkFontStyle& style,
121 const SkFontStyle& style
    [all...]
SkTypeface.cpp 147 SkFontStyle newStyle = SkFontStyle(bold ? SkFontStyle::kBold_Weight
148 : SkFontStyle::kNormal_Weight,
149 SkFontStyle::kNormal_Width,
150 italic ? SkFontStyle::kItalic_Slant
151 : SkFontStyle::kUpright_Slant);
  /external/chromium_org/third_party/skia/src/fonts/
SkFontMgr_indirect.cpp 11 #include "SkFontStyle.h"
30 virtual void getStyle(int index, SkFontStyle* fs, SkString* style) SK_OVERRIDE {
44 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRIDE {
86 const SkFontStyle& current = fData->at(i).fFontStyle;
91 if (pattern.width() <= SkFontStyle::kNormal_Width) {
243 const SkFontStyle& fontStyle) const {
250 const SkFontStyle& style,
260 const SkFontStyle& style,
269 const SkFontStyle& fontStyle) const {
291 SkFontStyle style = SkFontStyle(bold ? SkFontStyle::kBold_Weigh
    [all...]
SkFontMgr_fontconfig.cpp 9 #include "SkFontStyle.h"
146 virtual void getStyle(int index, SkFontStyle*, SkString* style) SK_OVERRIDE;
148 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRIDE;
154 SkFontStyle fStyle;
168 static SkFontStyle make_fontconfig_style(FcPattern* match) {
177 return SkFontStyle(weight, width, slant > 0 ? SkFontStyle::kItalic_Slant
178 : SkFontStyle::kUpright_Slant);
195 void SkFontStyleSet_FC::getStyle(int index, SkFontStyle* style,
210 SkTypeface* SkFontStyleSet_FC::matchStyle(const SkFontStyle& pattern)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
FontCacheSkia.cpp 168 static inline SkFontStyle fontStyle(const FontDescription& fontDescription)
172 SkFontStyle::Slant slant = fontDescription.style() == FontStyleItalic
173 ? SkFontStyle::kItalic_Slant
174 : SkFontStyle::kUpright_Slant;
175 return SkFontStyle(weight, width, slant);
178 COMPILE_ASSERT(static_cast<int>(FontStretchUltraCondensed) == static_cast<int>(SkFontStyle::kUltraCondensed_Width),
180 COMPILE_ASSERT(static_cast<int>(FontStretchNormal) == static_cast<int>(SkFontStyle::kNormal_Width),
182 COMPILE_ASSERT(static_cast<int>(FontStretchUltraExpanded) == static_cast<int>(SkFontStyle::kUltaExpanded_Width),
237 // FIXME: Use m_fontManager, SkFontStyle and matchFamilyStyle instead of
  /external/chromium_org/third_party/skia/gm/
fontmgr.cpp 30 const SkFontStyle& fontStyle) {
101 SkFontStyle fs;
158 SkFontStyle fs;
176 SkFontStyle fs(weight, width, SkFontStyle::kUpright_Slant);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/android/
FontCacheAndroid.cpp 55 RefPtr<SkTypeface> typeface = adoptRef(fm->matchFamilyStyleCharacter(0, SkFontStyle(), bcp47Locales, localeCount, c));
  /external/chromium_org/third_party/skia/tests/
FontMgrTest.cpp 99 SkFontStyle fs;
FontNamesTest.cpp 151 SkFontStyle fs;

Completed in 367 milliseconds