~cern-kicad/kicad/kicad-pns-tom

« back to all changes in this revision

Viewing changes to pagelayout_editor/class_pl_editor_layout.cpp

  • Committer: Maciej Suminski
  • Date: 2013-08-02 13:57:24 UTC
  • mfrom: (4024.1.238 kicad)
  • mto: This revision was merged to the branch mainline in revision 4221.
  • Revision ID: maciej.suminski@cern.ch-20130802135724-gix6orezshkukodv
Upstream merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * @file class_gbr_layout.cpp
 
3
 * @brief  PL_EDITOR_LAYOUT class functions.
 
4
 */
 
5
 
 
6
#include <limits.h>
 
7
#include <algorithm>
 
8
 
 
9
#include <fctsys.h>
 
10
#include <common.h>
 
11
#include <class_pl_editor_layout.h>
 
12
 
 
13
PL_EDITOR_LAYOUT::PL_EDITOR_LAYOUT()
 
14
{
 
15
    PAGE_INFO pageInfo( wxT( "A4" ) );
 
16
    SetPageSettings( pageInfo );
 
17
}
 
18
 
 
19
 
 
20
PL_EDITOR_LAYOUT::~PL_EDITOR_LAYOUT()
 
21
{
 
22
}
 
23
 
 
24
EDA_RECT PL_EDITOR_LAYOUT::ComputeBoundingBox()
 
25
{
 
26
    EDA_RECT bbox;
 
27
 
 
28
    SetBoundingBox( bbox );
 
29
    return bbox;
 
30
}