Minor adjustments
This commit is contained in:
parent
ac94d72d2d
commit
07635d2fc7
|
@ -61,4 +61,4 @@ protected:
|
|||
void setDefaultLayerDeps(); ///> Sets rendering targets & dependencies for layers.
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // __SCH_DRAW_PANEL_H
|
||||
|
|
|
@ -254,7 +254,7 @@ float SCH_PAINTER::getShadowWidth() const
|
|||
|
||||
// For best visuals the selection width must be a cross between the zoom level and the
|
||||
// default line width.
|
||||
return (float) fabs( matrix.GetScale().x * 2.75 ) + Mils2iu( eeconfig()->m_Selection.thickness );
|
||||
return (float) std::fabs( matrix.GetScale().x * 2.75 ) + Mils2iu( eeconfig()->m_Selection.thickness );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -209,4 +209,4 @@ private:
|
|||
}; // namespace KIGFX
|
||||
|
||||
|
||||
#endif
|
||||
#endif // __SCH_PAINTER_H
|
||||
|
|
|
@ -475,7 +475,7 @@ bool BOARD_STACKUP::SynchronizeWithBoard( BOARD_DESIGN_SETTINGS* aSettings )
|
|||
}
|
||||
|
||||
// Transfer other stackup settings from aSettings
|
||||
BOARD_STACKUP& source_stackup = aSettings->GetStackupDescriptor();
|
||||
const BOARD_STACKUP& source_stackup = aSettings->GetStackupDescriptor();
|
||||
m_HasDielectricConstrains = source_stackup.m_HasDielectricConstrains;
|
||||
m_EdgeConnectorConstraints = source_stackup.m_EdgeConnectorConstraints;
|
||||
m_CastellatedPads = source_stackup.m_CastellatedPads;
|
||||
|
|
|
@ -684,7 +684,7 @@ public:
|
|||
/**
|
||||
* Checks if a given filled polygon is an insulated island
|
||||
* @param aLayer is the layer to test
|
||||
* @param aPolyIdx is an inndex into m_FilledPolysList[aLayer]
|
||||
* @param aPolyIdx is an index into m_FilledPolysList[aLayer]
|
||||
* @return true if the given polygon is insulated (i.e. has no net connection)
|
||||
*/
|
||||
bool IsIsland( PCB_LAYER_ID aLayer, int aPolyIdx ) const;
|
||||
|
|
|
@ -417,19 +417,19 @@ public:
|
|||
bool Matches( double aDrillDia, double aPosX, double aPosY ) const;
|
||||
|
||||
/**
|
||||
* Function GettDrillDia
|
||||
* Function GetDrillDia
|
||||
* returns the drill diameter in mm
|
||||
*/
|
||||
double GetDrillDia() const;
|
||||
|
||||
/**
|
||||
* Function GettDrillXPos
|
||||
* Function GetDrillXPos
|
||||
* returns the drill's X position in mm
|
||||
*/
|
||||
double GetDrillXPos() const;
|
||||
|
||||
/**
|
||||
* Function GettDrillYPos
|
||||
* Function GetDrillYPos
|
||||
* returns the drill's Y position in mm
|
||||
*/
|
||||
double GetDrillYPos() const;
|
||||
|
|
Loading…
Reference in New Issue