Lines Matching refs:LOGFONT

44 static void (*gEnsureLOGFONTAccessibleProc)(const LOGFONT&);
46 void SkTypeface_SetEnsureLOGFONTAccessibleProc(void (*proc)(const LOGFONT&)) {
50 static void call_ensure_accessible(const LOGFONT& lf) {
105 static void dcfontname_to_skstring(HDC deviceContext, const LOGFONT& lf, SkString* familyName) {
125 static void make_canonical(LOGFONT* lf) {
133 static SkFontStyle get_style(const LOGFONT& lf) {
154 static unsigned calculateGlyphCount(HDC hdc, const LOGFONT& lf) {
190 static unsigned calculateUPEM(HDC hdc, const LOGFONT& lf) {
214 explicit SkAutoHDC(const LOGFONT& lf)
237 LogFontTypeface(const SkFontStyle& style, const LOGFONT& lf, bool serializeAsStream)
262 LOGFONT fLogFont;
266 static sk_sp<LogFontTypeface> Make(const LOGFONT& lf) {
311 static sk_sp<FontMemResourceTypeface> Make(const LOGFONT& lf, HANDLE fontMemResource) {
326 FontMemResourceTypeface(const SkFontStyle& style, const LOGFONT& lf, HANDLE fontMemResource)
335 static const LOGFONT& get_default_font() {
336 static LOGFONT gDefaultFont;
342 const LOGFONT* lf = reinterpret_cast<const LOGFONT*>(ctx);
344 return !memcmp(&lface->fLogFont, lf, sizeof(LOGFONT));
351 SkTypeface* SkCreateTypefaceFromLOGFONT(const LOGFONT& origLF) {
352 LOGFONT lf = origLF;
365 sk_sp<SkTypeface> SkCreateFontMemResourceTypefaceFromLOGFONT(const LOGFONT& origLF, HANDLE fontMemResource) {
366 LOGFONT lf = origLF;
375 void SkLOGFONTFromTypeface(const SkTypeface* face, LOGFONT* lf) {
685 LOGFONT lf = typeface->fLogFont;
1584 static void logfont_for_name(const char* familyName, LOGFONT* lf) {
1585 sk_bzero(lf, sizeof(LOGFONT));
1627 LOGFONT lf = fLogFont;
1816 LOGFONT lf;
1826 LOGFONT lf = fLogFont;
2039 LOGFONT lf = fLogFont;
2055 LOGFONT lf = fLogFont;
2154 static bool valid_logfont_for_enum(const LOGFONT& lf) {
2170 static int CALLBACK enum_family_proc(const LOGFONT* lf, const TEXTMETRIC*,
2182 LOGFONT lf;
2202 // For some reason, ENUMLOGFONTEX and LOGFONT disagree on their type in the
2205 // LOGFONT uses CHAR
2228 LOGFONT lf;
2256 LOGFONT lf;
2300 LOGFONT lf;