KiCad PCB EDA Suite
pns_debug_decorator.h
Go to the documentation of this file.
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>
29 
30 namespace PNS {
31 
33 {
34 public:
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
virtual void AddPoint(VECTOR2I aP, int aColor)
virtual void AddBox(BOX2I aB, int aColor)
virtual void AddDirections(VECTOR2D aP, int aMask, int aColor)
virtual void AddLine(const SHAPE_LINE_CHAIN &aLine, int aType=0, int aWidth=0)
virtual void AddSegment(SEG aS, int aColor)
Definition: seg.h:36
Class SHAPE_LINE_CHAIN.
Push and Shove diff pair dimensions (gap) settings dialog.