Home | History | Annotate | Download | only in win

Lines Matching refs:dc

50     HDC dc = GetDC(0);
52 ::SelectObject(dc, hFont);
58 GetTextMetrics(dc, &tm);
65 RestoreDC(dc, -1);
66 ReleaseDC(0, dc);
71 // FIXME: Microsoft documentation seems to imply that characters can be output using a given font and DC
86 HDC dc = GetDC(0);
92 langFontLink->GetFontCodePages(dc, (HFONT)font, &fontCodePages);
104 ReleaseDC(0, dc);
112 HDC dc = GetDC(0);
114 ::SelectObject(dc, hFont);
121 hfontOld = (HFONT)::SelectObject(dc, hFont);
130 if ( !::GetTextExtentPoint32(dc, str, len, &sizeRect) )
144 if ( ::GetCharABCWidths(dc, chFirst, chFirst, &width) )
152 ::GetCharABCWidths(dc, chLast, chLast, &width);
164 ::GetTextMetrics(dc, &tm);
177 ::SelectObject(dc, hfontOld);
180 ReleaseDC(0, dc);