PointF结构与.NET中的Point结构有何不同? [英] How does PointF structure differ from Point structure in .NET?

查看:280
本文介绍了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

推荐答案

阅读本文



http://stackoverflow.com/questions/3733738/what-is-the-difference-between-system-drawing-point-and-system-drawing-pointf [ ^ ]


这篇关于PointF结构与.NET中的Point结构有何不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆