Jeff Young
455fae45d8
Support point editing of inverted rectangles.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16595
2 years ago
Jeff Young
d110b5b518
Improve edit points rendering on Retina displays.
2 years ago
Marek Roszko
67b031adab
Painter base class should just live in gal instead of being in denial
2 years ago
Jeff Young
5275393a94
Use highlight algo that works for both PCBNew and Eeschema.
Fixes https://gitlab.com/kicad/code/kicad/issues/9500
4 years ago
Jeff Young
930c4e5582
Cleanup.
Formatting.
Naming conventions.
Use of auto.
Use of STL cover types.
4 years ago
Jeff Young
6197717251
Avoid poor choices for point colors.
Also adjusts the point size to account for the fact that it now has a border.
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.
4 years ago
Jon Evans
35c7ba0a8a
Fix hover/highlight of line edit points
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6104
5 years ago
Marek Roszko
f59551d6ad
Remove painter.h from eda_text.h
5 years ago
Jon Evans
690575e2b6
Improve edit point legibility with a hover state
5 years ago
Jon Evans
713cd4a47a
Point editor: show dragged points with a highlight
Take points editor colors from color theme
Also fix an issue where the edited object sometimes didn't
update when a point is dragged.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4600
6 years ago
Ian McInerney
13b6028e1b
Refactor all math into a new kimath library
* Split up the thirdparty code into the thirdparty folder (#3637 )
* Create a new kimath static library containing all the math functions
This is part of cleaning the build system for #1906 .
6 years ago
jean-pierre charras
37b166348a
Fix compil error and minor compil warnings
6 years ago
Seth Hillbrand
b3615b36bb
pcbnew: Retain 45° constraint
This also finishes the polygon with 45° lines when chosen as a create
option.
Fixes: lp:1833673
* https://bugs.launchpad.net/kicad/+bug/1833673
(cherry picked from commit fccce265aa )
6 years ago
Jeff Young
3cdf88f2c6
CERN copyrights for work packages.
6 years ago
Jeff Young
ea0941cab3
Implement modern tools for LibEdit.
7 years ago
Maciej Suminski
6c5e5c27e2
Fixed bounding box computation for EDIT_POINTS class
9 years ago
Tomasz Włostowski
1c1f4e9a50
Refactoring of VIEW/VIEW_ITEM classes:
- Remove dependency of EDA_ITEM on VIEW
- VIEW_ITEM is now a pure virtual interface
9 years ago
Simon Richter
1b2fd6a382
Replace BOOST_FOREACH with C++11 range based for.
10 years ago
Maciej Suminski
9e8719d3ff
Fixed overlapping segment endings in OpenGL view.
11 years ago
Maciej Suminski
92a8f8f19c
Support for zone cut-outs in the point editor (GAL).
11 years ago
Maciej Suminski
6b90eb3a64
Refactoring EDIT_POINTS, part 1: separated functions that operate on EDIT_POINTS and EDIT_LINES.
12 years ago
Maciej Suminski
e6a7ff3c34
Isolated EDIT_CONSTRAINTs to different .cpp/.h files.
12 years ago
Maciej Suminski
342fd6e19e
EC_CONVERGING handles colinear lines properly.
12 years ago
Maciej Suminski
48161dcc4a
Yet another approach to EC_LINE and EC_CONVERGING edit constraints.
12 years ago
Maciej Suminski
19a87ac780
Added EC_CONVERGING for zone areas modification.
12 years ago
Maciej Suminski
d6c1670cd7
Templated EDIT_POINT_CONSTRAINT.
Removed EDIT_CONSTRAINT::Update() - replaced with resetting constraints.
EDIT_CONSTRAINT is stored in EDIT_POIN using boost::shared_ptr instead of pointer.
Added EDIT_LINE::GetEnd() & GetOrigin(). Overridden ApplyConstraint() for EDIT_LINE.
Side EDIT_POINTS for zones are drawn as circles.
12 years ago
Maciej Suminski
e6571f6862
Added new constraint for EDIT_POINTs (EPC_LINE).
Dimensions have EDIT_POINTs.
Different handling of 45 degree mode in POINT_EDITOR.
12 years ago
Maciej Suminski
3927c667cc
Added documentation. Moved some functions from .h to .cpp files.
12 years ago
Maciej Suminski
88a0311afe
Added EDIT_LINEs for dragging zone outlines.
12 years ago
Maciej Suminski
8c43c216bb
45 degrees mode for POINT_EDITOR.
12 years ago
Maciej Suminski
94cfed4b9e
Initial version of POINT_EDITOR.
12 years ago