X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Message-ID: <20121011182651.25438.qmail@stuge.se> Date: Thu, 11 Oct 2012 20:26:51 +0200 From: Peter Stuge To: geda-user AT delorie DOT com Subject: Re: [geda-user] Flex? Mail-Followup-To: geda-user AT delorie DOT com References: <20121011143959 DOT 7435 DOT qmail AT stuge DOT se> <1349967212 DOT 2412 DOT 37 DOT camel AT AMD64X2 DOT fritz DOT box> <20121011155417 DOT 13405 DOT qmail AT stuge DOT se> <20121011161725 DOT 15279 DOT qmail AT stuge DOT se> <201210111755 DOT q9BHtmj1000532 AT envy DOT delorie DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201210111755.q9BHtmj1000532@envy.delorie.com> Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk DJ Delorie wrote: > > How to test in the plugin if a pad is square? > > The plugin "api" is wide open, you use the same macros everything > else in the source base uses. In this case, something like: > > if (TEST_FLAG (SQUAREFLAG, pin)) Ack, thanks! I'm not doing very well reverse engineering the algorithm however. :\ I don't see how the "width" of the final (widest) arc is calculated, assuming I'm working with a horizontal line. (Yes must also handle angles later.) //Peter