public void NotifyIndirectChange(Shape shape, ChangeAffects affected, RectangleF area) { Parent.NotifyIndirectChange(shape, affected, area); if ((affected & ChangeAffects.Bounds) > 0) { m_Bounds = Rectangle.Empty; } }
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); }
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); }
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); } }
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); } } }
public void NotifyIndirectChange(Shape shape, ChangeAffects affected, RectangleF area) { Parent.NotifyIndirectChange(shape, affected, area); }
public void NotifyIndirectChange(Shape shape, ChangeAffects affected) { Parent.NotifyIndirectChange(shape, affected); }
protected abstract void m_Page_ShapeNotifiedIndirectChange(Shape shape, ChangeAffects affected, RectangleF area);