Re: [Xcircuit-dev] minor nits
Brought to you by:
rtedwards
From: R. T. E. <tim...@mu...> - 2005-11-08 17:24:33
|
Dear Don, > ... now that you describe the action of the push button in 3.4, I see > how it works. Although if you select an object first, then click on the > push button--nothing happens. Perhaps a message in the bottom bar would > help. That one *is* an error---if something is selected, the buttons such as "delete", "copy", "push", etc., should act immediately on that object, rather than changing the button-1 binding modes. I'll fix that when I get a chance. > I'm suspecting you're using integer values (with an implied binary > point) for speed (something I'd do too). I probably would have set the > 64 internal units to equal 1/4 inch, just to make everything a power of > 2. That would then seem obvious to me, but still not to the typical > user. Yes, it's integer internal units multiplied by a floating-point value to get absolute output coordinates. The unusual choice of 1/6 inch has to do with trying to keep *both* inch and centimeter units on a rational grid. So xcircuit can swap between a grid at 1/6 inch or 0.4 cm. This assumes 2.5cm = 1in, so there's a "fudge factor" of 2.54 / 2.5 between reported centimeter values and actual output (printed) dimensions. How sensible that all is, is debatable, but at any rate, it's the way I've done it. Regards, Tim +--------------------------------+-------------------------------------+ | Dr. R. Timothy Edwards (Tim) | email: tim...@mu... | | MultiGiG, Inc. | web: http://www.multigig.com | | 100 Enterprise Way, Suite A-3 | phone: (831) 621-3283 | | Scotts Valley, CA 95066 | cell: (240) 401-0616 | +--------------------------------+-------------------------------------+ |