kicad/common
Seth Hillbrand 69469b254a Printing multiple bitmaps
A long-standing issue with multiple workarounds
(https://gitlab.com/kicad/code/kicad/-/issues/1877) prevented eeschema
printouts with multiple images or images in both the worksheet and the
schematic.

We worked around this by ordering the bitmap printing to be the first
step in the printing process.  This partially worked but didn't get
everything correct.  The primary difficulty in debugging this was that
the wxPrintPreview that we generate looked correct.  Only the actual
printout was incorrect.

The fix is to explicitly clip bitmap drawing to the bitmap area,
regardless of how large the bitmap is.
2022-01-07 17:15:59 -08:00
..
dialog_about Restore Translators-Other section in credits 2021-12-24 20:36:10 +01:00
dialogs Add hot-updating of units in common wxGrids. 2021-12-23 17:01:34 +00:00
drawing_sheet Paste code expects a fully formed worksheet. 2021-11-09 23:18:38 +00:00
gal Plot pads in layer color 2022-01-07 08:55:59 -08:00
kicad_curl Fix missing const 2021-11-24 11:49:13 -08:00
libeval Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
libeval_compiler Add a compile error for ill-defined rules, and more performance. 2021-08-16 12:14:17 +01:00
plotters Add ORANGE to DXF output 2022-01-06 11:02:57 -08:00
plugins Altium import: Use UTF16 string table for PCB texts 2021-11-12 14:49:22 +00:00
preview_items Connect ruler tool with axes preferences 2021-11-23 12:52:21 -08:00
project Allow a 0 pin-symbol-size. 2021-12-23 17:01:48 +00:00
settings Load local settings even when not setting project active 2022-01-02 12:40:25 -05:00
swig Template for vector<VECTOR2I> in swig 2022-01-06 23:48:52 -05:00
tool Fix calculation of selection center 2021-12-16 08:13:52 +01:00
view Safely sort view layers 2022-01-06 14:41:10 -08:00
widgets Hotkey editor: prevent closing on Enter release 2021-12-14 19:52:24 +00:00
CMakeLists.txt Kicad has many plugins. This one is for the pcb. 2021-11-25 12:56:46 +00:00
advanced_config.cpp Remove manual canvas scale from GTK 2021-12-09 18:36:44 -05:00
array_axis.cpp
array_options.cpp
asset_archive.cpp Cleanup memory in the asset archive reader 2021-03-19 21:23:35 +00:00
base64.cpp
base_screen.cpp Remove unused m_crossHairPosition 2021-06-15 21:25:27 -04:00
base_units.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
basic_gal.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
bin_mod.cpp Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
bitmap.cpp Add a quantized scaling mode for bitmaps. 2021-09-11 23:40:31 +01:00
bitmap_base.cpp Printing multiple bitmaps 2022-01-07 17:15:59 -08:00
bitmap_store.cpp Add support mode for dark mode to SCINTILLA_TRICKS. 2021-09-14 00:18:50 +01:00
board_printout.cpp Remove extraneous isPrinting test. 2021-06-25 12:44:51 +01:00
build_version.cpp Remove last vestiges of the KICAD_USE_OCE build flag 2021-12-01 15:53:00 +00:00
commit.cpp Proper numeric sorting for intersheet refs. 2021-10-01 18:29:21 +01:00
common.cpp Remove tilde expansion 2021-09-27 16:10:36 +00:00
config_params.cpp Kick wx.h mostly out of common 2021-06-07 18:38:52 -04:00
confirm.cpp Lock the windows when we ask about unsaved changes 2021-09-29 23:01:06 -04:00
dialog_shim.cpp Standardize asterix at the beginning of title 2021-10-25 09:36:23 -07:00
draw_panel_gal.cpp Prevent unneeded fallback 2022-01-05 13:46:15 -08:00
drc_rules.keywords Add missing token to DRC rule parser. 2021-08-27 12:49:07 +01:00
dsnlexer.cpp pcb parser: ensure the parser is reinitialized before parsing a new fp file 2021-08-26 19:38:20 +02:00
eda_base_frame.cpp Silence IsWritable warning message 2021-11-16 21:02:32 -05:00
eda_dde.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
eda_doc.cpp Trim some (probably) excess includes. 2021-09-26 15:28:17 +01:00
eda_draw_frame.cpp Make footprint and symbol editors use MRU path for new libraries. 2022-01-03 18:36:46 -05:00
eda_item.cpp Rewrite text find/change routines to support word matching. 2021-11-05 13:37:37 +00:00
eda_pattern_match.cpp Fix shadow variable defn. 2021-12-02 11:40:31 +00:00
eda_rect.cpp Fix EDA_RECT inflation zeroing width when it was negative 2021-11-06 18:23:02 +00:00
eda_shape.cpp Check for proper winding when creating an EDA_SHAPE 2021-12-07 10:51:43 -08:00
eda_text.cpp Fix stupid coding error. 2021-11-29 19:33:32 +00:00
eda_units.cpp Split EDA_UNITS out from common. 2020-10-25 00:02:52 -04:00
env_paths.cpp Normalize drawing sheet path to env vars & prj, not just prj. 2021-10-02 23:39:45 +01:00
env_vars.cpp Add KICAD6_3RD_PARTY env variable 2021-08-27 21:11:47 +00:00
exceptions.cpp Refuse to load schematics from the future. 2021-06-30 18:32:07 +01:00
executable_names.cpp
filehistory.cpp File history (recent opened files): fix incorrect behavior when a filename 2020-08-05 15:48:03 +02:00
filename_resolver.cpp More changes to file resolvers. 2021-09-22 11:28:45 +01:00
filter_reader.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
footprint_filter.cpp In footprint filter, check pin count mismatch first 2021-05-06 22:00:06 +00:00
footprint_info.cpp KIFACE_I -> KIFACE_BASE. 2021-09-14 23:45:14 +01:00
fp_lib_table.cpp KIFACE_I -> KIFACE_BASE. 2021-09-14 23:45:14 +01:00
gbr_metadata.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
gestfich.cpp Remove printing files from Project Manager 2021-11-12 20:18:32 +00:00
getrunningmicrosecs.cpp
gl_context_mgr.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
gr_basic.cpp Cleanup dead code. 2021-11-17 12:49:53 +00:00
gr_text.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
grid_tricks.cpp Don't copy (or cut) hidden columns. 2021-10-26 15:55:17 +01:00
hash_eda.cpp Pcbnew: fix assertion in footprint hashing algorithm. 2021-11-10 16:51:35 -05:00
hotkey_store.cpp Hotkeys help: fix incorrect modifiers. 2021-12-13 16:29:42 +01:00
hotkeys_basic.cpp KIFACE_I -> KIFACE_BASE. 2021-09-14 23:45:14 +01:00
html_window.cpp Formatting. 2021-10-15 12:45:43 +01:00
kiface_base.cpp Update default paths for symbols/footprints 2021-10-17 16:07:46 -07:00
kiid.cpp Don't generate duplicate IDs in line/wire/bus tool. 2021-11-24 13:20:44 +00:00
kiway.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_express.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_holder.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_player.cpp Code cleaning. 2021-07-14 15:47:32 -04:00
languages_menu.cpp Cleanup some pgm_base.h includes 2021-06-08 21:56:00 -04:00
launch_ext.cpp Fix opening files with spaces on Linux 2021-11-07 14:31:14 +00:00
layer_id.cpp Better layer name for notes. 2021-12-02 13:17:58 +00:00
lib_id.cpp Remove long-dead revision support for LIB_IDs. 2021-06-30 13:12:57 +01:00
lib_table.keywords
lib_table_base.cpp Fix a crash bug when changing footprint name 2021-12-09 10:46:43 -08:00
lib_tree_model.cpp Fix lib tree searches to handle searching on library names. 2021-12-14 15:18:48 +00:00
lib_tree_model_adapter.cpp Fix lib tree searches to handle searching on library names. 2021-12-14 15:18:48 +00:00
locale_io.cpp Looks like clang (or OSX?) needs an extra include.... 2021-09-23 20:14:03 +01:00
lockfile.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
lset.cpp Clean up removal of separate front & back footprint text visibility. 2021-10-22 21:14:15 +01:00
marker_base.cpp Dark mode for a bunch of HTML dialogs. 2021-09-14 21:23:57 +01:00
netclass.cpp Fix typo initializing buswidth with linewidth value. 2021-08-01 19:33:19 +01:00
netlist.keywords Transmit pin electrical types through to pads. 2021-01-23 00:10:01 +00:00
newstroke_font.cpp Revert accidental tilde change 2021-12-15 19:28:12 -08:00
observable.cpp Add const specifiers 2020-11-18 19:50:36 +00:00
origin_transforms.cpp Add more consts all over the place 2020-10-27 11:03:35 +00:00
origin_viewitem.cpp Break out eda_item_flags.h, fix the typedef to std::uint32_t, fix some signed vars 2021-06-08 19:12:30 -04:00
page_info.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
painter.cpp Only apply B&W printer fixes when printing. 2021-02-02 15:37:30 +00:00
paths.cpp fixe paths 2021-12-02 20:23:00 +00:00
pcb.keywords Don't put up "old version" warning for gerbview-generated PCBs. 2021-06-08 22:12:44 +01:00
pcb_plot_params.keywords Save DXF plot params to file and remove some dead code. 2021-01-03 14:22:25 +00:00
pgm_base.cpp Make it easier to open legacy files. 2021-11-19 13:36:14 +00:00
printout.cpp
project.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
properties.cpp
property_mgr.cpp
ptree.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
rc_item.cpp Make ERC/DRC item lightness proportional to default text brightness 2021-12-01 23:06:58 +01:00
refdes_utils.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
render_settings.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
reporter.cpp Remove all wxWidgets build dependencies from REPORTER object header. 2021-08-16 07:49:39 -04:00
richio.cpp Clean up unused variable usage 2021-10-05 10:00:30 -07:00
scintilla_tricks.cpp Dark theme support for SPICE model editor 2021-12-03 03:41:32 +01:00
search_stack.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
searchhelpfilefullpath.cpp Respect KICAD_DOCS when searching for help files 2021-04-21 19:19:25 +00:00
single_top.cpp Avoid loading python stuff when starting applications that do not use it. 2021-08-17 19:48:55 +02:00
status_popup.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
streamwrapper.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
string_utils.cpp Fix escaping of double quotes in LIB_IDs 2021-09-28 20:38:36 -04:00
strtok_r.c
systemdirsappend.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
template_fieldnames.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
template_fieldnames.keywords
textentry_tricks.cpp Evict the last bits of wx.h 2021-06-07 20:23:27 -04:00
title_block.cpp Import more Alitum parameters. 2021-07-08 00:19:31 +01:00
trace_helpers.cpp PROF_COUNTER -> PROF_TIMER 2021-12-05 14:25:37 -05:00
undo_redo_container.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
utf8.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
validators.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
wildcards_and_files_ext.cpp Make it easier to open legacy files. 2021-11-19 13:36:14 +00:00
wx_filename.cpp Add utility method to resolve symlinks 2021-06-07 20:59:59 +00:00
wx_stl_compat.cpp Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
wxdataviewctrl_helpers.cpp fix crash in wxDataViewItem GetNextItem() when there are no item. 2021-11-07 08:53:56 +01:00
xnode.cpp