Formatting.

This commit is contained in:
Jeff Young 2022-10-22 13:59:32 +01:00
parent 63002cec57
commit 96fed676a3
1 changed files with 13 additions and 32 deletions

View File

@ -139,6 +139,7 @@ public:
void SetPosition( const VECTOR2I& aPos ) override { SetStart( aPos ); }
const BOX2I GetBoundingBox() const override;
bool HitTest( const VECTOR2I& aPosition, int aAccuracy = 0 ) const override;
void PrintWsItem( const RENDER_SETTINGS* aSettings, const VECTOR2I& aOffset ) override;
@ -360,6 +361,7 @@ public:
bool HitTest( const VECTOR2I& aPosition, int aAccuracy = 0 ) const override;
bool HitTest( const BOX2I& aRect, bool aContained, int aAccuracy = 0 ) const override;
const BOX2I GetBoundingBox() const override;
wxString GetSelectMenuText( UNITS_PROVIDER* aUnitsProvider ) const override;
@ -424,34 +426,22 @@ public:
/**
* Set the filename to draw/plot
*/
void SetFileName( const wxString& aFileName )
{
m_fileName = aFileName;
}
void SetFileName( const wxString& aFileName ) { m_fileName = aFileName; }
/**
* Set the sheet name to draw/plot
*/
void SetSheetName( const wxString& aSheetName )
{
m_sheetName = aSheetName;
}
void SetSheetName( const wxString& aSheetName ) { m_sheetName = aSheetName; }
/**
* Set the sheet path to draw/plot
*/
void SetSheetPath( const wxString& aSheetPath )
{
m_sheetPath = aSheetPath;
}
void SetSheetPath( const wxString& aSheetPath ) { m_sheetPath = aSheetPath; }
/**
* Set the sheet layer to draw/plot
*/
void SetSheetLayer( const wxString& aSheetLayer )
{
m_sheetLayer = &aSheetLayer;
}
void SetSheetLayer( const wxString& aSheetLayer ) { m_sheetLayer = &aSheetLayer; }
void SetDefaultPenSize( int aPenSize ) { m_penSize = aPenSize; }
int GetDefaultPenSize() const { return m_penSize; }
@ -459,10 +449,7 @@ public:
/**
* Set the scalar to convert pages units (mils) to draw/plot units
*/
void SetMilsToIUfactor( double aMils2Iu )
{
m_milsToIu = aMils2Iu;
}
void SetMilsToIUfactor( double aMils2Iu ) { m_milsToIu = aMils2Iu; }
/**
* Get the scalar to convert pages units (mils) to draw/plot units
@ -472,10 +459,7 @@ public:
/**
* Set the value of the sheet number.
*/
void SetPageNumber( const wxString& aPageNumber )
{
m_pageNumber = aPageNumber;
}
void SetPageNumber( const wxString& aPageNumber ) { m_pageNumber = aPageNumber; }
/**
* Set if the page is the first page.
@ -485,10 +469,7 @@ public:
/**
* Set the value of the count of sheets, for basic inscriptions
*/
void SetSheetCount( int aSheetCount )
{
m_sheetCount = aSheetCount;
}
void SetSheetCount( int aSheetCount ) { m_sheetCount = aSheetCount; }
void Append( DS_DRAW_ITEM_BASE* aItem )
{