kicad/gerbview
Seth Hillbrand 79f5325697 Fix float scaling to use single fn
Function `scaletoIU` was updated in a8c275ae5d but this missed other
conversion points that re-implemented the same routine.  This unifies
the scaling for both ReadIJCoord and ReadXYCoord to use the same routine
as calls from am_primitive

Fixes https://gitlab.com/kicad/code/kicad/issues/10800

(cherry picked from commit d937abb5b8)
2022-02-10 12:36:34 -08:00
..
dialogs Wide string decls for gerbview. 2022-02-05 22:34:45 +00:00
gerber_test_files Gerbview: fix incorrect Gerber test files 2020-10-06 17:35:16 +02:00
tools Wide string decls for gerbview. 2022-02-05 22:34:45 +00:00
widgets Wide string decls for gerbview. 2022-02-05 22:34:45 +00:00
CMakeLists.txt Revert "cmake: adding KICAD_MACOSX_APP_BUNDLE option" 2022-01-31 15:57:56 -08:00
X2_gerber_attributes.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
X2_gerber_attributes.h GerbView header housekeeping. 2021-06-03 14:32:24 -04:00
am_param.cpp Replace inserts/push_backs with emplace in some spots 2022-02-05 19:53:31 -05:00
am_param.h Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
am_primitive.cpp Bug fixes in arc & textbox printing. 2022-01-31 20:00:47 +00:00
am_primitive.h Bug fixes in arc & textbox printing. 2022-01-31 20:00:47 +00:00
clear_gbr_drawlayers.cpp Gerbview: Allow layer move up, move down, and delete 2022-01-24 08:40:49 -05:00
dcode.cpp Bug fixes in arc & textbox printing. 2022-01-31 20:00:47 +00:00
dcode.h Bug fixes in arc & textbox printing. 2022-01-31 20:00:47 +00:00
evaluate.cpp Cleanup: Replace push_back with emplace_back 2019-12-05 13:41:21 -08:00
events_called_functions.cpp Freshen microwave polygon dialog and remove a bunch of dead code. 2021-08-03 01:11:11 +01:00
excellon_defaults.h Gerbview, Excellon reader: add preference to configure default coordinates format. In Excellon drill files, the coordinate format is not specified, and sometimes units and zero option are even not specified, so some drill files cannot be read. In Preferences, default setting options are now added to specify by hand missing info. 2021-08-02 12:55:41 +02:00
excellon_image.h Fix overflow vulnerability in Gerbview 2022-02-01 15:50:27 -08:00
excellon_read_drill_file.cpp Wide string decls for gerbview. 2022-02-05 22:34:45 +00:00
export_to_pcbnew.cpp Clean some more tenths-of-degrees out of GerbView. 2022-01-18 02:14:09 +00:00
export_to_pcbnew.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
files.cpp Wide string decls for gerbview. 2022-02-05 22:34:45 +00:00
gbr_display_options.h Flatten out some more preferences. 2021-12-24 15:43:20 +00:00
gbr_layout.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
gbr_layout.h Remove some more wxPoint 2022-01-01 14:12:20 -05:00
gerber_collectors.cpp Scoop up some more wxPoint instances 2022-01-03 20:00:53 -05:00
gerber_collectors.h Scoop up some more wxPoint instances 2022-01-03 20:00:53 -05:00
gerber_draw_item.cpp Wide string decls for gerbview. 2022-02-05 22:34:45 +00:00
gerber_draw_item.h Move EDA_ANGLE to KiMath lib 2022-01-14 17:12:24 -08:00
gerber_file_image.cpp Wide string decls for gerbview. 2022-02-05 22:34:45 +00:00
gerber_file_image.h Fix overflow vulnerability in Gerbview 2022-02-01 15:50:27 -08:00
gerber_file_image_list.cpp Wide string decls for gerbview. 2022-02-05 22:34:45 +00:00
gerber_file_image_list.h Gerbview: Allow layer move up, move down, and delete 2022-01-24 08:40:49 -05:00
gerbview.cpp Wide string decls for gerbview. 2022-02-05 22:34:45 +00:00
gerbview.h Gerbview: code cleanup. Remove many include, now useless. 2020-09-30 12:56:55 +02:00
gerbview.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
gerbview_doc.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
gerbview_draw_panel_gal.cpp Flatten out some more preferences. 2021-12-24 15:43:20 +00:00
gerbview_draw_panel_gal.h Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +00:00
gerbview_frame.cpp Wide string decls for gerbview. 2022-02-05 22:34:45 +00:00
gerbview_frame.h Gerbview: consolidate some dialog code 2022-01-24 08:40:49 -05:00
gerbview_id.h Ensure toolbar controls have the correct width on frame creation 2021-03-28 13:07:56 +01:00
gerbview_painter.cpp Wide string decls for gerbview. 2022-02-05 22:34:45 +00:00
gerbview_painter.h Flatten out some more preferences. 2021-12-24 15:43:20 +00:00
gerbview_printout.cpp Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +00:00
gerbview_printout.h Don't mandate ownership semantics in API 2020-07-26 02:45:27 +00:00
gerbview_settings.cpp Wide string decls for gerbview. 2022-02-05 22:34:45 +00:00
gerbview_settings.h All the preferences, all the time. 2021-12-24 13:08:44 +00:00
job_file_reader.cpp Wide string decls for gerbview. 2022-02-05 22:34:45 +00:00
menubar.cpp Wide string decls for gerbview. 2022-02-05 22:34:45 +00:00
readgerb.cpp Wide string decls for gerbview. 2022-02-05 22:34:45 +00:00
rs274_read_XY_and_IJ_coordinates.cpp Fix float scaling to use single fn 2022-02-10 12:36:34 -08:00
rs274d.cpp gerbview: fix incorrect render of regions defined by a 360 deg arcd (a circle) 2022-02-10 09:56:27 +01:00
rs274x.cpp Wide string decls for gerbview. 2022-02-05 22:34:45 +00:00
toolbars_gerber.cpp Wide string decls for gerbview. 2022-02-05 22:34:45 +00:00