Jeff Young
492259a1d4
Outline font bug fixes for PCBNew dimensions.
Fixes https://gitlab.com/kicad/code/kicad/issues/11583
4 years ago
Jeff Young
47e002a33d
Add font to status bar for text objects.
4 years ago
Jeff Young
9b087a3c25
Add automatic precision choices for dimensions.
Fixes https://gitlab.com/kicad/code/kicad/issues/6690
4 years ago
Seth Hillbrand
442aae19d9
Separate flashing check for connectivity
When building the connectivity database, we should not be using the
connectivity to check for shapes.
To make this deterministic, we introduce two flags (ALWAYS_FLASH and
NEVER_FLASH) that are used with connectivity building to determine
whether a pad is flashed for connectivity or not. ZONE <-> PAD/VIA
connectivity will be checked with ALWAYS_FLASHED and all other
connectivity will be checked with NEVER_FLASHED if they are marked for
potential annular ring removal. If they are not marked for removal,
they will be checked ALWAYS_FLASHED.
Fixes https://gitlab.com/kicad/code/kicad/issues/11114
4 years ago
jean-pierre charras
b184b43431
PCB_DIM_ALIGNED and DIALOG_DIMENSION_PROPERTIES: fix bad text rotation.
Fixes #10901
https://gitlab.com/kicad/code/kicad/issues/10901
4 years ago
Jeff Young
7ccac79192
More wxString wide literals.
4 years ago
Jonathan Haas
7b01530eca
EDA_ANGLE: use existing Normalize180 function here
4 years ago
Jeff Young
8e4369f998
Repair arrowhead angles.
Fixes https://gitlab.com/kicad/code/kicad/issues/10551
4 years ago
Jeff Young
c8a50d9b50
Remove unit-less angles from VECTOR2I/D APIs.
4 years ago
Jeff Young
4eac8d7c66
Remove unit-less angles from geometry lib APIs.
4 years ago
Jeff Young
1b19ff5f42
More EDA_ANGLE changes.
4 years ago
Jeff Young
c9487bad18
Move BOARD_ITEM::Rotate() to EDA_ANGLE.
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
Jeff Young
86cb57f4a7
Cherry-pick TEXT_ATTRIBUTES and EDA_ANGLE from rockola/kicad-strokefont
4 years ago
Jeff Young
fa908e1f98
Dimensions for footprints.
Fixes https://gitlab.com/kicad/code/kicad/issues/8441
4 years ago
Jeff Young
28b279cb2d
Units cleanup.
It's 2021. Time to move beyond ASCII. This also makes spacing of
units consistent (space before abbreviated units, no space before
symbolic units).
4 years ago
Jeff Young
4b6bf3095a
Radial dimensions.
ADDED radial type dimensions.
Fixes https://gitlab.com/kicad/code/kicad/issues/2056
5 years ago
Jeff Young
22ba640c2b
Remove locking from footprint editor.
Fixes https://gitlab.com/kicad/code/kicad/issues/9496
4 years ago
Wayne Stambaugh
1f7fd436a2
Move board object polygon code into the object source files.
Having the board object polygon code all defined in a separate file made
finding the polygon code for an object difficult to find.
4 years ago
Wayne Stambaugh
cf00319c85
More NULL expunging.
5 years ago
Jeff Young
16b0147af8
Prefix DIMENSION types.
5 years ago
Marek Roszko
10e60acf34
Clean up including of board_design_settings.h
5 years ago
jean-pierre charras
56058314be
Fix minor Coverity warnings and minor compil warnings.
(uninitialized or shadowed vars)
5 years ago
Jeff Young
3b049b32cf
Show if pads, zones, and dimensions are locked in the status bar.
Fixes https://gitlab.com/kicad/code/kicad/issues/8255
5 years ago
Jonathan Haas
58dfb6539f
Change orientation and flip sign of dimension height when rotating orthogonal dimensions.
Fixes https://gitlab.com/kicad/code/kicad/issues/6940
5 years ago
Fabien-B
a086795ac9
Pcbnew: fix dimensions text rotation and position.
Issue #6940 is not addressed, as being able to
rotate a dimension with a group is preferred over
easily rotating the text.
Fixes https://gitlab.com/kicad/code/kicad/issues/3847
5 years ago
Jon Evans
18037e2f65
Rework bitmap system to load from archived PNGs
Bitmaps are now identified by an enum class instead of by pointers.
Bitmap loading and caching is now handled by a class in common, and
we no longer compile most bitmaps into the binary, so there is no
longer a bitmaps static library.
Instead, bitmaps are archived to a .tar.gz file which is installed
in ${KICAD_DATA}/resources/images.tar.gz
The source PNGs are checked in to Git as the original CPP files were,
so that people can build without the required dependencies to convert
SVGs to PNGs.
Initial support is also added for dark theme icons, although this
is not yet exposed in the GUI.
Stubs are present for multi-resolution image resources, but this is
not fully-baked yet and could use some refinement.
5 years ago
Dominik Wernberger
e2aa7be4b3
Added a lot of consts and refactored a few lines
5 years ago
Mikolaj Wielgus
0f22b54cd8
Clip the leader lines properly when using circular text frame
Fixes https://gitlab.com/kicad/code/kicad/issues/7810
5 years ago
Mikolaj Wielgus
81570e02f3
Do not change orientation when moving orthogonal dimensions
Fixes https://gitlab.com/kicad/code/kicad/issues/7727
5 years ago
Jeff Young
ba63ac801a
Don't make assumptions about what layers things are on.
5 years ago
Jeff Young
35978adef9
Don't run dimension updates while parsing files.
They mess up the geometry when only partial values are provided.
Fixes https://gitlab.com/kicad/code/kicad/issues/7177
5 years ago
Mikolaj Wielgus
f0b11896da
Clip the first segment in leaders
Fixes https://gitlab.com/kicad/code/kicad/issues/6548
5 years ago
Jeff Glass
597a74af9a
Corrects text of orthogonal dimensions
The 'outisde' position is now 'outside' in all orientations
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5821
5 years ago
Jeff Young
c66e373119
Cleanup of PCBNew message panel routines.
Also fixes bugs where invalid netclasses were reported as "Default",
and SMD pads were reported as having "0.0000" drills.
5 years ago
Jeff Young
2932fe1e64
Fix rotation of dimension objects.
Fixes https://gitlab.com/kicad/code/kicad/issues/6424
5 years ago
Jeff Young
7bd31d5237
Naming conventions.
5 years ago
Jeff Young
8bae52d1c3
Correct naming conventions.
5 years ago
Jeff Young
84dd5108ba
Remove some "class_" prefixes from files.
5 years ago
Jeff Young
f7333ad64a
Update some classnames including archaic zone names.
5 years ago
Jeff Young
5ede4061e3
Bug fixes and enhancements for dimensions.
1) Make them easier to select.
2) Mirror text when flipping to other side of board.
3) Flip around a more "known" point (the text position isn't really
here nor there).
Fixes https://gitlab.com/kicad/code/kicad/issues/6219
5 years ago
Jeff Young
a0060086b0
Simplify shape building logic.
Fixes https://gitlab.com/kicad/code/kicad/issues/6244
5 years ago
Jon Evans
52cb410952
Cannot use two layers of temporary in range-for (yet)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6244
5 years ago
Ian McInerney
31e626f279
Cleanup creation of all our smart pointers
5 years ago
Jeff Young
ebc8e2c921
Move property manager tokens to HKI macro.
This leaves them untranslated internally but makes sure their
translation strings exist so they can be dynamically translated
at the GUI level.
Fixes https://gitlab.com/kicad/code/kicad/issues/6020
5 years ago
Marek Roszko
12d21e34e2
Remove trigo.h from eda_text.h
5 years ago
Jeff Young
37906511f5
Class renaming.
DRAWSEGMENT -> PCB_SHAPE
EDGE_MODULE -> FP_SHAPE
TEXTE_PCB -> PCB_TEXT
TEXTE_MODULE -> FP_TEXT
5 years ago
Mikolaj Wielgus
d14761bee6
Fix inches being sometimes used instead of mils
5 years ago