阅读背景:

qt,在一个点上绘制像素图的中心,而不是像素图的左上角

来源:互联网 

Like the title says, I'm drawing a pixmap onto a scene at a specific location. QT draws the pixmap by placing the top left corner of the pixmap at the point I specify. However, I want the center of the pixmap to be placed at this point instead. (Pixmap is crosshairs). Does anyone know how to do this? Thanks in advanceLike the title says, I'm drawing a pixmap onto




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: