CPoint p = CPoint(10,10);//创建点对象 //参数1:x //参数2:y CPoint p1; p1 = p;//拷贝 //深拷贝 p = { 10,20 };//赋值 p.Offset(35, 35); //p的原来值加上这个值 //{x=45 y=55}
标签:10,MFC,--,35,CPoint,点类 From: https://www.cnblogs.com/liming19680104/p/16967427.html
CPoint p = CPoint(10,10);//创建点对象 //参数1:x //参数2:y CPoint p1; p1 = p;//拷贝 //深拷贝 p = { 10,20 };//赋值 p.Offset(35, 35); //p的原来值加上这个值 //{x=45 y=55}
标签:10,MFC,--,35,CPoint,点类 From: https://www.cnblogs.com/liming19680104/p/16967427.html