RectF rcBound (0, (REAL) rc. Height () * 90/140, (REAL) rc. Width () and (REAL) rc. Height () * 50/140);//the coordinates of two points of diagonal
COLORREF colorPBack (RGB (40, 40, 40));
Color colorPMinLine (255, 255, 0, 0).
PointF ptPCM1 (4 * 120);/* */
Vector
Float fTmpValue;
If (! M_vecding. Empty ())
{
for (int i=0; I & lt; M_vecding. The size (); I++)
{
FTmpValue=https://bbs.csdn.net/topics/(m_vecding [I]/65536 * m_multiple)> 65536? 65536: m_vecding [I]/65536 * m_multiple;
If (fTmpValue & lt; - 65536)
{
FTmpValue=https://bbs.csdn.net/topics/-65536;
}
Vec2. Push_back (rcBound. Height/2 - fTmpValue * (rcBound. Height/2) + rcBound. Y);
}
For (int I=0; I & lt; Vec2. The size ()/2; I++)
{
//starting point coordinates
PtPCM1 [I * 2] X=rcBound. X + I * rcBound Width/(2 * 120);/* */
PtPCM1 [I * 2] Y=vec2 [I * 2];
PtPCM1 [I * 2 + 1] X=ptPCM1 [I * 2] X;
PtPCM1 [I * 2 + 1] Y=vec2 [I * 2 + 1];
}
Color colorLine (200, 50, 205, 50);
Pen penLine (colorLine);
Graphics - & gt; DrawLines (& amp; PenLine ptPCM1, 4 * 120);/* */2-500
CodePudding user response:
CodePudding user response:
Problems would have solved such as people with the same problems can add my Qq 1285928872CodePudding user response:
Resolved QQ 1285928872CodePudding user response:
The building Lord what language is this? C++.NET?