KiCad PCB EDA Suite
Loading...
Searching...
No Matches
gfx_import_utils.h File Reference
#include <unordered_map>
#include <geometry/shape_poly_set.h>
#include <wx/image.h>
#include <lib_symbol.h>

Go to the source code of this file.

Functions

std::unordered_map< uint32_t, SHAPE_POLY_SETConvertImageToPolygons (wxImage img, VECTOR2D pixelScale)
 
void ConvertImageToLibShapes (LIB_SYMBOL *aSymbol, int unit, wxImage img, VECTOR2D pixelScale, VECTOR2D offset)
 

Function Documentation

◆ ConvertImageToLibShapes()

void ConvertImageToLibShapes ( LIB_SYMBOL aSymbol,
int  unit,
wxImage  img,
VECTOR2D  pixelScale,
VECTOR2D  offset 
)

◆ ConvertImageToPolygons()

std::unordered_map< uint32_t, SHAPE_POLY_SET > ConvertImageToPolygons ( wxImage  img,
VECTOR2D  pixelScale 
)