本文介绍了PointF结构与.NET中的Point结构有何不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您能否向我解释一下.NET中 PointF 和 Point 之间有什么区别? 我认为屏幕上像素的坐标只计算为整数,那么 PointF 可以做什么特别的事情呢? 事实上,在某些情况下,我必须使用PointF而不是Point来绘制更高质量的形状,但在某些情况下使用PointF并没有任何区别。 我们非常感谢您的帮助! VipHaLong
Could you please explain more to me what is the difference between PointF and Point in .NET? I thought the coordinates of pixels on screen are calculated as integers only, so what can PointF do anything special here? In fact, in some cases I have to use PointF instead of Point to have some shape drawn with higher quality, but in some case using PointF doesn''t make any difference. Your help would be highly appreciated! VipHaLong
推荐答案阅读本文 stackoverflow/questions/3733738/what-is-the-difference-between-system-drawing-point-and-system-drawing-pointf [ ^ ]
更多推荐
PointF结构与.NET中的Point结构有何不同?
发布评论