Commit 148aecf9 authored by Dick Hollenbeck's avatar Dick Hollenbeck

improved comments

parent 00052a60
......@@ -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:
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment