24 #ifndef BITMAP2COMPONENT_H 25 #define BITMAP2COMPONENT_H 28 #include <potracelib.h> 113 #endif // BITMAP2COMPONENT_H
std::string & GetErrorMessages()
BITMAPCONV_INFO(std::string &aData)
void createOutputData(BMP2CMP_MOD_LAYER aModLayer=(BMP2CMP_MOD_LAYER) 0)
Creates the data specified by m_Format.
enum OUTPUT_FMT_ID m_Format
void outputDataHeader(const char *aBrdLayerName)
Function outputDataHeader write to file the header depending on file format.
const char * getBoardLayerName(BMP2CMP_MOD_LAYER aChoice)
void outputDataEnd()
Function outputDataEnd write to file the last strings depending on file format.
void outputOnePolygon(SHAPE_LINE_CHAIN &aPolygon, const char *aBrdLayerName)
Function outputOnePolygon write one polygon to output file.
Represent a polyline containing arcs as well as line segments: A chain of connected line and/or arc s...
int ConvertBitmap(potrace_bitmap_t *aPotrace_bitmap, OUTPUT_FMT_ID aFormat, int aDpi_X, int aDpi_Y, BMP2CMP_MOD_LAYER aModLayer)
Run the conversion of the bitmap.