UMD.HCIL.Piccolo.PNode.RepaintFrom C# (CSharp) Method

RepaintFrom() public method

Pass the given repaint request up the tree, so that any cameras can invalidate that region on their associated canvas.
public RepaintFrom ( RectangleF bounds, PNode childOrThis ) : void
bounds System.Drawing.RectangleF /// The bounds to repaint, specified in the local coordinate system. ///
childOrThis PNode /// If childOrThis does not equal this then this node's matrix will /// be applied to the bounds paramater. ///
return void
		public virtual void RepaintFrom(RectangleF bounds, PNode childOrThis) {
			if (parent != null) {
				if (childOrThis != this) {
					bounds = LocalToParent(bounds);
				} else if (!Visible) {
					return;
				}
				parent.RepaintFrom(bounds, this);
			}
		}
		#endregion