コード例 #1
0
 public void setDimensions(double h, double w, units hunits, units wunits)
 {
     _desiredHeight = h;
     _desiredWidth  = w;
     _heightUnits   = hunits;
     _widthUnits    = wunits;
     _size          = findOptimalSize(_desiredHeight, hunits, _desiredWidth, wunits);
 }
コード例 #2
0
ファイル: RenderSpecs.cs プロジェクト: yarden/sbml2tikz
 public RenderSpecs(Layout layout)
 {
     _desiredHeight = layout.Dimensions.Height;
     _desiredWidth = layout.Dimensions.Width;
     _height = layout.Dimensions.Height;
     _width = layout.Dimensions.Width;
     _widthUnits = units.pts;
     _heightUnits = units.pts;
     setStandardPageSizes();
     _size = findOptimalSize(_desiredHeight, units.pts, _desiredWidth, units.pts);
 }
コード例 #3
0
 public RenderSpecs(Layout layout)
 {
     _desiredHeight = layout.Dimensions.Height;
     _desiredWidth  = layout.Dimensions.Width;
     _height        = layout.Dimensions.Height;
     _width         = layout.Dimensions.Width;
     _widthUnits    = units.pts;
     _heightUnits   = units.pts;
     setStandardPageSizes();
     _size = findOptimalSize(_desiredHeight, units.pts, _desiredWidth, units.pts);
 }
コード例 #4
0
ファイル: RenderSpecs.cs プロジェクト: yarden/sbml2tikz
 public void setDimensions(double h, double w, units hunits, units wunits)
 {
     _desiredHeight = h;
     _desiredWidth = w;
     _heightUnits = hunits;
     _widthUnits = wunits;
     _size = findOptimalSize(_desiredHeight, hunits, _desiredWidth, wunits);
 }