Jeff Young
89c0f8e297
Move to new font engine.
4 years ago
Marek Roszko
ea613cf448
Another batch of point changes
4 years ago
Marek Roszko
c4c56de708
Neurotically update position wxPoint usages
4 years ago
Marek Roszko
347e03363a
Convert wxPoint/wxSize starting from EDA_RECT usages
4 years ago
jean-pierre charras
480a548171
PCB_PAINTER: do not show track arc clearance when not needed
fix also a minor compil warning.
Fixes #10137
https://gitlab.com/kicad/code/kicad/issues/10137
4 years ago
Jeff Young
86cb57f4a7
Cherry-pick TEXT_ATTRIBUTES and EDA_ANGLE from rockola/kicad-strokefont
4 years ago
Jeff Young
5e4a704155
Remove some more duplicated preferences.
Fixes https://gitlab.com/kicad/code/kicad/issues/10112
4 years ago
Jeff Young
933b82495d
Use ISO 128-2 values for dashed line defaults.
4 years ago
Jeff Young
d649b288a6
Swap out autoplace rotation costs for private footprint layers.
Fixes https://gitlab.com/kicad/code/kicad/issues/2291
Fixes https://gitlab.com/kicad/code/kicad/issues/5391
4 years ago
Jeff Young
fa908e1f98
Dimensions for footprints.
Fixes https://gitlab.com/kicad/code/kicad/issues/8441
4 years ago
Jeff Young
23194dbe54
User-settable high-contrast dimming factor.
ADDED user-settable high-contrast dimming factor.
Fixes https://gitlab.com/kicad/code/kicad/issues/6922
4 years ago
Jeff Young
58d4ac2a97
Keep netnames on tracks within the viewport when possible.
Fixes https://gitlab.com/kicad/code/kicad/issues/2032
4 years ago
Jeff Young
9ee28ea8f5
Flatten out some more preferences.
4 years ago
Jeff Young
f1410f0240
Line styles for PCBNew shapes.
Fixes https://gitlab.com/kicad/code/kicad/issues/2150
4 years ago
Jeff Young
ef10b36948
Add mask-to-copper clearance parameter and rename mask margin.
4 years ago
Jeff Young
4b6bf3095a
Radial dimensions.
ADDED radial type dimensions.
Fixes https://gitlab.com/kicad/code/kicad/issues/2056
4 years ago
Jeff Young
a1c8e36c99
Scale markers somewhat proportionally to zoom.
Fixes https://gitlab.com/kicad/code/kicad/issues/10048
4 years ago
jean-pierre charras
f5246acf37
PCB_PAINTER: draw PAD do not always replace netname by "x".
When a pad net is edited inside the board editor, its netname is no longer
its corresponding pin netname.
Fixes #9795
https://gitlab.com/kicad/code/kicad/issues/9795
4 years ago
Jeff Young
393c84e67a
Fix sketch mode rendering of beziers.
Fixes https://gitlab.com/kicad/code/kicad/issues/9522
4 years ago
Jeff Young
f724fe7eff
Move bbox padding to RTrees so it doesn't interfere with hittesting.
Fixes https://gitlab.com/kicad/code/kicad/issues/9361
4 years ago
Jeff Young
f9861b4a6c
Finish arc rework and push out to file formats.
4 years ago
Jeff Young
9b9e379aa0
Overhaul arc internal model to not over-specify information.
4 years ago
Jeff Young
7b07b1650c
Don't draw titlebar for untitled groups.
Fixes https://gitlab.com/kicad/code/kicad/issues/9181
4 years ago
Jeff Young
fdd9df6dff
Linear brightening doesn't work well for colours near white.
4 years ago
Wayne Stambaugh
3b16c38756
Coverity issue fixes.
Fix Coverity issues 157138, 338547, and 338716.
4 years ago
Wayne Stambaugh
4ee0b28ffc
Coverity issue fixes.
Fix Coverity issues 338623, 338716, and 338717.
4 years ago
Seth Hillbrand
c816168e42
Fix crash when drawing item
When drawing before commit, the items do not have a board and therefore
no BDS. In these cases, take a decent default until committed
4 years ago
Jeff Young
9cf7c7800b
Use same text positioning algorithm in LibEdit and Eeschema.
Also fixes some uninitialized variables in PCB painter.
Fixes https://gitlab.com/kicad/code/kicad/issues/8947
4 years ago
Jeff Young
1792a985a7
Use board's maxError value when possible.
4 years ago
jean-pierre charras
36048fa436
OPENGL_GAL::DrawArcSegment(): use a better number of segm to approximate the arc.
Previously, the count of segments used a magic number optimized for Pcbnew.
This is not good, and does not work well on Gerbview.
The count uses now a max error acceptable is approximation (5 microns in Gerbview and Pcbnew).
Fixes #9101
https://gitlab.com/kicad/code/kicad/issues/9101
4 years ago
Jeff Young
59c15842f8
Exclude formatting chars from text width approximation.
Fixes https://gitlab.com/kicad/code/kicad/issues/9080
4 years ago
Jeff Young
e6ca9837a2
Clear numbers from non-numberable pads and don't run DRC on them.
This was also the last straw on the misnamed PAD::GetName() and
PAD::SetName(), which are now PAD::GetNumber() and PAD::SetNumber().
Fixes https://gitlab.com/kicad/code/kicad/issues/9017
4 years ago
Jeff Young
1a252b4f96
Add a compile error for ill-defined rules, and more performance.
Also adds const-safety to GetBoard().
4 years ago
Jeff Young
8b9161b27d
Be more careful with alpha value.
Fixes https://gitlab.com/kicad/code/kicad/issues/8850
4 years ago
Jeff Young
6aaf4413b3
Fix kicad_string.h / string.cpp mismatch.
They don't define a KiCad string class, so the header file name was
somewhat misleading. But the fact that they didn't match definitely
made coding more difficult.
4 years ago
Jeff Young
f221220fe2
Rename layer ids file.
It hasn't had anything to do with colors or visibility for some time
now.
4 years ago
david-beinder
c0f12cf8b0
PCB painter: skip early to polygon algo in outline mode
4 years ago
Jeff Young
e62969d007
Move zone fracture display mode to AdvancedCfg, and add triangulation.
Fixes https://gitlab.com/kicad/code/kicad/issues/8762
4 years ago
Jeff Young
0fb864d596
Pull some name changes back from 7.0 to ease merging.
4 years ago
Wayne Stambaugh
cf00319c85
More NULL expunging.
4 years ago
Jeff Young
e61822c9e0
Naming conventions and a bug fix on arc points.
4 years ago
Jeff Young
625006ca30
Remove front/back SMD pad color now that we have opacity sliders.
Fixes https://gitlab.com/kicad/code/kicad/issues/8761
4 years ago
Jon Evans
cafd42911e
Do not use opacity for zone outlines
The opacity is intended to aid seeing through
zone filled areas and applying it to outlines
makes them hard to see and select.
4 years ago
jean-pierre charras
fa49b54f93
Fix minor issue in TransformCircleToPolygon() when aError is set to a large value.
pcb_painter.cpp: add (but not activate) compil option to show the conversion
of SHAPE_ARC::ConvertToPolyline as segments, for debug purposes.
4 years ago
jean-pierre charras
310adedf85
Add GetCircleToSegmentError() to geometry/geometry_utils.
This function returns the error created by a circle to segment approximation.
4 years ago
jean-pierre charras
31d7a0a8d1
TransformArcToPolygon(): slightly better approximation of arc.
The error between the "right" shape and the polygon is slightly smaller.
The approximations of the inner arc and the outer arc are better, but not perfect.
Also add (for test and debug purpose only) the code to show the polygon when
drawing a PCB_ARC (currently disabled)
4 years ago
Wayne Stambaugh
27e9750507
Pcbnew: fix footprint selection bug.
Do not remove footprint objects from list of selected objects when there
are no drawable objects other than the reference and value text.
Increase the minimum size rectangle for footprints from 0.025mm to 1mm
when the footprint has no drawing objects so that it is easier to select
the footprint in this case.
Add some pretty colors to the footprint bounding box and hull outline
so that it's possible to tell the difference between selection areas.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8379
4 years ago
Jeff Young
5fa5a73c6d
File open/import progress dialogs.
Fixes https://gitlab.com/kicad/code/kicad/issues/6864
Fixes https://gitlab.com/kicad/code/kicad/issues/2166
4 years ago
Jeff Young
ae612a454e
Make blind via rendering more intuitive by putting top on top...
bottom on bottom, and the via colour larger.
4 years ago
jean-pierre charras
9fb77473cd
pcb_painter.cpp: fix incorrect shape of CHAMFERED_RECT pads with negative clearance.
Negative clearance (for instance on mask or paste layer) was not taken in account
4 years ago