improved comments

This commit is contained in:
Dick Hollenbeck 2012-01-05 12:16:21 -06:00
parent 00052a60c9
commit 148aecf963
2 changed files with 5 additions and 9 deletions

View File

@ -299,6 +299,7 @@ void PAGE_INFO::SetUserWidthMils( int aWidthInMils )
s_user_width = aWidthInMils;
}
void PAGE_INFO::SetUserHeightMils( int aHeightInMils )
{
if( aHeightInMils < 4000 )
@ -309,7 +310,6 @@ void PAGE_INFO::SetUserHeightMils( int aHeightInMils )
s_user_height = aHeightInMils;
}
//-----</PAGE_INFO>------------------------------------------------------------
@ -541,7 +541,6 @@ wxArrayString* wxStringSplit( wxString aString, wxChar aSplitter )
*/
double To_User_Unit( EDA_UNITS_T aUnit, double val, int internal_unit_value )
{
switch( aUnit )
{
case MILLIMETRES:

View File

@ -123,8 +123,6 @@ enum EDA_UNITS_T {
class LibNameList;
//class PAGE_INFO;
/**
* Class PAGE_INFO
* describes the page size and margins of a paper page on which to
@ -197,13 +195,15 @@ public:
/**
* Function SetUserWidthMils
* sets the width of type "User" page in mils.
* sets the width of type "User" page in mils, for any type "User" page
* constructed or made via SetType() after making this call.
*/
static void SetUserWidthMils( int aWidthInMils );
/**
* Function SetUserHeightMils
* sets the height type "User" page in mils.
* sets the height type "User" page in mils, for any type "User" page
* constructed or made via SetType() after making this call.
*/
static void SetUserHeightMils( int aHeightInMils );
@ -232,11 +232,8 @@ private:
// all dimensions here are in mils
wxString m_type; ///< paper type: A4, A3, etc.
wxSize m_size; ///< mils
// wxPoint m_offset_mils; ///< plot offset in mils
int m_left_margin;
int m_right_margin;
int m_top_margin;