// Private methods void Draw_Line::Init(Edge e0, COLORREF bc) { _e0 = e0; _v0 = e0.GetV0(); _v1 = e0.GetV1(); _x0 = _v0.GetX(); _y0 = _v0.GetY(); _x1 = _v1.GetX(); _y1 = _v1.GetY(); _BorR = GetRValue(bc); _BorG = GetGValue(bc); _BorB = GetBValue(bc); }
void Edge::Copy(const Edge& e) { _v0 = e.GetV0(); _v1 = e.GetV1(); }