63 lines
1.8 KiB
C#
63 lines
1.8 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Treko
|
|
{
|
|
public class BigFrame
|
|
{
|
|
int _width;
|
|
int _height;
|
|
|
|
public int Width
|
|
{
|
|
get { return _width; }
|
|
set { _width = value; }
|
|
}
|
|
|
|
public int Height
|
|
{
|
|
get { return _height; }
|
|
set { _height = value; }
|
|
}
|
|
|
|
BigFrame()
|
|
{
|
|
}
|
|
|
|
public BigFrame(int Width, int Height)
|
|
{
|
|
_width = Width;
|
|
_height = Height;
|
|
}
|
|
|
|
//public BigFrame()
|
|
//{
|
|
|
|
//tbRadMM.Text = Convert.ToString(R);
|
|
////ScrolRadius.Value = R * fW / FrameW;
|
|
//PicWPix = Convert.ToDouble(pictureBox1.Width);
|
|
//PicHPix = Convert.ToDouble(pictureBox1.Height);
|
|
//tbColumns.Text = Convert.ToString(Math.Ceiling(LayerW / FW));
|
|
//tbEndCols.Text = Convert.ToString(Math.Ceiling(LayerW / FW));
|
|
//tbRows.Text = Convert.ToString(Math.Ceiling(LayerH / FH));
|
|
//tbEndRows.Text = Convert.ToString(Convert.ToInt64(Math.Ceiling(LayerH / FH)));
|
|
//ColsBig = Convert.ToInt64(Math.Ceiling((LayerW + FrameW) / FW));
|
|
//RowsBig = Convert.ToInt64(Math.Ceiling(LayerH / FH));
|
|
//ColsFEven = Math.Ceiling((LayerW + FrameW / 2) / FrameW);
|
|
//ColsFOdd = Math.Ceiling((LayerW + FrameW) / FrameW);
|
|
//RowsF = Math.Ceiling(LayerH / FrameH);
|
|
////Step = PicW / Convert.ToDouble(pictureBox1.Width);
|
|
////step = Convert.ToInt32(Step * Convert.ToDouble(fW) / FrameW);
|
|
//tbStepPix.Text = Convert.ToString(step);
|
|
//trackBar1.Value = step;
|
|
|
|
|
|
//}
|
|
|
|
|
|
}
|
|
}
|