kicad patches
Go to file
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
.githooks Add git format commit hook 2018-10-29 10:47:51 -04:00
3d-viewer 3D viewer: ensure 0 sized circles (that crash the viewer) are skipped. 2018-11-05 08:30:54 +01:00
CMakeModules Moved wxPython/Phoenix detection to a separate CMake module 2018-11-02 11:28:30 +01:00
Documentation QA: Make a separate unit test utils library, COLOR4D tests 2018-11-08 14:40:42 -05:00
bitmap2component Fix a few wxWidgets minor asserts. Fix a compil warning 2018-07-28 10:31:04 +02:00
bitmaps_png Open project folder in host OS: refinements. 2018-11-01 15:11:29 +01:00
common Footprint editor: add save view to PNG file. 2018-11-09 08:32:36 -05:00
cvpcb eeschema-gal: make sure all other Kicad apps compile after eeschema gal hacks 2018-10-09 11:08:52 +01:00
demos Update demo "video" to use V5 libraries 2018-10-25 17:14:47 +02:00
dxflib_qcad Dxf: Fix leaks in DL_Dxf::test 2018-09-28 14:51:28 -04:00
eeschema Footprint editor: add save view to PNG file. 2018-11-09 08:32:36 -05:00
gerbview Gerbview: minor fixes. 2018-11-08 16:49:50 +01:00
helpers Update tools_to_build_newstroke-font files to V5 2018-04-06 20:09:32 +02:00
include Footprint editor: add save view to PNG file. 2018-11-09 08:32:36 -05:00
kicad add tool to open system file browser to main toolbar 2018-11-02 13:51:13 +01:00
new Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
pagelayout_editor pl_editor: cosmetic enhancements 2018-11-02 13:47:48 +01:00
patches Remove macos patches. 2018-01-31 10:18:41 -05:00
pcb_calculator pcb_calculator: code rework: rename "tand" member to "m_tand" and m_name to m_Name 2018-08-24 10:26:05 +02:00
pcbnew Footprint editor: add save view to PNG file. 2018-11-09 08:32:36 -05:00
plugins 3d: Fix double-clear in oce loadmodel 2018-10-09 05:37:48 -07:00
polygon Replacing Tesselation 2018-09-01 19:30:50 -07:00
potrace Update potrace to version 1.15 (that fixes some bugs) 2017-11-27 12:54:18 +01:00
qa Fix rounding in COLOR4D::ToColour 2018-11-08 14:40:42 -05:00
resources/linux Update appdata license fields to reflect the latest license changes. 2018-10-24 11:04:15 -04:00
scripting Get Exception handling working with Python 3 2018-10-19 09:59:06 +02:00
scripts remove fully outdated (and now incorrect) scripts. 2018-11-06 18:16:59 +01:00
template Remove worksheet templates. 2018-01-27 10:19:29 -05:00
tools Add an in-memory STREAM_LINE_READER benchmark 2018-10-31 12:22:47 -04:00
utils Implement RAII locking for GAL updating. 2018-10-26 23:02:05 +01:00
.gitignore Removed stale files related to FreeRoute support 2018-09-04 11:54:42 +02:00
AUTHORS.txt Correct my name in AUTHORS.txt and About dialog 2018-06-13 23:10:27 -06:00
CMakeLists.txt Windows compil option: always define UNICODE and_UNICODE needed by Kicad that uses unicode. 2018-11-06 18:15:52 +01:00
CTestConfig.cmake See CHANGELOG.txt 2010-02-14 14:59:43 +00:00
Doxyfile Documentation: add logo to Doxygen pages 2018-06-25 08:23:17 -04:00
INSTALL.txt Updated INSTALL.txt to list new dependncies. Fixed a dead link to documentation as well. 2016-09-04 18:34:29 -04:00
LICENSE.AGPLv3 Update license to AGPL due to TTL license. 2018-10-22 12:28:48 -04:00
LICENSE.GPLv3 Update license to AGPL due to TTL license. 2018-10-22 12:28:48 -04:00
LICENSE.README Update license to AGPL due to TTL license. 2018-10-22 12:28:48 -04:00
README.txt update doc and remove a outdated file 2017-09-28 18:56:36 +02:00
TODO.txt Modular KiCad Blueprint Milestone B), major portions: 2014-08-13 15:28:54 -05:00
_clang-format Tweak _clang-format to bring closer to 'normal' KiCad style 2017-03-20 09:45:51 -04:00
copyright.h Update copyright.h 2018-01-08 16:53:05 +01:00
uncrustify.cfg Fix case statement indentation setting for uncrustify. 2015-01-08 09:02:27 -05:00

README.txt

KiCad README
============
For specific documentation like Compiling, GUI translation, old
changelogs see the Documentation subfolder.

Files
-----
AUTHORS.txt       - The authors, contributors, document writers and translators list
CMakeList.txt     - Main CMAKE build tool script
copyright.h       - A very short copy of the GNU General Public License to be included in new source files
CTestConfig.cmake - Support for CTest and CDash testing tools
Doxyfile          - Doxygen config file for KiCad
INSTALL.txt       - The release (binary) installation instructions
TODO.txt          - Todo list (looks outdated)
uncrustify.cfg    - Uncrustify config file for uncrustify sources formatting tool
_clang-format     - clang config file for clang-format sources formatting tool

Subdirectories
--------------
3d-viewer         - Sourcecode of the 3D viewer
bitmap2component  - Sourcecode of the bitmap to pcb artwork converter
bitmaps_png       - Menu and program icons
CMakeModules      - Modules for the CMAKE build tool
common            - Sourcecode of the common library
cvpcb             - Sourcecode of the CvPCB tool
demos             - Some demo examples
Documentation     - Developer documentation. Old changelogs etcetera.
eeschema          - Sourcecode of the schematic editor
gerbview          - Sourcecode of the gerber viewer
helpers           - Helper tools and utilities for development
include           - Interfaces to the common library
kicad             - Sourcecode of the project manager
lib_dxf           - Sourcecode of the dxf reader/writer library
new               - Staging area for the new schematic library format
pagelayout_editor - Sourcecode of the pagelayout editor
patches           - Collection of patches for external dependencies
pcbnew            - Sourcecode of the printed circuit board editor
plugins           - Sourcecode of the new plugin concept
polygon           - Sourcecode of the polygon library
potrace           - Sourcecode of the potrace library, used in bitmap2component
qa                - Testcases using the python interface
resources         - Resources for freedesktop mime-types for linux
scripting         - SWIG Python scripting definitions
scripts           - Helper scripts for various things
template          - Project and pagelayout templates
tools             - Other miscellaneous helpers for testing
utils             - Small utils for kicad, e.g. IDF tools