PointF结构与.NET中的Point结构有何不同?

编程入门 行业动态 更新时间:2024-10-24 20:18:50
本文介绍了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结构有何不同?

本文发布于:2023-11-30 21:09:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1651478.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:结构   有何不同   PointF   Point   NET

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!