← Back to team overview

kicad-developers team mailing list archive

Re: Plotting/fabricating in nanometers

 

Le 28/04/2012 16:30, Lorenzo Marcantonio a écrit :
On Sat, Apr 28, 2012 at 11:04:38AM +0200, jean-pierre charras wrote:
My suggestion is: use mm in file, and use double for device coordinates,
and angles because in plot arc, the arc value is also truncated.

Wow, seems fun... In substance I have to junk wxPoint to use some kind of
equivalent double point...

This should give no troubles since in fact all the output drivers, except HPGL, have to export in floating point anyway...

Do we already have some kind of point with double members to use? maybe some kind of magic boost class?:P


Yes.
Two kind of point using doubles:
the first is wxRealPoint, the floating version of wxPoint.
the second is a new class: DPOINT defined in vector2d.h, very recently created by Dick.
DPOINT is a powerful class.

--
Jean-Pierre CHARRAS



Follow ups

References