Horizon
3rd_party
router
router
pns_debug_decorator.h
1
/*
2
* KiRouter - a push-and-(sometimes-)shove PCB router
3
*
4
* Copyright (C) 2013-2016 CERN
5
* Copyright (C) 2016 KiCad Developers, see AUTHORS.txt for contributors.
6
* Author: Christian Gagneraud <chgans@gna.org>
7
*
8
* This program is free software: you can redistribute it and/or modify it
9
* under the terms of the GNU General Public License as published by the
10
* Free Software Foundation, either version 3 of the License, or (at your
11
* option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful, but
14
* WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License along
19
* with this program. If not, see <http://www.gnu.org/licenses/>.
20
*/
21
22
#ifndef __PNS_DEBUG_DECORATOR_H
23
#define __PNS_DEBUG_DECORATOR_H
24
25
#include <math/vector2d.h>
26
#include <math/box2.h>
27
#include <geometry/seg.h>
28
#include <geometry/shape_line_chain.h>
29
30
namespace
PNS {
31
32
class
DEBUG_DECORATOR
33
{
34
public
:
35
DEBUG_DECORATOR
()
36
{}
37
38
virtual
~
DEBUG_DECORATOR
()
39
{}
40
41
virtual
void
AddPoint(
VECTOR2I
aP,
int
aColor ) {};
42
virtual
void
AddLine(
const
SHAPE_LINE_CHAIN
& aLine,
int
aType = 0,
int
aWidth = 0 ) {};
43
virtual
void
AddSegment(
SEG
aS,
int
aColor ) {};
44
virtual
void
AddBox(
BOX2I
aB,
int
aColor ) {};
45
virtual
void
AddDirections(
VECTOR2D
aP,
int
aMask,
int
aColor ) {};
46
virtual
void
Clear() {};
47
};
48
49
}
50
51
#endif
VECTOR2< int >
PNS::DEBUG_DECORATOR
Definition:
pns_debug_decorator.h:33
BOX2< VECTOR2I >
SEG
Definition:
seg.h:37
SHAPE_LINE_CHAIN
Class SHAPE_LINE_CHAIN.
Definition:
shape_line_chain.h:50
Generated by
1.8.20