2016-08-15 15:16:51 +00:00
|
|
|
/*
|
|
|
|
* KiRouter - a push-and-(sometimes-)shove PCB router
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013-2016 CERN
|
2016-08-29 14:38:11 +00:00
|
|
|
* Copyright (C) 2016 KiCad Developers, see AUTHORS.txt for contributors.
|
2016-08-15 15:16:51 +00:00
|
|
|
* Author: Christian Gagneraud <chgans@gna.org>
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation, either version 3 of the License, or (at your
|
|
|
|
* option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __PNS_DEBUG_DECORATOR_H
|
|
|
|
#define __PNS_DEBUG_DECORATOR_H
|
|
|
|
|
|
|
|
#include <math/vector2d.h>
|
|
|
|
#include <math/box2.h>
|
|
|
|
#include <geometry/seg.h>
|
|
|
|
#include <geometry/shape_line_chain.h>
|
|
|
|
|
2016-08-29 14:38:11 +00:00
|
|
|
namespace PNS {
|
|
|
|
|
2016-08-29 17:31:13 +00:00
|
|
|
class DEBUG_DECORATOR
|
2016-08-15 15:16:51 +00:00
|
|
|
{
|
|
|
|
public:
|
2016-08-29 17:31:13 +00:00
|
|
|
DEBUG_DECORATOR()
|
2016-08-15 15:16:51 +00:00
|
|
|
{}
|
|
|
|
|
2016-08-29 17:31:13 +00:00
|
|
|
virtual ~DEBUG_DECORATOR()
|
2016-08-15 15:16:51 +00:00
|
|
|
{}
|
|
|
|
|
2020-01-06 13:47:31 +00:00
|
|
|
virtual void AddPoint( VECTOR2I aP, int aColor, const std::string aName = "" ) {};
|
|
|
|
virtual void AddLine( const SHAPE_LINE_CHAIN& aLine, int aType = 0, int aWidth = 0, const std::string aName = "" ) {};
|
|
|
|
virtual void AddSegment( SEG aS, int aColor, const std::string aName = "" ) {};
|
|
|
|
virtual void AddBox( BOX2I aB, int aColor, const std::string aName = "" ) {};
|
|
|
|
virtual void AddDirections( VECTOR2D aP, int aMask, int aColor, const std::string aName = "" ) {};
|
2016-08-15 15:16:51 +00:00
|
|
|
virtual void Clear() {};
|
|
|
|
};
|
|
|
|
|
2016-08-29 14:38:11 +00:00
|
|
|
}
|
|
|
|
|
2016-08-15 15:16:51 +00:00
|
|
|
#endif
|