| 
    KiCad PCB EDA Suite
    
   | 
 
#include <trigo.h>#include <convert_basic_shapes_to_polygon.h>#include <math/util.h>#include <gerbview.h>#include <gerber_file_image.h>Go to the source code of this file.
Functions | |
| int | scaletoIU (double aCoord, bool isMetric) | 
| Convert a distance given in floating point to our internal units.   | |
| static VECTOR2I | mapPt (double x, double y, bool isMetric) | 
| Translate a point from the aperture macro coordinate system to our deci-mils coordinate system.   | |
      
  | 
  static | 
Translate a point from the aperture macro coordinate system to our deci-mils coordinate system.
Definition at line 50 of file am_primitive.cpp.
References scaletoIU().
Referenced by AM_PRIMITIVE::ConvertBasicShapeToPolygon(), and AM_PRIMITIVE::ConvertShapeToPolygon().
      
  | 
  extern | 
Convert 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.
References GERB_IU_PER_MM, and KiROUND().
Referenced by AM_PRIMITIVE::ConvertBasicShapeToPolygon(), AM_PRIMITIVE::ConvertShapeToPolygon(), mapPt(), GERBER_FILE_IMAGE::ReadIJCoord(), GERBER_FILE_IMAGE::ReadXYCoord(), and GERBER_FILE_IMAGE::StepAndRepeatItem().