Void fontscoredc :: Draw_Poly_bezier (Point Start, Point Ctrl1, Point Ctrl2, Point End, Const Color & CLR)
{
Hbrush Hbrush;
Hbrush Oldbrush;
Point PT [8];
Hbrush = Createsolidbrush (RGB (CLR.R_, CLR.g_, CLR.B_);
Oldbrush = (Hbrush) SelectObject (m_hdc, hbrush);
Beginpath (m_hdc);
PT [0] .x = start.x_;
PT [0] .y = start.y_;
Pt [1] .x = ctrl1.x_;
Pt [1] .y = ctrl1.y_;
Pt [2] .x = ctrl2.x_;
Pt [2] .y = ctrl2.y_;
PT [3] .x = end.x_;
Pt [3] .y = end.y_;
Pt [4] .x = end.x_;
Pt [4] .y = end.y_;
Pt [5] .x = ctrl2.x_;
Pt [5] .y = ctrl2.y_ 2;
PT [6] .x = ctrl1.x_;
Pt [6] .y = ctrl1.y_ 2;
PT [7] .x = start.x_;
PT [7] .y = start.y_;
Polybezier (M_HDC, PT, 4);
Polybezier (M_HDC, PT 4, 4);
Endpath (m_hdc);
FillPath (m_hdc);
SelectObject (M_HDC, Oldbrush);
DeleteObject (Hbrush);
}