• Home
  • Raw
  • Download

Lines Matching refs:hdc

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