23 #ifndef BITMOP2CMP_GUI_H_ 24 #define BITMOP2CMP_GUI_H_ 30 #include <potracelib.h> 92 bool OpenProjectFiles(
const std::vector<wxString>& aFilenames,
int aCtl = 0 )
override;
98 void OnPaintBW( wxPaintEvent& event )
override;
99 void OnLoadFile( wxCommandEvent& event )
override;
175 #endif// BITMOP2CMP_GUI_H_ wxBitmap m_Greyscale_Bitmap
wxImage m_Greyscale_Image
void OnExportToFile(wxCommandEvent &event) override
void exportPcbnewFormat()
Generate a footprint in S expr format.
void OnPaintInit(wxPaintEvent &event) override
void SetOriginalSizePixels(int aPixels)
void OnExportLogo()
Generate a file suitable to be copied into a page layout description file (.kicad_wks file.
void SetUnit(EDA_UNITS aUnit)
void OnPaintGreyscale(wxPaintEvent &event) override
int GetOriginalSizePixels()
wxString m_ConvertedFileName
void LoadSettings(APP_SETTINGS_BASE *aCfg) override
Load common frame parameters from a configuration file.
void SetOutputSize(double aSize, EDA_UNITS aUnit)
void OnExportToClipboard(wxCommandEvent &event) override
void OnPaintBW(wxPaintEvent &event) override
void SetOriginalDPI(int aDPI)
APP_SETTINGS_BASE is a settings class that should be derived for each standalone KiCad application.
void OnFormatChange(wxCommandEvent &event) override
void OnThresholdChange(wxScrollEvent &event) override
void OnLoadFile(wxCommandEvent &event) override
void exportEeschemaFormat()
Generate a schematic library which contains one component: the logo.
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...
wxString FormatOutputSize(double aSize)
void OnSizeUnitChange(wxCommandEvent &event) override
void OnSizeChangeY(wxCommandEvent &event) override
EDA_UNITS getUnitFromSelection()
BM2CMP_FRAME(KIWAY *aKiway, wxWindow *aParent)
void OnSizeChangeX(wxCommandEvent &event) override
void ToggleAspectRatioLock(wxCommandEvent &event) override
void NegateGreyscaleImage()
void SaveSettings(APP_SETTINGS_BASE *aCfg) override
Save common frame parameters to a configuration data file.
wxString m_BitmapFileName
void Binarize(double aThreshold)
void SetOutputSizeFromInitialImageSize()
void exportBitmap(OUTPUT_FMT_ID aFormat)
bool OpenProjectFiles(const std::vector< wxString > &aFilenames, int aCtl=0) override
Open a project or set of files given by aFileList.
wxWindow * GetToolCanvas() const override
Canvas access.
void ExportToBuffer(std::string &aOutput, OUTPUT_FMT_ID aFormat)
generate a export data of the current bitmap.
void exportPostScriptFormat()
Generate a postscript file.
void OnNegativeClicked(wxCommandEvent &event) override