kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #11677
Re: Vertical justify of the multiline text
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxxxx>
-
Date:
Wed, 13 Nov 2013 14:12:27 -0500
-
In-reply-to:
<CADfv2UW00N6urPAK1reB8ksGEpbEnQkUBHrVJknFtChij=wqoA@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
On 11/12/2013 9:12 AM, Константин Барановский wrote:
> Hello!
>
> I fixed vertical justification of the rotated or mirrored text.
> Patch was attached.
>
> Regards,
> Konstantin.
Konstantin,
Are you sure this patch is correct? You now have two calls to
RotatePoint(). One inside of #ifdef FIX_MULTILINE_VERT_JUSTIF/#endif
and one immediately following the #endif. It may work properly but from
programmer's perspective it is confusing. It seems to me that you
should be able to do it with a single call to RotatePoint(). If you
must call RotatePoint() twice, please add a comment to explain why you
need both so the next developer can figure out why you did it that way.
Wayne
>
>
> 2013/10/25 jp charras <jp.charras@xxxxxxxxxx <mailto:jp.charras@xxxxxxxxxx>>
>
> Le 24/10/2013 23:03, Барановский Константин a écrit :
> > Currently alignment of the multiline text applied only for first line
> > and other lines just plased under it.
> > Attached patch allows to align the multiline text given the all
> lines of
> > the text.
> >
> > --
> > Baranovskiy Konstantin
>
> Thanks.
>
> I added your patch with some other fixes.
>
> --
> 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
>
Follow ups
References