Lines Matching refs:hdc
24 GDISurface::GDISurface(HDC theHDC)
35 void GDISurface::setHDC(HDC theHDC)
113 HDC hdc = surface->getHDC();
119 SaveDC(hdc);
121 SetGraphicsMode(hdc, GM_ADVANCED);
122 ModifyWorldTransform(hdc, NULL, MWT_IDENTITY);
123 SetViewportOrgEx(hdc, 0, 0, NULL);
124 SetWindowOrgEx(hdc, 0, 0, NULL);
126 dpiX = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSX);
127 dpiY = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSY);
133 DPtoLP(hdc, &pt, 1);
161 SelectObject(hdc, fFont);
163 UINT ret = GetOutlineTextMetrics(hdc, sizeof otm, &otm);
186 RestoreDC(hdc, -1);
198 HDC hdc = surface->getHDC();
204 SaveDC(hdc);
206 SetGraphicsMode(hdc, GM_ADVANCED);
207 ModifyWorldTransform(hdc, NULL, MWT_IDENTITY);
208 SetViewportOrgEx(hdc, 0, 0, NULL);
209 SetWindowOrgEx(hdc, 0, 0, NULL);
211 dpiX = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSX);
212 dpiY = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSY);
221 DPtoLP(hdc, &pt, 1);
249 SelectObject(hdc, fFont);
251 UINT ret = GetOutlineTextMetrics(hdc, sizeof otm, &otm);
298 RestoreDC(hdc, -1);
344 HDC hdc = fSurface->getHDC();
346 DWORD len = GetFontData(hdc, stag, 0, NULL, 0);
351 GetFontData(hdc, stag, 0, result, len);
370 HDC hdc = fSurface->getHDC();
374 result = GetGlyphOutline(hdc, glyph, GGO_GLYPH_INDEX | GGO_METRICS, &metrics, 0, NULL, &identity);