Le 13/11/2013 20:12, Wayne Stambaugh a écrit : > 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
Konstantin, be sure also EDA_TEXT::GetTextBox is working with your patch, for multiline texts. -- Jean-Pierre CHARRAS _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp