Home | History | Annotate | Download | only in chromium

Lines Matching refs:dc

63     HDC dc = GetDC(0);
64 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont());
67 if (!GetTextMetrics(dc, &textMetric)) {
72 if (!GetTextMetrics(dc, &textMetric))
87 if (GetOutlineTextMetrics(dc, sizeof(outlineTextMetric), &outlineTextMetric) > 0) {
91 DWORD len = GetGlyphOutlineW(dc, 'x', GGO_METRICS, &glyphMetrics, 0, 0, &identityMatrix);
102 SelectObject(dc, oldFont);
103 ReleaseDC(0, dc);
155 HDC dc = GetDC(0);
156 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont());
161 if (!GetTextMetrics(dc, &textMetric)) {
166 if (!GetTextMetrics(dc, &textMetric))
173 SelectObject(dc, oldFont);
174 ReleaseDC(0, dc);
187 HDC dc = GetDC(0);
188 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont());
191 if (!GetCharWidthI(dc, glyph, 1, 0, &width)) {
196 if (!GetCharWidthI(dc, glyph, 1, 0, &width))
201 SelectObject(dc, oldFont);
202 ReleaseDC(0, dc);