KiCad PCB EDA Suite
Loading...
Searching...
No Matches
gerber_file_image.cpp File Reference

a GERBER class handle for a given layer info about used D_CODES and how the layer is drawn More...

#include <gerbview.h>
#include <gerbview_frame.h>
#include <gerber_file_image.h>
#include <macros.h>
#include <X2_gerber_attributes.h>
#include <algorithm>
#include <map>
#include <core/arraydim.h>
#include <core/profile.h>

Go to the source code of this file.

Functions

int scaletoIU (double aCoord, bool isMetric)
 Function scaletoIU converts a distance given in floating point to our internal units.
 

Detailed Description

a GERBER class handle for a given layer info about used D_CODES and how the layer is drawn

Definition in file gerber_file_image.cpp.

Function Documentation

◆ scaletoIU()

int scaletoIU ( double  aCoord,
bool  isMetric 
)

Function scaletoIU converts a distance given in floating point to our internal units.

Function scaletoIU converts a distance given in floating point to our internal units.

Convert a distance given in floating point to our internal units.

Definition at line 58 of file rs274_read_XY_and_IJ_coordinates.cpp.