summaryrefslogtreecommitdiff
path: root/src/IGESGraph/IGESGraph_DrawingSize.cxx
blob: 9f813c9197232fe6d70e5131f9eac7a6956cb20c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//--------------------------------------------------------------------
//
//  File Name : IGESGraph_DrawingSize.cxx
//  Date      :
//  Author    : CKY / Contract Toubro-Larsen
//  Copyright : MATRA-DATAVISION 1993
//
//--------------------------------------------------------------------

#include <IGESGraph_DrawingSize.ixx>

    IGESGraph_DrawingSize::IGESGraph_DrawingSize ()    {  }


    void IGESGraph_DrawingSize::Init
  (const Standard_Integer nbProps, const Standard_Real aXSize, 
   const Standard_Real    aYSize)
{
  theNbPropertyValues = nbProps;
  theXSize            = aXSize;
  theYSize            = aYSize;
  InitTypeAndForm(406,16);
}


    Standard_Integer IGESGraph_DrawingSize::NbPropertyValues () const
{
  return theNbPropertyValues;
}

    Standard_Real IGESGraph_DrawingSize::XSize () const
{
  return theXSize;
}

    Standard_Real IGESGraph_DrawingSize::YSize () const
{
  return theYSize;
}