KiCad PCB EDA Suite
Loading...
Searching...
No Matches
bitmap_import_plugin.cpp File Reference
#include "bitmap_import_plugin.h"
#include <eda_item.h>
#include "graphics_importer.h"
#include <bitmap_tracing.h>
#include <math/util.h>
#include <reporter.h>
#include <wx/log.h>
#include <wx/mstream.h>

Go to the source code of this file.

Functions

static int imageResolution (const wxImage &aImage, const wxString &aOption, int aDefault)
 

Variables

static const double MM_PER_INCH = 25.4
 
static const double TRACE_SUBUNITS = 1000.0
 Sub units per pixel while tracing. A whole pixel is too coarse a step for the integer tracer.
 

Function Documentation

◆ imageResolution()

static int imageResolution ( const wxImage & aImage,
const wxString & aOption,
int aDefault )
static

Variable Documentation

◆ MM_PER_INCH

const double MM_PER_INCH = 25.4
static

◆ TRACE_SUBUNITS

const double TRACE_SUBUNITS = 1000.0
static

Sub units per pixel while tracing. A whole pixel is too coarse a step for the integer tracer.

Definition at line 35 of file bitmap_import_plugin.cpp.

Referenced by BITMAP_IMPORT_PLUGIN::Import().