Lines Matching refs:fDDC

564     HDC          fDDC;  member in SkScalerContext_GDI
604 , fDDC(0) in SkScalerContext_GDI()
612 fDDC = ::CreateCompatibleDC(nullptr); in SkScalerContext_GDI()
613 if (!fDDC) { in SkScalerContext_GDI()
616 SetGraphicsMode(fDDC, GM_ADVANCED); in SkScalerContext_GDI()
617 SetBkMode(fDDC, TRANSPARENT); in SkScalerContext_GDI()
661 fSavefont = (HFONT)SelectObject(fDDC, fFont); in SkScalerContext_GDI()
663 if (0 == GetTextMetrics(fDDC, &fTM)) { in SkScalerContext_GDI()
665 if (0 == GetTextMetrics(fDDC, &fTM)) { in SkScalerContext_GDI()
710 UINT success = GetOutlineTextMetrics(fDDC, sizeof(otm), &otm); in SkScalerContext_GDI()
713 success = GetOutlineTextMetrics(fDDC, sizeof(otm), &otm); in SkScalerContext_GDI()
753 if (fDDC) { in ~SkScalerContext_GDI()
754 ::SelectObject(fDDC, fSavefont); in ~SkScalerContext_GDI()
755 ::DeleteDC(fDDC); in ~SkScalerContext_GDI()
766 return fDDC && fFont; in isValid()
772 fDDC, static_cast<const LogFontTypeface*>(this->getTypeface())->fLogFont); in generateGlyphCount()
797 DWORD result = GetGlyphIndicesW(fDDC, utf16, 1, &index, GGI_MARK_NONEXISTING_GLYPHS); in generateCharToGlyph()
827 HRZM(ScriptShape(fDDC, &fSC, utf16, numWCHAR, maxGlyphs, &si[0].a, in generateCharToGlyph()
842 SkASSERT(fDDC); in generateMetrics()
847 if (0 == GetTextExtentPointI(fDDC, &glyphs, 1, &size)) { in generateMetrics()
889 …DWORD status = GetGlyphOutlineW(fDDC, glyphId, GGO_METRICS | GGO_GLYPH_INDEX, &gm, 0, nullptr, &fM… in generateMetrics()
892 … status = GetGlyphOutlineW(fDDC, glyphId, GGO_METRICS | GGO_GLYPH_INDEX, &gm, 0, nullptr, &fMat22); in generateMetrics()
905 …DWORD bufferSize = GetGlyphOutlineW(fDDC, glyphId, GGO_NATIVE | GGO_GLYPH_INDEX, &gm, 0, nullptr, … in generateMetrics()
931 …status = GetGlyphOutlineW(fDDC, glyphId, GGO_METRICS | GGO_GLYPH_INDEX, &gm, 0, nullptr, &fHighRes… in generateMetrics()
939 … status = GetGlyphOutlineW(fDDC, glyphId, GGO_METRICS | GGO_GLYPH_INDEX, &gm, 0, nullptr, &fGsA); in generateMetrics()
956 SkASSERT(fDDC); in generateFontMetrics()
978 uint32_t ret = GetOutlineTextMetrics(fDDC, sizeof(otm), &otm); in generateFontMetrics()
981 ret = GetOutlineTextMetrics(fDDC, sizeof(otm), &otm); in generateFontMetrics()
1007 DWORD len = GetGlyphOutlineW(fDDC, 'x', GGO_METRICS, &gm, 0, 0, &gMat2Identity); in generateFontMetrics()
1230 SkASSERT(fDDC); in generateImage()
1590 …DWORD total_size = GetGlyphOutlineW(fDDC, glyph.getGlyphID(), flags, &gm, BUFFERSIZE, glyphbuf->ge… in getGDIGlyphPath()
1597 total_size = GetGlyphOutlineW(fDDC, glyph.getGlyphID(), flags, &gm, 0, nullptr, &fMat22); in getGDIGlyphPath()
1600 … total_size = GetGlyphOutlineW(fDDC, glyph.getGlyphID(), flags, &gm, 0, nullptr, &fMat22); in getGDIGlyphPath()
1610 …DWORD ret = GetGlyphOutlineW(fDDC, glyph.getGlyphID(), flags, &gm, total_size, glyphbuf->get(), &f… in getGDIGlyphPath()
1613 …ret = GetGlyphOutlineW(fDDC, glyph.getGlyphID(), flags, &gm, total_size, glyphbuf->get(), &fMat22); in getGDIGlyphPath()
1625 SkASSERT(fDDC); in generatePath()