Home | History | Annotate | Download | only in skia

Lines Matching refs:dc

142 // currently selected into the given DC is used. Returns true on success.
143 static bool getPathForGlyph(HDC dc, WORD glyph, SkPath* path)
149 DWORD totalSize = GetGlyphOutlineW(dc, glyph, GGO_GLYPH_INDEX | GGO_NATIVE,
178 // should be selected into the given DC. The returned path is owned by the
266 HDC dc,
278 const SkPath* path = SkiaWinOutlineCache::lookupOrCreatePathForGlyph(dc, hfont, glyphs[i]);
306 HDC dc = GetDC(0);
307 HGDIOBJ oldFont = SelectObject(dc, hfont);
319 if (!skiaDrawText(hfont, dc, platformContext->canvas(), *origin, &paint,
346 if (!skiaDrawText(hfont, dc, platformContext->canvas(), *origin, &paint,
351 SelectObject(dc, oldFont);
352 ReleaseDC(0, dc);