Hi,
I have a problem creating a group from a series of items if one of them has a transformation matrix.
I add the items by:
Qt Code:
for (int pos2 = 0; pos2 <= tnkItems.count() -1;pos2++) { group->addToGroup(tnkItems[pos2]); }To copy to clipboard, switch view to plain text mode
If the items do not have any transformation group->boundingRect() return the total area of its children. But if any of its items has a transformation matrix , for example scale(2, 1 ), group->boundingRect() return an area bigger than its child items.
Any idea why?
Many thanks,
Carlos.
Bookmarks