Lines Matching refs:size
103 HDC hDC,LPRECT lpRect,SIZE size, in DrawDragRect() argument
112 InflateRect(&rect,-size.cx, -size.cy); in DrawDragRect()
536 SIZE size; in DrawTrackerRect() local
537 size.cx = 0; size.cy = 0; in DrawTrackerRect()
543 size.cx = size.cy = max(1,GetHandleSize(&rect)-1); in DrawTrackerRect()
544 InflateRect(&rect,size.cx,size.cy); in DrawTrackerRect()
548 size.cx = 1; // CX_BORDER; in DrawTrackerRect()
549 size.cy = 1; // CY_BORDER; in DrawTrackerRect()
555 DrawDragRect(pDC,&rect,size,&m_rectLast,m_sizeLast); in DrawTrackerRect()
559 m_sizeLast = size; in DrawTrackerRect()
671 int size = GetHandleSize(); in GetHandleRect() local
673 InflateRect(&rectT,size-1, size-1); in GetHandleRect()
682 rect.left += size * pHandleInfo->nHandleX; in GetHandleRect()
683 rect.top += size * pHandleInfo->nHandleY; in GetHandleRect()
684 rect.left += pHandleInfo->nCenterX * (nWidth - size) / 2; in GetHandleRect()
685 rect.top += pHandleInfo->nCenterY * (nHeight - size) / 2; in GetHandleRect()
686 rect.right = rect.left + size; in GetHandleRect()
687 rect.bottom = rect.top + size; in GetHandleRect()
698 int size = m_nHandleSize; in GetHandleSize() local
704 if (size * 2 > sizeMax) in GetHandleSize()
705 size = sizeMax / 2; in GetHandleSize()
707 return size; in GetHandleSize()
714 int size = m_nHandleSize*3; in GetHandleMask() local
715 if (abs(m_rect.right - m_rect.left) - size > 4) in GetHandleMask()
717 if (abs(m_rect.bottom - m_rect.top) - size > 4) in GetHandleMask()