void vDrawArrow( HDC hDC, POINT startPoint, POINT EndPoint, double theta, int length )
{
double Px = 0;
double Py = 0;
double P1x = 0;
double P1y = 0;
double P2x = 0;
double P2y = 0;
double dVectorLen_P1 = 0;
double dVectorLen_P2 = 0;
HBRUSH hBrush = NULL;
HBRUSH hOldBrush = NULL;
HPEN hPen = NULL;
HPEN hOldPen = NULL;
POINT* pPoints = NULL;
/* < 以P2为原点得到向量P2P1(P) > */
Px = startPoint.x - endPoint.x;
Py = startPoint.y - endPoint.y;
double _len = sqrt(Px*Px + Py*Py);
{
double Px = 0;
double Py = 0;
double P1x = 0;
double P1y = 0;
double P2x = 0;
double P2y = 0;
double dVectorLen_P1 = 0;
double dVectorLen_P2 = 0;
HBRUSH hBrush = NULL;
HBRUSH hOldBrush = NULL;
HPEN hPen = NULL;
HPEN hOldPen = NULL;
POINT* pPoints = NULL;
/* < 以P2为原点得到向量P2P1(P) > */
Px = startPoint.x - endPoint.x;
Py = startPoint.y - endPoint.y;
double _len = sqrt(Px*Px + Py*Py);