开发者

How does GDI+ support floating point values?

Given that GDI+ is a wrapper around GDI, how 开发者_JAVA百科does it handle floating point values? I don't see any support for floating point co-ordinates in the GDI documentation.


GDI+ is mostly NOT a wrapper around GDI. It didnt gain much traction among driver developers etc, so most of it is implemented in software. It does handle floating points (eg PointF, SizeF) but rather poorly. I find that rounding the values back up to integers provides the most attractive rendered content.

See Is GDI+ just a layer on top of GDI, or something new?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜