jean-pierre charras
fa1591d021
Gerbview: code refactor: change name of a D_CODE member:
...
D_CODE::m_Shape -> m_ApertType (it is not a shape, it is a aperture type)
Fix also an outdated/incorrect comment
No actual code change.
2023-02-10 11:20:16 +01:00
jean-pierre charras
9df65d7f54
Gerbview: code refactor: move APERTURE_MACRO defs from am_primitive to aperture_macro.
...
Some other code cleaning, but no actual code change.
2023-01-20 10:47:18 +01:00
jean-pierre charras
00d77f624a
Gerbview: fix coding style (better names for variable members is some classes).
...
(no actual change in code)
2023-01-14 17:08:44 +01:00
jean-pierre charras
0b233d593a
Gerbview: fix missing pad shapes when exporting to Pcbnew.
2022-09-08 18:43:07 +02:00
Jeff Young
9188838e50
RIP EDA_RECT.
2022-08-31 23:57:24 +01:00
Jeff Young
60bcfd1bf1
Bug fixes in arc & textbox printing.
...
Also removal of the no-longer-used clipping code from GR*.
2022-01-31 20:00:47 +00:00
Jeff Young
4eac8d7c66
Remove unit-less angles from geometry lib APIs.
2022-01-20 21:10:04 +00:00
Marek Roszko
c4c56de708
Neurotically update position wxPoint usages
2022-01-01 11:55:51 -05:00
Wayne Stambaugh
de92aaab9a
GerbView code cleaning.
2021-07-28 14:12:51 -04:00
Wayne Stambaugh
5395a7fe67
GerbView header housekeeping.
2021-06-03 14:32:24 -04:00
Marek Roszko
5e7e6a991a
Nip some eda_item.h in gerbview
2020-10-14 22:08:00 -04:00
Marek Roszko
b2e9f6987d
Split base_struct into eda_item and eda_rect
2020-10-13 21:24:50 -04:00
Seth Hillbrand
7c28c3838a
Comment-only changes
...
Makes class comments conform to coding standards
2020-01-10 16:43:01 -08:00
jean-pierre charras
937b5bd69a
Gerbview allows larger DCodes values (previously DCode id number max 999, now 10000)
...
This is not the DCodes max count but the DCode id (like in %ADD20C,0.05*%: the id is 20)
2019-09-16 14:49:26 +02:00
Jon Evans
915e51e1f0
GerbView GAL support part 1: changes to existing files
...
- New GAL draw layers for GerbView
- Improved bounding boxes for Gerber shapes
- Switched to use of SHAPE_POLY_SET for polygons
- Add GAL methods to support selection and rendering
- Add GUI support of editing GAL options
- Rename get/setActiveLayer to Get/SetActiveLayer to match convention
2017-09-25 13:35:01 +02:00
Jon Evans
a52250a91e
Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support
...
eeschema now supports arbitrary colors for all object types, and
pcbnew does in GAL canvas. When switching from GAL to legacy canvas,
pcbnew will convert colors to the nearest legacy color.
2017-02-22 17:35:00 +01:00
jean-pierre charras
984146c37d
Gerbview: better support of advanced X2 attributes.
2016-08-01 19:47:35 +02:00
jean-pierre charras
ff246f6365
Gerbview: Add %TO (Netlist attribute) support in X2 format. Fix a bug in a not previously very used method.
2016-07-27 15:27:19 +02:00
jean-pierre charras
2b459acfe9
Fix incorrect handling of Aperture Macros, especially when using exposure OFF in macros.
...
Aperture macro shapes are now drawn using polygons.
2016-06-03 18:42:24 +02:00
Lorenzo Marcantonio
e771112259
Enforced EDA_COLOR_T type and minor const-ification
2012-09-02 14:06:47 +02:00
Dick Hollenbeck
b8a0ab4c52
switch to <> for includes from "" per conversation with Jean-Pierre and Wayne, adjust search paths
2012-01-22 22:33:36 -06:00
Dick Hollenbeck
e6c8515873
switch to C++'s false and true from C's FALSE and TRUE
2012-01-22 11:20:22 -06:00
Wayne Stambaugh
2c251196c6
Minor dialog fixes and code cleaning.
...
* Grammar and spelling fixes in Eeschema, CvPcb, and Pcbnew path and
library dialog tool tips.
* Translate the French file name subrill.cpp to highlight.cpp.
* Lots of coding style policy fixes.
2011-10-17 16:01:27 -04:00
Wayne Stambaugh
4b853dedb4
Application name capitalization fixes.
...
* Correct all user strings and comments for the correct capitalization of
application names according to JP. They are KiCad, Pcbnew, CvPcb,
Eeschema, and GerbView.
* Add a note the the user interface policy about the correct capitalization.
2011-09-30 14:15:37 -04:00
Wayne Stambaugh
67f70fe079
Coding style and Doxygen comment fixes.
...
* Rename EDA_Rect class to EDA_RECT.
* Rename EDA_TextStruct class to EDA_TEXT.
* Remove duplicate Doxygen comments from sch_sheet_path.cpp.
2011-03-29 15:33:07 -04:00
Wayne Stambaugh
e557b388a7
Fixes MSVC compile errors.
2011-02-16 14:16:38 -05:00
jean-pierre charras
2e2ecdd448
Gerbview: fix most of Doxygen warnings.
2010-12-18 19:47:58 +01:00
Wayne Stambaugh
7cb34aece7
Schematic component object encapsulation and Doxygen comment warning fixes.
2010-12-14 10:56:30 -05:00
jean-pierre charras
938fc74217
Gerbview: Added support for complex definitions of parameters (like $3=$2+5/2) in aperture macros and primitives macro.
2010-12-01 20:30:52 +01:00
jean-pierre charras
6396c2ebc8
preparing Gerbview enhancements
2010-11-30 21:41:35 +01:00
Dick Hollenbeck
845d61acc5
coding standards consistency updates
2010-11-12 09:17:10 -06:00
jean-pierre charras
a9c1c49be0
Fixed minor issues in Gerbview
2010-10-25 11:57:00 +02:00
jean-pierre charras
1206177ce0
Gerbview: minor enhancement. Boost::Polygon: commit forgotten file
2010-10-23 20:12:11 +02:00
jean-pierre charras
2a216a51b9
Gerbview: added support forSF (scale factor), IO (Image Offset), OF (Offset) and MI (Mirror) commands.
2010-10-10 19:57:54 +02:00
jean-pierre charras
9f4e57d428
Some cleanup and fixes in gerbview. Cleanup gr_basic.* and added in gr_basic.* a minor modification coming from "EEschema selection.patch".
2010-10-05 13:44:34 +02:00
jean-pierre charras
bc0d79d587
finished Draw functions for aperture macros. Now aperture macros are drawn correctly.
...
Known bug: aperture macros having parameters are incorrect: parameters are not transmited correctly. Work still in progress.
2010-10-03 17:39:06 +02:00
jean-pierre charras
659299ee8f
Gerbview: more about apertures macros and draw funtions.
2010-10-01 21:11:30 +02:00
jean-pierre charras
cdf111d618
Fixed errors in comments. no new code
2010-09-29 21:00:35 +02:00
jean-pierre charras
d696ee8cd5
Gerbview: added support og regular polygon aperure definition.
2010-09-28 21:34:16 +02:00
jean-pierre charras
b992af3eb3
Gerbview code redesign
2010-09-28 16:42:05 +02:00