Seth Hillbrand
4eb0e70ddf
Fix issue preventing printing on some platforms
Linux printing for some systems blanked the printouts when the gal
screensize was set here. Restoring the screensize after clearing
ensures that the view redraw is properly scaled
Fixes https://gitlab.com/kicad/code/kicad/issues/19807
8 months ago
Seth Hillbrand
0b2d4d4879
Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo. Avoids needing to
repeatly update.
Also updates AUTHORS.txt from current repo with contributor names
9 months ago
jean-pierre charras
8470229767
Printing system: Honor the Print background color option
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19167
11 months ago
Seth Hillbrand
cc850d0da0
Split out LSEQ/LSET from LAYER_ID
Separate the layer grouping classes for easier modification
1 year ago
Marek Roszko
22b733209d
Fail GAL on its header leaking audit
Maybe we should rethink directly accessing GAL so much, but at least 600 files didn't need GAL leaked into them due to view_overlay.h
2 years ago
Marek Roszko
67b031adab
Painter base class should just live in gal instead of being in denial
2 years ago
jean-pierre charras
ae2da76615
Pcb printing: fix incorrect pos. of the board when printed without worksheet.
Fixes #13258
https://gitlab.com/kicad/code/kicad/issues/13258
3 years ago
Roberto Fernandez Bautista
f518d08bf8
Update the bounding box when printing "Fit to Page"
Fixes edge case from c5d8dffca4
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13370
3 years ago
Seth Hillbrand
c5d8dffca4
pcbnew printing: Handle scaling correctly
When scaling, we need to consider both the sheet size in pcbnew and the
paper size in the printer settings. When scaling 1:1, the output box
should always be the sheet
Fixes https://gitlab.com/kicad/code/kicad/issues/10913
Fixes https://gitlab.com/kicad/code/kicad/issues/12530
3 years ago
Jeff Young
5679b9dbdc
Remove a few EDA_RECT instances.
3 years ago
jean-pierre charras
16667717a2
Pcbnew, printing in B&W: never draw the background color.
Otherwise a black background is printed.
Fixes #11625
https://gitlab.com/kicad/code/kicad/issues/11625
3 years ago
Jeff Young
231ac567b8
Bug fixes for printing vias.
Blind/buried and microvias didn't get their layers trimmed properly,
nor did through vias with dropped pads.
Fixes https://gitlab.com/kicad/code/kicad/issues/11851
3 years ago
Jeff Young
f22cf1cc3a
Fill in missing bits of LAYER variable for printing/plotting.
Fixes https://gitlab.com/kicad/code/kicad/issues/11788
3 years ago
jean-pierre charras
f8d6dd1efd
Gerbview: fix a long standing issue: negative objects are now correctly printed.
4 years ago
Mark Roszko
44dc602d6b
Yeet wxPoint/wxSize out of PLOTTER
4 years ago
Jeff Young
1f4a56005e
Remove extraneous isPrinting test.
Fixes https://gitlab.com/kicad/code/kicad/issues/8609
4 years ago
Jonathan Haas
55679be2e3
Fix some typos across the codebase
5 years ago
Jeff Young
2c009906e5
Set unprinted layer colors to background.
This allows our Black&White special cases to still work when the
hole annular rings aren't being printed.
Fixes https://gitlab.com/kicad/code/kicad/issues/7692
5 years ago
Jeff Young
cad5198ab7
Worksheet -> (industry standard) Drawing Sheet.
5 years ago
Jeff Young
b8e97bb6b6
Only apply B&W printer fixes when printing.
Fixes https://gitlab.com/kicad/code/kicad/issues/7388
5 years ago
Jeff Young
a207bd97bb
Naming conventions.
5 years ago
Jeff Young
d1371e513d
Make sure Gerber print options have a color settings.
We probably don't need it, but some code attempts to dereference
it so safer to have one then to start checking everywhere for
dereferences.
Fixes https://gitlab.com/kicad/code/kicad/issues/5353
5 years ago
Simon Richter
95c2b261e8
Don't mandate ownership semantics in API
This API doesn't transfer ownership, so no smart pointers are required --
this just needlessly tightens requirements on the user of the interface.
(Fixes five instances of MSVC C26410 warning)
6 years ago
Jon Evans
f2e003147e
ADDED: Enable color themes for PcbNew printing
5 years ago
Jon Evans
e59a3d981e
Implement a new settings framework across all of KiCad
CHANGED: Settings are now stored in versioned sub-directories
ADDED: First-run dialog for migrating settings from a previous version
CHANGED: Settings are now stored as JSON files instead of wxConfig-style INI files
CHANGED: Color settings are now all stored in a separate settings file
CHANGED: The symbol editor and footprint editor now have their own settings files
CHANGED: Color settings are no longer exposed through BOARD object
CHANGED: Page layout editor now uses Eeschema's color scheme
Settings are now managed through a central SETTINGS_MANAGER held by PGM_BASE.
Existing settings will be migrated from the wxConfig format on first run of each application.
Per-application settings are now stored in one class for each application.
6 years ago
jean-pierre charras
dde933ba08
When printing, pads are not always printed (especially on tech layers)
A printing mode is added, to force ViewGetLOD() to return 0 in printing mode (pads are always drawn)
Fixes: lp:1809528
https://bugs.launchpad.net/kicad/+bug/1809528
7 years ago
Maciej Suminski
afda69c9cc
Removed default line width setting from the printing dialog
7 years ago
Maciej Suminski
7ab8171422
Disabled translucency in printouts as it is not supported by cairo
7 years ago
Maciej Suminski
3d15092643
Fixed loading layer visibility setting for printouts
7 years ago
Maciej Suminski
b727b310b4
Fix 'fit to page' for print outs
7 years ago
Maciej Suminski
d3ea63e133
Removed a redundant parameter from BOARD_PRINTOUT constructor
7 years ago
Maciej Suminski
dea778842b
Grand printing dialogs refactor
Patch introduces a generic printing settings window that is customized by pcbnew and gerbview.
7 years ago
Maciej Suminski
e81c3a59a2
Refactored and unified board editor and footprint editor print dialogs
7 years ago
Maciej Suminski
562b8d7948
Printing code clean-up
7 years ago
Maciej Suminski
92c5cb288e
Fixed scale in Gerbview printouts
7 years ago
Maciej Suminski
8cb464b725
Handle drill mark options in pcbnew printouts
7 years ago
Maciej Suminski
3e5ee254cf
Fix for 'fit to page' scaled printouts
7 years ago
Maciej Suminski
347e21daaa
Handle printout settings: line width, color/mono, mirror
7 years ago
Maciej Suminski
1cce194c8a
Handle layer settings in printouts
7 years ago
Maciej Suminski
5b94f20e6f
Adapted printout controllers to the new printing routines
7 years ago