Browse Source

优化

tags/录制修改前
zhangxueyang 4 years ago
parent
commit
35d235fa32
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      Common/system/BlackboardNew.cs

+ 4
- 3
Common/system/BlackboardNew.cs View File

277
                         m_canvas.Strokes.Clear();
277
                         m_canvas.Strokes.Clear();
278
                     }
278
                     }
279
 
279
 
280
-                    m_canvas.Strokes.Add(page.lines.Last().lines_curr);
280
+                   
281
 
281
 
282
 
282
 
283
                     StrokeCollection strokes = new StrokeCollection();
283
                     StrokeCollection strokes = new StrokeCollection();
293
                     stylusPoint.Y = 213;
293
                     stylusPoint.Y = 213;
294
                     stylusPoints.Add(stylusPoint);
294
                     stylusPoints.Add(stylusPoint);
295
                     stroke = new Stroke(stylusPoints);
295
                     stroke = new Stroke(stylusPoints);
296
-
296
+                    page.lines.Last().lines_curr.Add(stroke);
297
+                    m_canvas.Strokes.Add(page.lines.Last().lines_curr);
297
                     //stylusPoint.X = 586;
298
                     //stylusPoint.X = 586;
298
                     //stylusPoint.Y = 214;
299
                     //stylusPoint.Y = 214;
299
                     //stylusPoints.Add(stylusPoint);
300
                     //stylusPoints.Add(stylusPoint);
324
                     //drawingAttributes.FitToCurve = true;
325
                     //drawingAttributes.FitToCurve = true;
325
                     //drawingAttributes.IgnorePressure = false;
326
                     //drawingAttributes.IgnorePressure = false;
326
                     //stroke.DrawingAttributes = drawingAttributes;
327
                     //stroke.DrawingAttributes = drawingAttributes;
327
-                    m_canvas.Strokes.Add(stroke);
328
+                    //m_canvas.Strokes.Add(stroke);
328
                 }
329
                 }
329
             }
330
             }
330
         }
331
         }

Loading…
Cancel
Save