/external/skia/src/core/ |
D | SkFontHost.cpp | 56 SkFontStyle::SkFontStyle() { in SkFontStyle() function in SkFontStyle 63 SkFontStyle::SkFontStyle(int weight, int width, Slant slant) { in SkFontStyle() function in SkFontStyle 75 virtual void getStyle(int, SkFontStyle*, SkString*) SK_OVERRIDE { in getStyle() argument 82 virtual SkTypeface* matchStyle(const SkFontStyle&) SK_OVERRIDE { in matchStyle() argument 110 const SkFontStyle&) SK_OVERRIDE { in onMatchFamilyStyle() argument 114 const SkFontStyle&) SK_OVERRIDE { in onMatchFaceStyle() argument 155 const SkFontStyle& fs) { in matchFamilyStyle() 160 const SkFontStyle& fs) { in matchFaceStyle() 210 static SkFontStyle TypefaceStyleBitsToFontStyle(SkTypeface::Style styleBits) { 211 SkFontStyle::Weight weight = (styleBits & SkTypeface::kBold) ? [all …]
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkFontHost.cpp | 56 SkFontStyle::SkFontStyle() { in SkFontStyle() function in SkFontStyle 63 SkFontStyle::SkFontStyle(int weight, int width, Slant slant) { in SkFontStyle() function in SkFontStyle 75 virtual void getStyle(int, SkFontStyle*, SkString*) SK_OVERRIDE { in getStyle() argument 82 virtual SkTypeface* matchStyle(const SkFontStyle&) SK_OVERRIDE { in matchStyle() argument 110 const SkFontStyle&) SK_OVERRIDE { in onMatchFamilyStyle() argument 114 const SkFontStyle&) SK_OVERRIDE { in onMatchFaceStyle() argument 155 const SkFontStyle& fs) { in matchFamilyStyle() 160 const SkFontStyle& fs) { in matchFaceStyle() 210 static SkFontStyle TypefaceStyleBitsToFontStyle(SkTypeface::Style styleBits) { 211 SkFontStyle::Weight weight = (styleBits & SkTypeface::kBold) ? [all …]
|
/external/skia/src/ports/ |
D | SkFontHost_linux.cpp | 145 virtual void getStyle(int index, SkFontStyle* style, SkString* name) SK_OVERRIDE { in getStyle() 149 *style = SkFontStyle(bold ? SkFontStyle::kBold_Weight : SkFontStyle::kNormal_Weight, in getStyle() 150 SkFontStyle::kNormal_Width, in getStyle() 151 italic ? SkFontStyle::kItalic_Slant : SkFontStyle::kUpright_Slant); in getStyle() 160 static int match_score(const SkFontStyle& pattern, const SkFontStyle& candidate) { in match_score() 168 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRIDE { in matchStyle() 178 SkFontStyle style = SkFontStyle(bold ? SkFontStyle::kBold_Weight in matchStyle() 179 : SkFontStyle::kNormal_Weight, in matchStyle() 180 SkFontStyle::kNormal_Width, in matchStyle() 181 italic ? SkFontStyle::kItalic_Slant in matchStyle() [all …]
|
D | SkFontHost_mac.cpp | 403 static SkFontStyle stylebits2fontstyle(SkTypeface::Style styleBits) { in stylebits2fontstyle() 404 return SkFontStyle((styleBits & SkTypeface::kBold) in stylebits2fontstyle() 405 ? SkFontStyle::kBold_Weight in stylebits2fontstyle() 406 : SkFontStyle::kNormal_Weight, in stylebits2fontstyle() 407 SkFontStyle::kNormal_Width, in stylebits2fontstyle() 409 ? SkFontStyle::kItalic_Slant in stylebits2fontstyle() 410 : SkFontStyle::kUpright_Slant); in stylebits2fontstyle() 413 #define WEIGHT_THRESHOLD ((SkFontStyle::kNormal_Weight + SkFontStyle::kBold_Weight)/2) 415 static SkTypeface::Style fontstyle2stylebits(const SkFontStyle& fs) { in fontstyle2stylebits() 438 SkTypeface_Mac(const SkFontStyle& fs, SkFontID fontID, bool isFixedPitch, in SkTypeface_Mac() [all …]
|
D | SkFontConfigInterface_direct.cpp | 53 SkFontStyle::Slant slant = (SkFontStyle::Slant)u8; in readFromMemory() 54 fStyle = SkFontStyle(weight, width, slant); in readFromMemory() 67 iden->fStyle = SkFontStyle(300, 6, SkFontStyle::kItalic_Slant); in make_iden()
|
D | SkFontHost_win_dw.cpp | 136 const SkFontStyle& fontstyle) SK_OVERRIDE; 138 const SkFontStyle& fontstyle) SK_OVERRIDE; 175 virtual void getStyle(int index, SkFontStyle* fs, SkString* styleName) SK_OVERRIDE; 177 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRIDE; 1708 const SkFontStyle& fontstyle) { in onMatchFamilyStyle() 1714 const SkFontStyle& fontstyle) { in onMatchFaceStyle() 1812 void SkFontStyleSet_DirectWrite::getStyle(int index, SkFontStyle* fs, SkString* styleName) { in getStyle() 1816 SkFontStyle::Slant slant; in getStyle() 1819 slant = SkFontStyle::kUpright_Slant; in getStyle() 1823 slant = SkFontStyle::kItalic_Slant; in getStyle() [all …]
|
D | SkFontHost_win.cpp | 2469 static SkFontStyle compute_fontstyle(const LOGFONT& lf) { in compute_fontstyle() 2470 return SkFontStyle(lf.lfWeight, SkFontStyle::kNormal_Width, in compute_fontstyle() 2471 lf.lfItalic ? SkFontStyle::kItalic_Slant in compute_fontstyle() 2472 : SkFontStyle::kUpright_Slant); in compute_fontstyle() 2492 virtual void getStyle(int index, SkFontStyle* fs, SkString* styleName) SK_OVERRIDE { in getStyle() 2513 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRIDE { in matchStyle() 2559 const SkFontStyle& fontstyle) SK_OVERRIDE { in onMatchFamilyStyle() 2566 const SkFontStyle& fontstyle) SK_OVERRIDE { in onMatchFaceStyle()
|
/external/chromium_org/third_party/skia/src/ports/ |
D | SkFontHost_linux.cpp | 145 virtual void getStyle(int index, SkFontStyle* style, SkString* name) SK_OVERRIDE { in getStyle() 149 *style = SkFontStyle(bold ? SkFontStyle::kBold_Weight : SkFontStyle::kNormal_Weight, in getStyle() 150 SkFontStyle::kNormal_Width, in getStyle() 151 italic ? SkFontStyle::kItalic_Slant : SkFontStyle::kUpright_Slant); in getStyle() 160 static int match_score(const SkFontStyle& pattern, const SkFontStyle& candidate) { in match_score() 168 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRIDE { in matchStyle() 178 SkFontStyle style = SkFontStyle(bold ? SkFontStyle::kBold_Weight in matchStyle() 179 : SkFontStyle::kNormal_Weight, in matchStyle() 180 SkFontStyle::kNormal_Width, in matchStyle() 181 italic ? SkFontStyle::kItalic_Slant in matchStyle() [all …]
|
D | SkFontHost_mac.cpp | 403 static SkFontStyle stylebits2fontstyle(SkTypeface::Style styleBits) { in stylebits2fontstyle() 404 return SkFontStyle((styleBits & SkTypeface::kBold) in stylebits2fontstyle() 405 ? SkFontStyle::kBold_Weight in stylebits2fontstyle() 406 : SkFontStyle::kNormal_Weight, in stylebits2fontstyle() 407 SkFontStyle::kNormal_Width, in stylebits2fontstyle() 409 ? SkFontStyle::kItalic_Slant in stylebits2fontstyle() 410 : SkFontStyle::kUpright_Slant); in stylebits2fontstyle() 413 #define WEIGHT_THRESHOLD ((SkFontStyle::kNormal_Weight + SkFontStyle::kBold_Weight)/2) 415 static SkTypeface::Style fontstyle2stylebits(const SkFontStyle& fs) { in fontstyle2stylebits() 438 SkTypeface_Mac(const SkFontStyle& fs, SkFontID fontID, bool isFixedPitch, in SkTypeface_Mac() [all …]
|
D | SkFontConfigInterface_direct.cpp | 53 SkFontStyle::Slant slant = (SkFontStyle::Slant)u8; in readFromMemory() 54 fStyle = SkFontStyle(weight, width, slant); in readFromMemory() 67 iden->fStyle = SkFontStyle(300, 6, SkFontStyle::kItalic_Slant); in make_iden()
|
D | SkFontHost_win_dw.cpp | 136 const SkFontStyle& fontstyle) SK_OVERRIDE; 138 const SkFontStyle& fontstyle) SK_OVERRIDE; 175 virtual void getStyle(int index, SkFontStyle* fs, SkString* styleName) SK_OVERRIDE; 177 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRIDE; 1708 const SkFontStyle& fontstyle) { in onMatchFamilyStyle() 1714 const SkFontStyle& fontstyle) { in onMatchFaceStyle() 1812 void SkFontStyleSet_DirectWrite::getStyle(int index, SkFontStyle* fs, SkString* styleName) { in getStyle() 1816 SkFontStyle::Slant slant; in getStyle() 1819 slant = SkFontStyle::kUpright_Slant; in getStyle() 1823 slant = SkFontStyle::kItalic_Slant; in getStyle() [all …]
|
D | SkFontHost_win.cpp | 2469 static SkFontStyle compute_fontstyle(const LOGFONT& lf) { in compute_fontstyle() 2470 return SkFontStyle(lf.lfWeight, SkFontStyle::kNormal_Width, in compute_fontstyle() 2471 lf.lfItalic ? SkFontStyle::kItalic_Slant in compute_fontstyle() 2472 : SkFontStyle::kUpright_Slant); in compute_fontstyle() 2492 virtual void getStyle(int index, SkFontStyle* fs, SkString* styleName) SK_OVERRIDE { in getStyle() 2513 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRIDE { in matchStyle() 2559 const SkFontStyle& fontstyle) SK_OVERRIDE { in onMatchFamilyStyle() 2566 const SkFontStyle& fontstyle) SK_OVERRIDE { in onMatchFaceStyle()
|
/external/chromium_org/third_party/skia/include/ports/ |
D | SkFontMgr.h | 24 virtual void getStyle(int index, SkFontStyle*, SkString* style) = 0; 26 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) = 0; 56 SkTypeface* matchFamilyStyle(const char familyName[], const SkFontStyle&); 58 SkTypeface* matchFaceStyle(const SkTypeface*, const SkFontStyle&); 100 const SkFontStyle&) = 0; 102 const SkFontStyle&) = 0;
|
D | SkFontStyle.h | 13 class SK_API SkFontStyle { 44 SkFontStyle(); 45 SkFontStyle(int weight, int width, Slant); 47 bool operator==(const SkFontStyle& rhs) const {
|
D | SkFontConfigInterface.h | 61 SkFontStyle fStyle;
|
/external/skia/include/ports/ |
D | SkFontMgr.h | 24 virtual void getStyle(int index, SkFontStyle*, SkString* style) = 0; 26 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) = 0; 56 SkTypeface* matchFamilyStyle(const char familyName[], const SkFontStyle&); 58 SkTypeface* matchFaceStyle(const SkTypeface*, const SkFontStyle&); 100 const SkFontStyle&) = 0; 102 const SkFontStyle&) = 0;
|
D | SkFontStyle.h | 13 class SK_API SkFontStyle { 44 SkFontStyle(); 45 SkFontStyle(int weight, int width, Slant); 47 bool operator==(const SkFontStyle& rhs) const {
|
D | SkFontConfigInterface.h | 61 SkFontStyle fStyle;
|
/external/skia/src/fonts/ |
D | SkFontMgr_fontconfig.cpp | 115 virtual void getStyle(int index, SkFontStyle*, SkString* style) SK_OVERRIDE; 117 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRIDE; 123 SkFontStyle fStyle; 137 static SkFontStyle make_fontconfig_style(FcPattern* match) { in make_fontconfig_style() 146 return SkFontStyle(weight, width, slant > 0 ? SkFontStyle::kItalic_Slant in make_fontconfig_style() 147 : SkFontStyle::kUpright_Slant); in make_fontconfig_style() 164 void SkFontStyleSet_FC::getStyle(int index, SkFontStyle* style, in getStyle() 179 SkTypeface* SkFontStyleSet_FC::matchStyle(const SkFontStyle& pattern) { in matchStyle() 264 const SkFontStyle&) { return NULL; } in onMatchFamilyStyle() argument 266 const SkFontStyle&) { return NULL; } in onMatchFaceStyle() argument
|
/external/chromium_org/third_party/skia/src/fonts/ |
D | SkFontMgr_fontconfig.cpp | 115 virtual void getStyle(int index, SkFontStyle*, SkString* style) SK_OVERRIDE; 117 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRIDE; 123 SkFontStyle fStyle; 137 static SkFontStyle make_fontconfig_style(FcPattern* match) { in make_fontconfig_style() 146 return SkFontStyle(weight, width, slant > 0 ? SkFontStyle::kItalic_Slant in make_fontconfig_style() 147 : SkFontStyle::kUpright_Slant); in make_fontconfig_style() 164 void SkFontStyleSet_FC::getStyle(int index, SkFontStyle* style, in getStyle() 179 SkTypeface* SkFontStyleSet_FC::matchStyle(const SkFontStyle& pattern) { in matchStyle() 264 const SkFontStyle&) { return NULL; } in onMatchFamilyStyle() argument 266 const SkFontStyle&) { return NULL; } in onMatchFaceStyle() argument
|
/external/skia/gm/ |
D | fontmgr.cpp | 72 SkFontStyle fs; in onDraw() 123 SkFontStyle fs; in iterateFamily() 141 SkFontStyle fs(weight, width, SkFontStyle::kUpright_Slant); in exploreFamily()
|
/external/skia/tests/ |
D | FontMgrTest.cpp | 63 SkFontStyle fs; in test_fontiter()
|
D | FontNamesTest.cpp | 152 SkFontStyle fs; in test_systemfonts()
|
/external/skia/gyp/ |
D | public_headers.gypi | 165 'ports/SkFontStyle.h',
|
/external/chromium_org/third_party/skia/gyp/ |
D | public_headers.gypi | 223 'ports/SkFontStyle.h',
|