public Domain.Entities.Point fixPoint(Domain.Entities.Point point) { Domain.Entities.Point fixedPoint = new Domain.Entities.Point( ((int)Math.Round((double)point.X / Domain.Entities.Grid.PixelConvertor)) * Domain.Entities.Grid.PixelConvertor, ((int)Math.Round((double)point.Y / Domain.Entities.Grid.PixelConvertor)) * Domain.Entities.Grid.PixelConvertor ); return(fixedPoint); }
public WindowTest() { this.START_POINT = new Domain.Entities.Point(25, 25); this.END_POINT = new Domain.Entities.Point(25, 25); this.SENSE = "vertical"; this.NAME = "defecto"; this.direction = 0; this.WIDTH = 0.85f; this.HIGH = 2.20f; }