Searched refs:rect (Results 1 – 1 of 1) sorted by relevance
95 CRect rect; in OnPaint() local96 GetClientRect(&rect); in OnPaint()97 int x = (rect.Width() - cxIcon + 1) / 2; in OnPaint()98 int y = (rect.Height() - cyIcon + 1) / 2; in OnPaint()