23#ifndef BITMAP2CMP_PANEL_H
24#define BITMAP2CMP_PANEL_H
93 bool OpenProjectFiles(
const std::vector<wxString>& aFilenames,
int aCtl = 0 );
95 void OnLoadFile( wxCommandEvent& event )
override;
117 void OnPaintBW( wxPaintEvent& event )
override;
Class BITMAP2CMP_PANEL_BASE.
void OnPaintGreyscale(wxPaintEvent &event) override
void SetOutputSize(const IMAGE_SIZE &aSizeX, const IMAGE_SIZE &aSizeY)
void OnSizeUnitChange(wxCommandEvent &event) override
void OnSizeChangeX(wxCommandEvent &event) override
void OnPaintInit(wxPaintEvent &event) override
void Binarize(double aThreshold)
void OnExportToClipboard(wxCommandEvent &event) override
void LoadSettings(BITMAP2CMP_SETTINGS *aCfg)
wxImage m_Greyscale_Image
wxString FormatOutputSize(double aSize)
IMAGE_SIZE GetOutputSizeX() const
void ToggleAspectRatioLock(wxCommandEvent &event) override
bool OpenProjectFiles(const std::vector< wxString > &aFilenames, int aCtl=0)
wxWindow * GetCurrentPage()
void NegateGreyscaleImage()
void OnExportToFile(wxCommandEvent &event) override
void SaveSettings(BITMAP2CMP_SETTINGS *aCfg)
IMAGE_SIZE GetOutputSizeY() const
void OnThresholdChange(wxScrollEvent &event) override
void ExportToBuffer(std::string &aOutput, OUTPUT_FMT_ID aFormat)
generate a export data of the current bitmap.
BITMAP2CMP_FRAME * m_parentFrame
void OnFormatChange(wxCommandEvent &event) override
void OnLoadFile(wxCommandEvent &event) override
wxBitmap m_Greyscale_Bitmap
EDA_UNITS getUnitFromSelection()
void OnNegativeClicked(wxCommandEvent &event) override
void OnPaintBW(wxPaintEvent &event) override
void exportBitmap(OUTPUT_FMT_ID aFormat)
void OnSizeChangeY(wxCommandEvent &event) override
void SetUnit(EDA_UNITS aUnit)
void SetOriginalDPI(int aDPI)
int GetOriginalSizePixels()
void SetOutputSizeFromInitialImageSize()
void SetOutputSize(double aSize, EDA_UNITS aUnit)
void SetOriginalSizePixels(int aPixels)