Hello All,
If i have 2 rects and i want to align them, so the center of rect2 will be the same as the center of rect1.
is there a way to do this translation ?? the rect can translate its x,y. but how can i translate its center ?
Hello All,
If i have 2 rects and i want to align them, so the center of rect2 will be the same as the center of rect1.
is there a way to do this translation ?? the rect can translate its x,y. but how can i translate its center ?
Qt Code:
rect2.moveCenter(rect1.center());To copy to clipboard, switch view to plain text mode
jesse_mark (14th June 2013)
Bookmarks