Example #1
0
 public void NotifyIndirectChange(Shape shape, ChangeAffects affected, RectangleF area)
 {
     Parent.NotifyIndirectChange(shape, affected, area);
     if ((affected & ChangeAffects.Bounds) > 0)
     {
         m_Bounds = Rectangle.Empty;
     }
 }
Example #2
0
 public void NotifyIndirectChange(Shape shape, ChangeAffects affected, RectangleF area)
 {
     // just passes along the notification to its container
     affected = affected & ~(ChangeAffects.GrabSpots);
     if (affected == 0 || Parent == null)
     {
         return;
     }
     Parent.NotifyIndirectChange(shape, affected, area);
 }
Example #3
0
 public void NotifyIndirectChange(Shape shape, ChangeAffects affected)
 {
     // just passes along the notification to its container
     affected = affected & ~(ChangeAffects.GrabSpots);
     if (affected == 0 || Parent == null)
     {
         return;                 // Parent can be null - if this is floating to be placed
     }
     Parent.NotifyIndirectChange(shape, affected);
 }
Example #4
0
 public void NotifyIndirectChange(Shape shape, ChangeAffects affected)
 {
     if ((affected & ChangeAffects.Bounds) > 0)
     {
         m_Bounds = Rectangle.Empty;
     }
     Parent.NotifyIndirectChange(shape, affected);
     if ((affected & ChangeAffects.GrabSpots) > 0 && shape == Element)            // page only responds if the element with grabspots is mentioned - but grabspots here came from Element, even if they are technically on this shape
     {
         Parent.NotifyIndirectChange(this, ChangeAffects.GrabSpots);
     }
 }
Example #5
0
 protected override void m_Page_ShapeNotifiedIndirectChange(Shape shape, ChangeAffects affected, RectangleF area)
 {
     if ((affected & ChangeAffects.RepaintNeeded) > 0)
     {
         if (area.IsEmpty)
         {
             InvalidateData(shape.RefreshBounds(false), InvalidationBuffer.All);
         }
         else
         {
             InvalidateData(area, InvalidationBuffer.All);
         }
     }
 }
Example #6
0
 public void NotifyIndirectChange(Shape shape, ChangeAffects affected, RectangleF area)
 {
     Parent.NotifyIndirectChange(shape, affected, area);
 }
Example #7
0
 public void NotifyIndirectChange(Shape shape, ChangeAffects affected)
 {
     Parent.NotifyIndirectChange(shape, affected);
 }
Example #8
0
 protected abstract void m_Page_ShapeNotifiedIndirectChange(Shape shape, ChangeAffects affected, RectangleF area);