GDI中的像素偏移 [英] Pixels Offset in GDI

查看:149
本文介绍了GDI中的像素偏移的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
有人可以告诉我如何在GDI中进行绘制时删除(克服)像素偏移.我知道GDI +具有PixelOffsetMode,但GDI似乎没有.

Hi there,
Can someone tell me how to remove ( overcome) the pixels offset during drawing in GDI. I know the GDI+ has a PixelOffsetMode, but GDI seems not having. Any tips and ideas?

推荐答案

目前尚不清楚像素偏移存在什么问题;这个问题非常微妙,尤其是对性能和质量的影响,尤其是图像缩放时.

我建议阅读这篇有趣且高级的CodeProject文章:图像大小调整-优于GDI + [ ^ ].

是的,我知道它是.NET,但是它可以给您一些想法.通常很难在该主题中找到信息.

—SA
It is not clear what problem do you have with pixel offset; this matter is very delicate, especially its impact of both performance and quality, especially in zooming of images.

I advise to read this interesting and advanced CodeProject article: Image Resizing - outperform GDI+[^].

Yes, I know it''s .NET but it can give you some ideas; it''s generally very hard to find information in this topic.

—SA


问题是这样的.我正在尝试绘制符号(从上方显示的飞机).现在通常沿着长斧头的左侧和右侧应该是相同的....但是它们不一样.
The problem is this. I''m trying to draw a symbol (an airplane shown from above). Now normally the left and right side along the long axe should be the same....but they are not.


这篇关于GDI中的像素偏移的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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