| | |
| | | //글라스 외각선 그리기 태현[2016/3/23] |
| | | { |
| | | pOldBrush = (CBrush*)pDC->SelectObject(&BrushGlass); |
| | | CPen pen; |
| | | CPen pen, CenterLinePen; |
| | | pen.CreatePen(PS_SOLID, 1, RGB(64, 191, 79)); |
| | | /*< LYW 20211029 - #3684 ADD Start >*/ |
| | | CenterLinePen.CreatePen(PS_DOT, 1, RGB(255, 0, 0)); |
| | | /*< LYW 20211029 - #3684 ADD End >*/ |
| | | pDC->SelectObject(&pen); |
| | | |
| | | pDC->MoveTo(GetWindowPosX(rectGlass.left), GetWindowPosY(rectGlass.top)); |
| | |
| | | pDC->LineTo(GetWindowPosX(rectGlass.left), GetWindowPosY(rectGlass.bottom)); |
| | | pDC->LineTo(GetWindowPosX(rectGlass.left), GetWindowPosY(rectGlass.top)); |
| | | |
| | | /*< LYW 20211029 - #3684 ADD Start >*/ |
| | | pDC->SelectObject(&CenterLinePen); |
| | | pDC->MoveTo(GetWindowPosX((rectGlass.left + rectGlass.right) / 2), GetWindowPosY(rectGlass.top)); |
| | | pDC->LineTo(GetWindowPosX((rectGlass.left + rectGlass.right) / 2), GetWindowPosY(rectGlass.bottom)); |
| | | pDC->MoveTo(GetWindowPosX(rectGlass.left), GetWindowPosY((rectGlass.top + rectGlass.bottom) / 2)); |
| | | pDC->LineTo(GetWindowPosX(rectGlass.right), GetWindowPosY((rectGlass.top + rectGlass.bottom) / 2)); |
| | | /*< LYW 20211029 - #3684 ADD End >*/ |
| | | |
| | | pDC->SelectObject(&pOldBrush); |
| | | |
| | | } |
| | | } |
| | | pDC->SelectClipRgn(NULL); |