Lines Matching defs:hdc
41 static CGContextRef CGContextWithHDC(HDC hdc, bool hasAlpha)
43 HBITMAP bitmap = static_cast<HBITMAP>(GetCurrentObject(hdc, OBJ_BITMAP));
65 SetGraphicsMode(hdc, GM_ADVANCED);
70 GraphicsContext::GraphicsContext(HDC hdc, bool hasAlpha)
74 platformInit(hdc, hasAlpha);
77 void GraphicsContext::platformInit(HDC hdc, bool hasAlpha)
79 m_data = new GraphicsContextPlatformPrivate(CGContextWithHDC(hdc, hasAlpha));
81 m_data->m_hdc = hdc;
92 void GraphicsContext::releaseWindowsContext(HDC hdc, const IntRect& dstRect, bool supportAlphaBlend, bool mayCreateBitmap)
103 auto bitmap = adoptGDIObject(static_cast<HBITMAP>(::GetCurrentObject(hdc, OBJ_BITMAP)));
119 ::DeleteDC(hdc);