sorgenti di fidocadj
Salve, volevo sapere dove si trovano i sorgenti di fidocadj che vorrei vedere come è stato scritto.. se si può?,
grazie mille e buona serata.
grazie mille e buona serata.
La comunità del mondo elettrico: elettronica, elettrotecnica, impianti, pic, plc, automazione
https://www.electroyou.it/forum/

int pixelPerPollice=java.awt.Toolkit.getDefaultToolkit().getScreenResolution(); Perform all kinds of geometrical operations: coordinate mapping, calculate
distances between a graphical element and a given pointer... // 1 - The Java printing system normally works with an internal
// resolution which is 72 dpi (probably inspired by Postscript).
// 2 - To have a sufficient resolution, this is increased by 16 times,
// by using the scale method of the graphic object associated to the
// printer. This gives a 72 dpi * 16=1152 dpi resolution.
// 3 - The 0.127 mm pitch used in FidoCadJ corresponds to a 200 dpi
// resolution. Calculating 1152 dpi / 200 dpi gives the 5.76 constant