/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; 73 SkTypeface* matchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 76 SkTypeface* matchFaceStyle(const SkTypeface*, const SkFontStyle&) const; 118 const SkFontStyle&) const = 0; 120 virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 124 const SkFontStyle&) const = 0;
|
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; 136 virtual SkFontIdentity matchNameStyleCharacter(const char familyName[], const SkFontStyle&,
|
SkFontMgr_indirect.h | 13 #include "SkFontStyle.h" 40 const SkFontStyle& fontStyle) const SK_OVERRIDE; 43 const SkFontStyle&, 48 const SkFontStyle& fontStyle) const SK_OVERRIDE;
|
SkFontConfigInterface.h | 12 #include "SkFontStyle.h" 61 SkFontStyle fStyle;
|
/external/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; 73 SkTypeface* matchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 76 SkTypeface* matchFaceStyle(const SkTypeface*, const SkFontStyle&) const; 118 const SkFontStyle&) const = 0; 120 virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 124 const SkFontStyle&) const = 0;
|
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; 136 virtual SkFontIdentity matchNameStyleCharacter(const char familyName[], const SkFontStyle&,
|
SkFontMgr_indirect.h | 13 #include "SkFontStyle.h" 40 const SkFontStyle& fontStyle) const SK_OVERRIDE; 43 const SkFontStyle&, 48 const SkFontStyle& fontStyle) const SK_OVERRIDE;
|
SkFontConfigInterface.h | 12 #include "SkFontStyle.h" 61 SkFontStyle fStyle;
|
/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 { 114 const SkFontStyle& style, 120 const SkFontStyle&) const SK_OVERRIDE [all...] |
/external/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 { 114 const SkFontStyle& style, 120 const SkFontStyle&) const SK_OVERRIDE [all...] |
/external/chromium_org/third_party/skia/src/ports/ |
SkFontHost_linux.cpp | 142 virtual void getStyle(int index, SkFontStyle* style, SkString* name) SK_OVERRIDE { 146 *style = SkFontStyle(bold ? SkFontStyle::kBold_Weight : SkFontStyle::kNormal_Weight, 147 SkFontStyle::kNormal_Width, 148 italic ? SkFontStyle::kItalic_Slant : SkFontStyle::kUpright_Slant); 157 static int match_score(const SkFontStyle& pattern, const SkFontStyle& candidate) { 165 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRIDE [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 412 const SkFontStyle& pattern [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 | 403 static SkFontStyle stylebits2fontstyle(SkTypeface::Style styleBits) { 404 return SkFontStyle((styleBits & SkTypeface::kBold) 405 ? SkFontStyle::kBold_Weight 406 : SkFontStyle::kNormal_Weight, 407 SkFontStyle::kNormal_Width, 409 ? SkFontStyle::kItalic_Slant 410 : SkFontStyle::kUpright_Slant); 413 #define WEIGHT_THRESHOLD ((SkFontStyle::kNormal_Weight + SkFontStyle::kBold_Weight)/2) 415 static SkTypeface::Style fontstyle2stylebits(const SkFontStyle& fs) [all...] |
/external/skia/src/ports/ |
SkFontHost_linux.cpp | 142 virtual void getStyle(int index, SkFontStyle* style, SkString* name) SK_OVERRIDE { 146 *style = SkFontStyle(bold ? SkFontStyle::kBold_Weight : SkFontStyle::kNormal_Weight, 147 SkFontStyle::kNormal_Width, 148 italic ? SkFontStyle::kItalic_Slant : SkFontStyle::kUpright_Slant); 157 static int match_score(const SkFontStyle& pattern, const SkFontStyle& candidate) { 165 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRIDE [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 412 const SkFontStyle& pattern [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...] |
/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 { 249 const SkFontStyle& style, 257 const SkFontStyle& fontStyle) const { 279 SkFontStyle style = SkFontStyle(bold ? SkFontStyle::kBold_Weigh [all...] |
SkFontMgr_fontconfig.cpp | 9 #include "SkFontStyle.h" 151 virtual void getStyle(int index, SkFontStyle*, SkString* style) SK_OVERRIDE; 153 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRIDE; 159 SkFontStyle fStyle; 173 static SkFontStyle make_fontconfig_style(FcPattern* match) { 182 return SkFontStyle(weight, width, slant > 0 ? SkFontStyle::kItalic_Slant 183 : SkFontStyle::kUpright_Slant); 200 void SkFontStyleSet_FC::getStyle(int index, SkFontStyle* style, 215 SkTypeface* SkFontStyleSet_FC::matchStyle(const SkFontStyle& pattern) [all...] |
/external/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 { 249 const SkFontStyle& style, 257 const SkFontStyle& fontStyle) const { 279 SkFontStyle style = SkFontStyle(bold ? SkFontStyle::kBold_Weigh [all...] |
SkFontMgr_fontconfig.cpp | 9 #include "SkFontStyle.h" 151 virtual void getStyle(int index, SkFontStyle*, SkString* style) SK_OVERRIDE; 153 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRIDE; 159 SkFontStyle fStyle; 173 static SkFontStyle make_fontconfig_style(FcPattern* match) { 182 return SkFontStyle(weight, width, slant > 0 ? SkFontStyle::kItalic_Slant 183 : SkFontStyle::kUpright_Slant); 200 void SkFontStyleSet_FC::getStyle(int index, SkFontStyle* style, 215 SkTypeface* SkFontStyleSet_FC::matchStyle(const SkFontStyle& pattern) [all...] |
/external/chromium_org/third_party/skia/gm/ |
fontmgr.cpp | 72 SkFontStyle fs; 123 SkFontStyle fs; 141 SkFontStyle fs(weight, width, SkFontStyle::kUpright_Slant);
|
/external/skia/gm/ |
fontmgr.cpp | 72 SkFontStyle fs; 123 SkFontStyle fs; 141 SkFontStyle fs(weight, width, SkFontStyle::kUpright_Slant);
|