EDA_TEXT: rename GetEffectiveShape() to GetEffectiveTextShape() to avoid name aliasing with BOARD_ITEM inteface
This commit is contained in:
parent
35e45c5917
commit
6358995ff8
|
@ -617,7 +617,7 @@ void EDA_TEXT::TransformTextShapeToSegmentList( std::vector<wxPoint>& aCornerBuf
|
|||
}
|
||||
|
||||
|
||||
std::shared_ptr<SHAPE> EDA_TEXT::GetEffectiveShape( ) const
|
||||
std::shared_ptr<SHAPE> EDA_TEXT::GetEffectiveTextShape( ) const
|
||||
{
|
||||
std::shared_ptr<SHAPE_COMPOUND> shape ( new SHAPE_COMPOUND );
|
||||
int penWidth = GetEffectiveTextPenWidth();
|
||||
|
|
|
@ -293,7 +293,7 @@ public:
|
|||
void TransformBoundingBoxWithClearanceToPolygon( SHAPE_POLY_SET* aCornerBuffer,
|
||||
int aClearanceValue ) const;
|
||||
|
||||
std::shared_ptr<SHAPE> GetEffectiveShape( ) const;
|
||||
std::shared_ptr<SHAPE> GetEffectiveTextShape( ) const;
|
||||
|
||||
/**
|
||||
* Test if \a aPoint is within the bounds of this object.
|
||||
|
|
Loading…
Reference in New Issue