KiCad PCB EDA Suite
|
#include <bitmap2cmp_panel.h>
Public Member Functions | |
IMAGE_SIZE () | |
void | SetUnit (EDA_UNITS aUnit) |
void | SetOriginalDPI (int aDPI) |
void | SetOriginalSizePixels (int aPixels) |
double | GetOutputSize () |
void | SetOutputSize (double aSize, EDA_UNITS aUnit) |
int | GetOriginalSizePixels () |
void | SetOutputSizeFromInitialImageSize () |
int | GetOutputDPI () |
Private Attributes | |
EDA_UNITS | m_unit |
double | m_outputSize |
int | m_originalDPI |
int | m_originalSizePixels |
Definition at line 34 of file bitmap2cmp_panel.h.
IMAGE_SIZE::IMAGE_SIZE | ( | ) |
Definition at line 50 of file bitmap2cmp_frame.cpp.
References DEFAULT_DPI, m_originalDPI, m_originalSizePixels, m_outputSize, and m_unit.
|
inline |
Definition at line 65 of file bitmap2cmp_panel.h.
References m_originalSizePixels.
Referenced by GetOutputDPI(), and SetOutputSizeFromInitialImageSize().
int IMAGE_SIZE::GetOutputDPI | ( | ) |
Definition at line 74 of file bitmap2cmp_frame.cpp.
References GetOriginalSizePixels(), KiROUND(), m_outputSize, and m_unit.
Referenced by BITMAP2CMP_PANEL::ExportToBuffer().
|
inline |
Definition at line 54 of file bitmap2cmp_panel.h.
References m_outputSize.
Referenced by BITMAP2CMP_PANEL::BITMAP2CMP_PANEL(), BITMAP2CMP_PANEL::OnSizeChangeX(), BITMAP2CMP_PANEL::OnSizeChangeY(), BITMAP2CMP_PANEL::OnSizeUnitChange(), BITMAP2CMP_PANEL::OpenProjectFiles(), and BITMAP2CMP_PANEL::SetOutputSize().
|
inline |
Definition at line 44 of file bitmap2cmp_panel.h.
References m_originalDPI.
Referenced by BITMAP2CMP_PANEL::OpenProjectFiles().
|
inline |
Definition at line 49 of file bitmap2cmp_panel.h.
References m_originalSizePixels.
Referenced by BITMAP2CMP_PANEL::OpenProjectFiles().
|
inline |
Definition at line 59 of file bitmap2cmp_panel.h.
References m_outputSize, and m_unit.
Referenced by BITMAP2CMP_PANEL::BITMAP2CMP_PANEL(), BITMAP2CMP_PANEL::OnSizeChangeX(), and BITMAP2CMP_PANEL::OnSizeChangeY().
void IMAGE_SIZE::SetOutputSizeFromInitialImageSize | ( | ) |
Definition at line 59 of file bitmap2cmp_frame.cpp.
References GetOriginalSizePixels(), m_originalDPI, m_outputSize, and m_unit.
Referenced by BITMAP2CMP_PANEL::OpenProjectFiles().
void IMAGE_SIZE::SetUnit | ( | EDA_UNITS | aUnit | ) |
Definition at line 92 of file bitmap2cmp_frame.cpp.
References m_originalSizePixels, m_outputSize, and m_unit.
Referenced by BITMAP2CMP_PANEL::BITMAP2CMP_PANEL(), and BITMAP2CMP_PANEL::OnSizeUnitChange().
|
private |
Definition at line 82 of file bitmap2cmp_panel.h.
Referenced by IMAGE_SIZE(), SetOriginalDPI(), and SetOutputSizeFromInitialImageSize().
|
private |
Definition at line 83 of file bitmap2cmp_panel.h.
Referenced by GetOriginalSizePixels(), IMAGE_SIZE(), SetOriginalSizePixels(), and SetUnit().
|
private |
Definition at line 80 of file bitmap2cmp_panel.h.
Referenced by GetOutputDPI(), GetOutputSize(), IMAGE_SIZE(), SetOutputSize(), SetOutputSizeFromInitialImageSize(), and SetUnit().
|
private |
Definition at line 79 of file bitmap2cmp_panel.h.
Referenced by GetOutputDPI(), IMAGE_SIZE(), SetOutputSize(), SetOutputSizeFromInitialImageSize(), and SetUnit().