public AntialiasingMain() { InitializeComponent(); opaqueMatrixLenghtSqrt = Convert.ToInt32(Math.Sqrt(opaqueMatrix.Length)); widthRange = opaqueMatrixLenghtSqrt - 1; opaqueRange = 3.0 / 4.0 * opaqueMatrix.Length; }