Wayne Stambaugh
46b959c3e3
Move plotter headers into include folder.
4 years ago
Wayne Stambaugh
8f30404e42
Plot code cleaning.
4 years ago
Wayne Stambaugh
bcd6bddfd4
Start expunging NULL.
Given that KiCad is a C++ project, we should really be using nullptr
instead of NULL.
5 years ago
Jeff Young
a3b9e8ddb4
Round 2 of Worksheet -> Drawing Sheet.
5 years ago
Jeff Young
cad5198ab7
Worksheet -> (industry standard) Drawing Sheet.
5 years ago
Wayne Stambaugh
8ff51d8899
Eeschema: add schematic sheet page number.
The groundwork has now been laid for per sheet instance data. Initially
this only supports sheet page numbers but could be expanded to include
other per sheet instance information.
ADDED: Support for user defined schematic page numbers.
5 years ago
Marek Roszko
1538d737e7
Split out FILL_T to its own header to avoid spreading eda_item everywhere
5 years ago
Marek Roszko
b2e9f6987d
Split base_struct into eda_item and eda_rect
5 years ago
Marek Roszko
2c86363aa0
Relocate the page_layout includes to a page_layout folder
5 years ago
jean-pierre charras
8285110c2a
more cleanup about removing useless include
5 years ago
jean-pierre charras
6b958ff4e0
Move specialized plotter classes from plotter.h to specific plotter_xx.h
plotter.h contains now only a header common to all plotters.
The code does not actually change, but it allows modifying a specific plotter
without recompiling most of kicad files.
5 years ago
Jeff Young
2b6089240a
Change super/subscript syntax to ^{foo} and _{foo}.
6 years ago
Jeff Young
9c8941e040
Remove a bunch of globals.
6 years ago
Jeff Young
6e800bddae
Rationalize penWidth processing as first step in removing some globals.
6 years ago
Jeff Young
4990d1e7b2
Variable substitution framework.
This implements editing of variables and moving SCH_FIELDs,
TEXTE_MODULEs, TEXTE_PCB and worksheet items over to the new
framework.
6 years ago
Mark Roszko
19ceb11ae7
Change more enums over to scoped enums
6 years ago
Seth Hillbrand
c4d853c1e8
SHAPE_LINE_CHAIN: Remove element access
This is the first step to allowing non-segments in the line chain.
External routines cannot be allowed to change the line chain without
going through the internal routines. To accomplish this, we remove the
Vertex() and Point() access routines and only leave the const versions.
Transformations are given for both points as well as the chain itself.
7 years ago
Seth Hillbrand
b5f021ff9f
Cleanup: Replace push_back with emplace_back
In cases where we create a new item and immediately push into a
container, the emplace idiom is faster and more efficient.
6 years ago
jean-pierre charras
f135ec47fa
Page layout: rework and fix a few issues.
* rename WS_DRAW_ITEM_POLYGON to WS_DRAW_ITEM_POLYPOLYGONS (better name)
* use SHAPE_POLY_SET instead of std::vector(<wxPoint> to manage the set of polygons.
It also remove duplicate code related to HitTest and bounding box.
* fix HitTest and WS_DRAW_ITEM_POLYGON highlight.
7 years ago
Jeff Young
d6e9bdf07b
Convert remaining legacy drawing code to print code.
7 years ago
Jeff Young
bdd44ce88c
Use consistent PageLayout data structure names.
7 years ago
Jon Evans
b40289c1bd
Eeschema: use worksheet color when plotting
Fixes: lp:1825568
* https://bugs.launchpad.net/kicad/+bug/1825568
(cherry picked from commit e35be13b23 )
7 years ago
Jeff Young
323bb0f8e1
Moving PageLayout editor to GAL canvas and modern toolset.
7 years ago
jean-pierre charras
d0754acf00
Fix code after renaming files
8 years ago
jean-pierre charras
d44494beda
Update code after file renaming
8 years ago
jean-pierre charras
4c5bd01887
Rename a few files
8 years ago
jean-pierre charras
e499d337d8
rename files: update filenames in sources
8 years ago
jean-pierre charras
93fd0c9358
move plotter related files to subdir plotters
8 years ago
jean-pierre charras
bdc6a5950b
rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions.
8 years ago
Maciej Suminski
0dc88bb4cf
Changed COLOR4D defines to static consts
9 years ago
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.
9 years ago
Dick Hollenbeck
0c459ced97
EDA_TEXT object refactor.
Make all EDA_TEXT data private and rename accessors to avoid function
name collisions in derived classes.
Overload EDA_TEXT's SetTextAngle() and SetEffects() in TEXTE_PCB.
Add support for preserving Reference text position, size, orientation
during a netlist import into a BOARD, as well as the one off footprint
update dialog.
9 years ago
jean-pierre charras
a5367391a9
Plot PS and PDF: fix bug Bug #1457215 (rect/trap pads plotted with an incorrect pen size, and therefore an incorrect size and shape. Only noticeable with a large default pen size)
Very minor coding style fixes.
11 years ago
Lorenzo Marcantonio
260ca0e79f
Added support for decoupling stored text from shown text in EDA_TEXT
Factored out text ellipsing support to max 15 character (for generating menu items)
12 years ago
Baranovskiy Konstantin
065966291c
Fix worksheet multiple line text plotting bug. (fixes lp:1261906)
12 years ago
Baranovskiy Konstantin
de65a7a1da
Fix border and title block line thickness plotting bug. (fixes lp:1261899)
12 years ago
jean-pierre charras
1f3f11ca0d
Add margin values control in pl_editor, and remove margin definition from class PAGE_INFO.
13 years ago
jean-pierre charras
50743cf3ba
Initial release of pl_editor, the page layout and title block editor.
13 years ago
jean-pierre charras
0c5d9fa20c
Fix compil issue on wxWidgets 2.8.12, created by my last commit.
13 years ago
jean-pierre charras
ee6cd0883d
Plot files : fix Bug #1188664 (full filename instead of short file name, and swapping between sheet path and file name)
13 years ago
jean-pierre charras
b750414561
Pcbnew: fix bug Bug #1184362 (Pcbnew losing user (custom) sheet size )
Fix minor issues in print/plot: filename not printed, sheetname incorrect in eeschema
13 years ago
jean-pierre charras
7080828fe2
More about worksheet code.
13 years ago
jean-pierre charras
82cc923356
Worksheet code: more cleanup, and fix compil issue with wxWidgets 2.8
13 years ago
jean-pierre charras
001723e077
Worksheet code: cleanup and remove useless parameters.
13 years ago
jean-pierre charras
a8a640811b
Code cleaning and move worksheet code specific to title block and frame references shape in title_block_shapes.h and title_block_shapes_gost.h
13 years ago
Lorenzo Marcantonio
69b7c2a1b6
Removed some spurious float casts
(explanation: float is implicitly promoted to double anyway, it's only useful
for storage; also a fp variable forces conversion of other int in the expression
without needing a cast)
Typo fixes in some comments 'floatting' -> 'floating' :D
13 years ago
Wayne Stambaugh
bf56b2b35d
Fix a GOST compile error.
13 years ago
Wayne Stambaugh
cd18ff1762
Fix X3D patch commit coding policy issues.
13 years ago
Andrey Fedorushkov
5a5b90984a
all: new Russian GOST patch - author Konstantin Baranovskiy
pcbnew: fix print format in THROW_IO_ERROR
fix properties file export_vrml.cpp
13 years ago
Baranovskiy Konstantin
e37372f45f
Eeschema border and title block DXF plot color bug fix.
13 years ago