kicad/eeschema/libedit
Wayne Stambaugh f1f4473d8b Footprint editor: add save view to PNG file.
Factor out save current canvas view to image file code from symbol editor
code so it can be used anywhere.

Add ability to save to any image format supported by wxBitmapType.  See
https://docs.wxwidgets.org/3.0/gdicmn_8h.html#a90a1eb6d85b5044a99b706fd979f27f5.
Currently only PNG output is implemented.

Please note that there is a minor bug that appears to be due to the
scroll bars which causes unfilled areas on the right and bottom edges
of the image.  This always existed in the save symbol editor view
image but it was not as noticeable because by default the background
color is white.  It is very noticeable in the footprint editor with
a black background.

The usual smattering of coding policy and comment fixes.

Fixes lp:1802127

https://bugs.launchpad.net/kicad/+bug/1802127
2018-11-09 08:32:36 -05:00
..
block_libedit.cpp Convert pasted objects to current unit and DeMorgan variant. 2018-11-08 21:27:15 +00:00
controller.cpp Handle don't-always-display-cursor setting correctly. 2018-10-24 13:36:48 +01:00
lib_edit_frame.cpp MSW and GTK need a separate dialog for opening/saving directories. 2018-11-04 12:35:01 +00:00
lib_edit_frame.h Footprint editor: add save view to PNG file. 2018-11-09 08:32:36 -05:00
lib_export.cpp eeschema-gal: initial GALified version. Lots of stuff still to do! 2018-10-09 11:08:52 +01:00
lib_manager.cpp eeschema-gal: moved libedit to a separate directory 2018-10-09 11:08:52 +01:00
lib_manager.h eeschema-gal: moved libedit to a separate directory 2018-10-09 11:08:52 +01:00
libedit.cpp Init LibEdit with unit & conversion when opening from schematic. 2018-11-08 21:27:15 +00:00
libedit_onleftclick.cpp eeschema-gal: initial GALified version. Lots of stuff still to do! 2018-10-09 11:08:52 +01:00
libedit_onrightclick.cpp Fix translation issues with copy/paste block. 2018-10-30 11:33:49 +00:00
libedit_plot_component.cpp Footprint editor: add save view to PNG file. 2018-11-09 08:32:36 -05:00
libedit_undo_redo.cpp Add view refresh calls for edit operations. 2018-10-18 12:12:48 +01:00
libfield.cpp Add view refresh calls for edit operations. 2018-10-18 12:12:48 +01:00
menubar_libedit.cpp Add show/hide search tree to modedit, and fix it in libedit. 2018-11-04 12:35:01 +00:00
pinedit.cpp Hide existing object when displaying moving preview. 2018-10-23 20:54:42 +01:00
symbdraw.cpp Hide existing object when displaying moving preview. 2018-10-23 20:54:42 +01:00
symbedit.cpp Add view refresh calls for edit operations. 2018-10-18 12:12:48 +01:00
tool_lib.cpp eeschema-gal: moved libedit to a separate directory 2018-10-09 11:08:52 +01:00