Alex Shvartzkop
69ee94f289
Fix crash when trying to draw a schematic polygon with no segments.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18246
1 year ago
Mike Williams
a5e2615251
Revert "SCH/LIB SYMBOL: never allow null LIB_SYMBOLs in SCH_SYMBOL"
This reverts commit 0b187e7122 .
1 year ago
Mike Williams
0b187e7122
SCH/LIB SYMBOL: never allow null LIB_SYMBOLs in SCH_SYMBOL
Also always always flatten incoming lib symbols.
2 years ago
Jeff Young
ec0fdfffff
ADDED: markers for excluded-from-sim items.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15382
2 years ago
Jeff Young
aee7680a6c
ADDED: support for DNP & friends at the sheet level.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14387
2 years ago
Jeff Young
34dbee0693
Show text item anchor locations in schematic.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17668
2 years ago
John Beard
0bcd5e5795
Eeschema: Also make 'note' backgrounds translucent on selection
For the same reason as device backgrounds - it obscures everything
else while moving a filled shape.
2 years ago
John Beard
5a69b163a3
Fix translucency when selecting a filled shape in the symbol editor
Overriding the color in draw() throws away the alpha that was set
due to aItem->IsSelected() in getRenderColor().
Instead, get the layer BG fill color in getRenderColor() before
the translucency is applied.
2 years ago
jean-pierre charras
87d3d38552
Eeschema, Pin helpers: fix wrong label orientation if the symbol is rotated
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18012
2 years ago
Jeff Young
ea013f3ca3
Fill device colour on foreground layer.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18002
2 years ago
Jeff Young
352463dfeb
Fix pin drawing after removal of upside-down coords.
2 years ago
Jeff Young
c59ed0bbb7
Flip symbol editor's Y axis to match other editors.
2 years ago
James J
be8744176c
Add SCH_RULE_AREA shapes to eeschema
Includes:
- Fix GAL to draw closed polygons in eeschema
- Add functionality to eeschema to draw arbitary polygons
- Update polygon item previews to have customisable edge colour
- Add new SCH_RULE_AREA class, derived from a poly SCH_SHAPE
- Add SCH_RULE_AREA to paint and plot methods
- Add new rule area color preference to themes
2 years ago
Jeff Young
e8be782687
Mostly clean-up, but also bug fixes with bounding boxes.
2 years ago
Jeff Young
c0f480eea8
Lint reduction.
2 years ago
jean-pierre charras
65c3fe03fb
Re-add a line deleted by mistake in my commit c04cd812
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17814
2 years ago
Jeff Young
95136494b3
RIP LIB_PIN.
2 years ago
jean-pierre charras
c04cd81231
Eeschema: fix color issues in symbol body graphic items drawings.
- fix incorrect colors (outlines and filled shapes)
- fix issues in DIALOG_SHAPE_PROPERTIES (incorrect colors)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17799
2 years ago
Jeff Young
657fe6e091
Fix background colour bug.
2 years ago
Jeff Young
d761b4f22f
RIP LIB_TEXTBOX and LIB_SHAPE.
2 years ago
Jeff Young
3efe504dcc
Collapse LIB_TEXT into SCH_TEXT.
2 years ago
Jeff Young
d77eae3e7e
Collapse LIB_FIELD into SCH_FIELD.
2 years ago
Jeff Young
c241796968
Minor improvements to readability.
2 years ago
Jeff Young
3b66f64c19
Cleanup.
2 years ago
Jeff Young
9c94967b52
Tidy renderSettings / jobsHandler APIs.
2 years ago
Jeff Young
5abc7145da
Fold LIB_ITEM into SCH_ITEM.
2 years ago
Jeff Young
5dd8747ecb
Harmonize mirroring APIs.
2 years ago
Jeff Young
92910d5d0f
Factor common parts of SCH_ & LIB_SYMBOL into SYMBOL.
2 years ago
jean-pierre charras
4f4d9be8d1
Symbol Editor do not display bounding box of invisible pins and fields
2 years ago
Jeff Young
d083593177
Table bug fixes.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17399
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17398
2 years ago
jean-pierre charras
f7721f385a
Symbol editor: add option (view menu+toolbar) to show/hide invisible pins and fields
Fixes #8020
https://gitlab.com/kicad/code/kicad/-/issues/8020
2 years ago
Jeff Young
e7abeb3c38
Cleanup.
2 years ago
Jeff Young
fa0ead98d8
Split out table editing and table cell editing.
2 years ago
Jeff Young
e445249720
ADDED: PCB tables.
2 years ago
Jeff Young
91df43c97a
ADDED: schematic tables.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6806
2 years ago
Jeff Young
ae735d3eb4
Renaming: replace convert with body-style.
No functional changes.
2 years ago
jean-pierre charras
07fa42644d
SCH_PAINTER: fix a few minor issues related to Cairo print engine
- shows correctly hidden power pins unconnected circle
- do not print dangling indicators
- do not print highlight shadows.
Fixes #16615
https://gitlab.com/kicad/code/kicad/-/issues/16615
2 years ago
Jeff Young
94a7d1647f
Fix typo.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16542
2 years ago
Jeff Young
120937b6b0
Honour forced transparency for strokes and fills.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16542
2 years ago
Jeff Young
33a56c530d
cleanup
2 years ago
jean-pierre charras
d1aa49e1c9
Eeschema, sch_painter.cpp: remove a line that was used only for a test.
It was added during a debug... and forgotten in code.
Fixes #16176
https://gitlab.com/kicad/code/kicad/-/issues/16176
2 years ago
Jeff Young
df83e24eb7
Cleanup.
It's been a long time since line style was specific to plotting.
2 years ago
jean-pierre charras
029df17b5a
Eeschema, Cairo printing: adjust printing to page size and other refinements
2 years ago
jean-pierre charras
247a0e6501
Eeschema: Add Cairo printing to the Eeschema print engine. The current print engine (using wxDC draw engine) has frequently issues with each new wxWidgets version. Cairo printing engine, used for Pcbnew and Gerbview has less issues. On Eeschema, the cairo print is enabled only if the advanced config has the option "EnableEeschemaPrintCairo = 1"
2 years ago
Jeff Young
d5801a48d3
Process text variables in pin names.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15601
2 years ago
Alex Shvartzkop
ead44d58a0
Fix bezier curves drawing in schematic/libedit.
2 years ago
Alex Shvartzkop
a3df8f8a97
Better drawing precision for LIB_SHAPE arcs.
2 years ago
Jeff Young
d593257fbd
Honour override-individual-item-colors setting for filled shapes.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15572
2 years ago
Alex Shvartzkop
cb3c63b2b1
Fix arc rendering in schematic / symbol editor.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15471
2 years ago
Josue Huaroto
b224af0d1f
Add SCH_TEXT_T and SCH_FIELD_T to Scaled Selection
2 years ago