kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #11706
Re: Vertical justify of the multiline text
On 11/16/2013 1:34 PM, Барановский Константин wrote:
> Hi!
>
>> If there are no objections, I will commit the patch.
>
> Maybe better to apply the patch while he did not remain forgotten?
>
> Regards,
> Konstantin.
Hi Konstantin,
I committed your patch to the testing branch r4478. Thank you for your
help.
Best Regards,
Wayne
>
> 14.11.2013 18:03, Wayne Stambaugh пишет:
>> On 11/14/2013 4:22 AM, Константин Барановский wrote:
>>>> Thanks, but where is the patch? (there is no attachment).
>>> Sorry, my fault :)
>>> I'm started to write the message at home but finished at work and forgot
>>> to attach the patch.
>> The patch looks good to me. I've attached a screen shot of the bounding
>> box with text rotated 135° and it looks about right. If there are no
>> objections, I will commit the patch. It does point out a glaring
>> weakness in our current bounding box limitations. There is definitely
>> an opportunity to significantly improve hit testing by moving to the
>> boost geometry library to handle our geometric objects.
>>
>>> Regards,
>>> Konstantin.
>>>
>>>
>>> 2013/11/14 jp charras <jp.charras@xxxxxxxxxx <mailto:jp.charras@xxxxxxxxxx>>
>>>
>>> Le 14/11/2013 07:17, Константин Барановский a écrit :
>>> > Wayne,
>>> > RotatePoint must be called twice. I'm added the comments to explain
>>> > why need both calls.
>>> >
>>> > jp charras,
>>> > I checked the display of text in PCBnew where to use multiline text
>>> > inside the zone.
>>> >
>>> > In attachment the edited patch where added comments and some
>>> optimization.
>>> >
>>> > Regards,
>>> >
>>> > Konstantin.
>>> >
>>>
>>> Thanks, but where is the patch? (there is no attachment).
>>>
>>> Multiline texts in zones do not uses exactly the bounding box.
>>> The bounding box is always an horizontal rectangle, which is not the
>>> case in zones (try a 45 deg multiline text)
>>>
>>> To show the bounding box, see TEXTE_PCB::Draw in class_pcb_text.cpp,
>>> line 110
>>>
>>> --
>>> Jean-Pierre CHARRAS
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help : https://help.launchpad.net/ListHelp
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help : https://help.launchpad.net/ListHelp
>>>
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help : https://help.launchpad.net/ListHelp
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
References
-
Vertical justify of the multiline text
From: Барановский Константин, 2013-10-24
-
Re: Vertical justify of the multiline text
From: jp charras, 2013-10-25
-
Re: Vertical justify of the multiline text
From: Константин Барановский, 2013-11-12
-
Re: Vertical justify of the multiline text
From: Wayne Stambaugh, 2013-11-13
-
Re: Vertical justify of the multiline text
From: jp charras, 2013-11-13
-
Re: Vertical justify of the multiline text
From: Константин Барановский, 2013-11-14
-
Re: Vertical justify of the multiline text
From: jp charras, 2013-11-14
-
Re: Vertical justify of the multiline text
From: Константин Барановский, 2013-11-14
-
Re: Vertical justify of the multiline text
From: Wayne Stambaugh, 2013-11-14
-
Re: Vertical justify of the multiline text
From: Барановский Константин, 2013-11-16