KiCad PCB EDA Suite
Loading...
Searching...
No Matches
drc_re_numeric_constraint_types.h
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2026 KiCad Developers, see AUTHORS.txt for contributors.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, you may find one here:
18 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
19 * or you may search the http://www.gnu.org website for the version 2 license,
20 * or you may write to the Free Software Foundation, Inc.,
21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
22 */
23
24#ifndef DRC_RE_NUMERIC_CONSTRAINT_TYPES_H_
25#define DRC_RE_NUMERIC_CONSTRAINT_TYPES_H_
26
29
30
32{
33public:
36 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
37 {
38 return { { 205, 235, 157, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
39 }
40};
41
43{
44public:
47 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
48 {
49 return { { 200, 230, 107, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
50 }
51};
52
53
55{
56public:
59 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
60 {
61 return { { 160, 190, 202, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
62 }
63};
64
65
67{
68public:
71 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
72 {
73 return { { 160, 190, 202, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
74 }
75};
76
77
79{
80public:
83 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
84 {
85 return { { 175, 205, 117, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
86 }
87};
88
89
91{
92public:
95 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
96 {
97 return { { 72, 92, 22, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
98 }
99};
100
102{
103public:
106 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
107 {
108 return { { 185, 215, 107, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
109 }
110};
111
112
114{
115public:
118 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
119 {
120 return { { 110, 140, 77, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
121 }
122};
123
125{
126public:
129 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
130 {
131 return { { 45, 75, 47, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
132 }
133};
134
135
137{
138public:
141 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
142 { return { { 80, 110, 45, 1 } }; }
143};
144
145
147{
148public:
151 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
152 {
153 return { { 95, 125, 77, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
154 }
155};
156
158{
159public:
162 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
163 {
164 return { { 205, 235, 67, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
165 }
166};
167
169{
170public:
173 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
174 {
175 return { { 205, 235, 107, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
176 }
177};
178
180{
181public:
184 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
185 {
186 return { { 195, 225, 77, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
187 }
188};
189
190
192{
193public:
196 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
197 {
198 return { { 195, 225, 107, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
199 }
200};
201
202
211
213{
214public:
217 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
218 {
219 return { { 200, 230, 107, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
220 }
221};
222
223
225{
226public:
229 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
230 {
231 return { { 185, 215, 107, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
232 }
233};
234
236{
237public:
240 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
241 {
242 return { { 180, 210, 107, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
243 }
244};
245
247{
248public:
251 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
252 {
253 return { { 186, 206, 105, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
254 }
255};
256
257
259{
260public:
263 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
264 {
265 return { { 232, 272, 92, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
266 }
267};
268
269
271{
272public:
275 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
276 {
277 return { { 20, 40, 20, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
278 }
279};
280
281
283{
284public:
287 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
288 {
289 return { { 345, 375, 47, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
290 }
291};
292
293
295{
296public:
299 std::vector<DRC_RE_FIELD_POSITION> GetFieldPositions() const override
300 {
301 return { { 245, 275, 67, 1, wxS( "mm" ), LABEL_POSITION::RIGHT } };
302 }
303};
304
305
306#endif
BITMAPS
A list of all bitmap identifiers.
@ constraint_minimum_annular_width
@ constraint_minimum_via_diameter
@ constraint_hole_size
@ constraint_soldermask_expansion
@ constraint_minimum_uvia_hole
@ constraint_hole_to_hole_distance
@ constraint_hole_to_hole_clearance
@ constraint_maximum_allowed_deviation
@ constraint_creepage_distance
@ constraint_minimum_angular_ring
@ constraint_silk_to_soldermask_clearance
@ constraint_clearance
@ constraint_minimum_connection_width
@ constraint_copper_to_edge_clearance
@ constraint_minimum_uvia_diameter
@ constraint_solderpaste_expansion
@ constraint_maximum_via_count
@ constraint_minimum_soldermask_silver
@ constraint_silk_to_silk_clearance
@ constraint_minimum_thermal_relief_spoke_count
@ constraint_copper_to_hole_clearance
@ constraint_minimum_through_hole
@ constraint_minimum_clearance
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
std::vector< DRC_RE_FIELD_POSITION > GetFieldPositions() const override
Returns the field positions for controls overlaid on the constraint bitmap.
BITMAPS GetOverlayBitmap() const override
Returns the bitmap to use for the overlay panel background.
@ RIGHT
Label to the right of the field.