|
@@ -97,8 +97,6 @@ namespace SketchAssistantWPF
|
|
|
|
|
|
List<Point> currentLine = new List<Point>();
|
|
|
|
|
|
- RedrawManager redrawMan;
|
|
|
-
|
|
|
public MVP_Model(MVP_Presenter presenter)
|
|
|
{
|
|
|
programPresenter = presenter;
|
|
@@ -220,7 +218,6 @@ namespace SketchAssistantWPF
|
|
|
{
|
|
|
leftImageSize = new ImageDimension(width, height);
|
|
|
rightImageSize = new ImageDimension(width, height);
|
|
|
- redrawMan = new RedrawManager(listOfLines);
|
|
|
leftLineList = listOfLines;
|
|
|
graphicLoaded = true;
|
|
|
programPresenter.UpdateLeftLines(leftLineList);
|
|
@@ -388,10 +385,6 @@ namespace SketchAssistantWPF
|
|
|
{
|
|
|
currentLine.Add(currentCursorPosition);
|
|
|
//programPresenter.UpdateCurrentLine(currentLine);
|
|
|
- if (redrawMan != null)
|
|
|
- {
|
|
|
- Console.WriteLine("ANGLE {0}", redrawMan.GetDirection(currentCursorPosition));
|
|
|
- }
|
|
|
}
|
|
|
//Deleting
|
|
|
if (!inDrawingMode && programPresenter.IsMousePressed())
|