35 m_offsetX( aParent, m_stOffsetX, m_tcOffsetX, m_stUnitX, true ),
36 m_offsetY( aParent, m_stOffsetY, m_tcOffsetY, m_stUnitY, true ),
37 m_rotation( aParent, m_stLayerRot, m_tcRotation, m_stUnitRot, true )
66 std::vector <GERBER_FILE_IMAGE*> gbrCandidates;
76 gbrCandidates.push_back( gbrImage );
81 for(
unsigned layer = 0; layer < images->
ImagesMaxCount(); ++layer )
86 gbrCandidates.push_back( gbrImage );
91 for(
unsigned layer = 0; layer < images->
ImagesMaxCount(); ++layer )
96 gbrCandidates.push_back( gbrImage );
102 for(
unsigned ii = 0; ii < gbrCandidates.size(); ++ii )
104 gbrImage = gbrCandidates[ii];
constexpr EDA_IU_SCALE gerbIUScale
Class DIALOG_DRAW_LAYERS_SETTINGS_BASE.
wxStaticText * m_stLayerName
DIALOG_DRAW_LAYERS_SETTINGS(GERBVIEW_FRAME *aParent)
bool TransferDataFromWindow() override
Update layerset basing on the selected layers.
bool TransferDataToWindow() override
GERBVIEW_FRAME * m_parent
void SetupStandardButtons(std::map< int, wxString > aLabels={})
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
GERBER_FILE_IMAGE_LIST * GetImagesList() const
GERBER_FILE_IMAGE_LIST is a helper class to handle a list of GERBER_FILE_IMAGE files which are loaded...
unsigned ImagesMaxCount()
GERBER_FILE_IMAGE * GetGbrImage(int aIdx)
Hold the image data and parameters for one gerber file and layer parameters.
void SetDrawOffetAndRotation(VECTOR2D aOffsetMM, EDA_ANGLE aRotation)
Set the offset and rotation to draw a file image Does not change any coordinate od draw items.
EDA_ANGLE m_DisplayRotation
wxString m_FileName
Full File Name for this layer.
VECTOR2I m_DisplayOffset
< Parameters used only to draw (display) items on this layer.
bool IsLayerVisible(int aLayer) const
Test whether a given layer is visible.
GBR_LAYOUT * GetGerberLayout() const
int GetActiveLayer() const
Return the active layer.
GERBER_FILE_IMAGE * GetGbrImage(int aIdx) const
virtual long long int GetValue()
Return the current value in Internal Units.
virtual void SetPrecision(int aLength)
Normally not needed, but can be used to set the precision when using internal units that are floats (...
virtual void SetUnits(EDA_UNITS aUnits)
Normally not needed (as the UNIT_BINDER inherits from the parent frame), but can be used to set to DE...
virtual EDA_ANGLE GetAngleValue()
virtual void SetValue(long long int aValue)
Set new value (in Internal Units) for the text field, taking care of units conversion.
VECTOR2< double > VECTOR2D