I want to shift a pixmap by say 0.5 px to the right and then use it for a label. Unfortunately, pixmap.transformed returns a "convenient" result, that is inconvenient to me:
"Internally, the transformation matrix is adjusted to compensate for unwanted translation, i.e. transformed() returns the smallest pixmap containing all transformed points of the original pixmap."
How can I shift an image by .5 px to the right? shifting a label position by .5 px doesn't work either, so I'm a bit lost here. Would be nice if there's an easy solution, I'm rather new to Qt, but I hope it's no newbie question :-)




Reply With Quote
Bookmarks