/// static FromControl Methods (relative to the control) static public RectangleDoubleUnit FromControl(Control ctl, Padding pad) { return(new RectangleDoubleUnit(DoublePoint.GetPaddingTopLeft(pad), DoublePoint.GetClientSize(ctl) - DoublePoint.GetPaddingOffset(pad))); }
/// static FromControl Methods (relative to the control) static public RectangleDoubleUnit FromClientInfo(DoublePoint ClientSize, Padding pad) { return(new RectangleDoubleUnit(DoublePoint.GetPaddingTopLeft(pad), ClientSize - DoublePoint.GetPaddingOffset(pad))); }