#include <memory>
#include <vector>
#include <unordered_map>
#include <units_provider.h>
#include <geometry/shape.h>
#include <drc/drc_rule.h>
Go to the source code of this file.
|
namespace | KIGFX |
| The Cairo implementation of the graphics abstraction layer.
|
|
◆ drc_dbg
◆ DRC_VIOLATION_HANDLER
◆ drcPrintDebugMessage()
void drcPrintDebugMessage |
( |
int |
level, |
|
|
const wxString & |
msg, |
|
|
const char * |
function, |
|
|
int |
line |
|
) |
| |
Definition at line 52 of file drc_engine.cpp.
53{
54 wxString valueStr;
55
56 if( wxGetEnv( wxT( "DRC_DEBUG" ), &valueStr ) )
57 {
58 int setLevel = wxAtoi( valueStr );
59
60 if( level <= setLevel )
61 printf( "%-30s:%d | %s\n", function, line, (const char *) msg.c_str() );
62 }
63}