<div dir="ltr"><div><div><div><div>Thank you for replying to my emails,<br></div>but what's the point of keeping an initial value like groupWidth and groupHeight where the group width and height might change at the end. <br></div>To be more clear, why not just keep m_width and m_height and initialize it to 1 which is an initial value for a newly created group and change it's value whenever the height and width is changed.<br><br></div>Regards,<br></div>Asma <br></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 November 2015 at 20:05, Franz Schmid <span dir="ltr"><<a href="mailto:Franz.Schmid@altmuehlnet.de" target="_blank">Franz.Schmid@altmuehlnet.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Am 17.11.2015 um 06:09 schrieb Miss AL-Bahanta:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, I'm trying to solve the following issue<br>
<a href="http://bugs.scribus.net/view.php?id=12245" rel="noreferrer" target="_blank">http://bugs.scribus.net/view.php?id=12245</a> , and found this line in<br>
pageitem_group.cpp:193<br>
<br>
*p->scale(m_width / groupWidth, m_height / groupHeight);*<br>
<br>
What's the purpose of scaling here?! and it's scaling by 1.<br>
</blockquote>
<br>
</blockquote>
Hi,<br>
<br>
this is for scaling the whole group. You are right, the<br>
initial scale is 1 for newly created groups, but it will<br>
change when you resize the group with the gui.<br>
<br>
So:<br></span>
m_width = actual width of the group item<span class=""><br>
m_height = actual height of the group item<br></span>
groupWidth = initial width of the group item, will never change<div class="HOEnZb"><div class="h5"><br>
groupHeight = initial height of the group item, will never change<br>
<br>
Hope that helps<br>
Franz Schmid<br>
<br>
<br>
<br>
_______________________________________________<br>
scribus-dev mailing list<br>
<a href="mailto:scribus-dev@lists.scribus.net" target="_blank">scribus-dev@lists.scribus.net</a><br>
<a href="http://lists.scribus.net/mailman/listinfo/scribus-dev" rel="noreferrer" target="_blank">http://lists.scribus.net/mailman/listinfo/scribus-dev</a><br>
</div></div></blockquote></div><br></div>