Lines Matching refs:hDCImage
33 void SelectionModel::DrawBackgroundPoly(HDC hDCImage, COLORREF crBg) in DrawBackgroundPoly() argument
38 HGDIOBJ hbrOld = ::SelectObject(hDCImage, ::GetStockObject(DC_BRUSH)); in DrawBackgroundPoly()
39 ::SetDCBrushColor(hDCImage, crBg); in DrawBackgroundPoly()
40 ::MaskBlt(hDCImage, m_rcOld.left, m_rcOld.top, m_rcOld.Width(), m_rcOld.Height(), in DrawBackgroundPoly()
41 hDCImage, m_rcOld.left, m_rcOld.top, m_hbmMask, 0, 0, MAKEROP4(PATCOPY, SRCCOPY)); in DrawBackgroundPoly()
42 ::SelectObject(hDCImage, hbrOld); in DrawBackgroundPoly()
45 void SelectionModel::DrawBackgroundRect(HDC hDCImage, COLORREF crBg) in DrawBackgroundRect() argument
50 Rect(hDCImage, m_rcOld.left, m_rcOld.top, m_rcOld.right, m_rcOld.bottom, crBg, crBg, 0, 1); in DrawBackgroundRect()
53 void SelectionModel::DrawBackground(HDC hDCImage, COLORREF crBg) in DrawBackground() argument
56 DrawBackgroundPoly(hDCImage, crBg); in DrawBackground()
58 DrawBackgroundRect(hDCImage, crBg); in DrawBackground()
62 SelectionModel::DrawSelection(HDC hDCImage, COLORREF crBg, BOOL bBgTransparent, const CRect& rc, in DrawSelection() argument
74 HDC hMemDC = CreateCompatibleDC(hDCImage); in DrawSelection()
76 ColorKeyedMaskBlt(hDCImage, rc.left, rc.top, rc.Width(), rc.Height(), in DrawSelection()