[scribus-dev] 0012245: Grouped lines appear thicker

Franz Schmid Franz.Schmid at altmuehlnet.de
Tue Nov 17 15:50:11 UTC 2015


Am 17.11.2015 um 06:09 schrieb Miss AL-Bahanta:
> Hi,
> I'm trying to solve the following issue
> http://bugs.scribus.net/view.php?id=12245 ,
> and found this line in pageitem_group.cpp:193
>
> *p->scale(m_width / groupWidth, m_height / groupHeight);*
>
> What's the purpose of scaling here?! and it's scaling by 1.

Hi,

this is for scaling the whole group. You are right, the
initial scale is 1 for newly created groups, but it will
change when you resize the group with the gui.

So:
m_width = actual height of the group item
m_height = actual height of the group item
groupWidth = initial height of the group item, will never change
groupHeight = initial height of the group item, will never change

Hope that helps
Franz Schmid





More information about the scribus-dev mailing list