public MajorMinor(Size size, Orientation o) { switch (o) { case Orientation.Horizontal: this.major = size.Width; this.minor = size.Height; return; } this.major = size.Height; this.minor = size.Width; }
internal static Size Scale(Size size, float flScale) { Size size2 = size; size2.Scale(flScale); return size2; }
internal static Size Min(Size sz1, Size sz2) { return new Size(Math.Min(sz1.Width, sz2.Width), Math.Min(sz1.Height, sz2.Height)); }
public static Size Subtract(Size left, Size right) { return (left - right); }
public static Size Add(Size left, Size right) { return (left + right); }
static Size() { Empty = Zero; EmptyObject = new Size(); Zero = new Size(0, 0); }
void ILayout.Layout(ILayoutParentAgent laSubject, Constraint constraint, out Size sizeUsed) { sizeUsed = new Size(); //object[] mParam = new object[] { laSubject, constraint, sizeUsed }; //this._flowLayout.GetType().InvokeMember("Layout", BindingFlags.InvokeMethod, null, this._flowLayout, mParam); }
internal Point(Size size) { this.m_x = size.Width; this.m_y = size.Height; }
public Constraint(Size sizeMax, Size sizeMin, Rectangle rcView, Rectangle rcViewPeripheral, float flPageStep) { //this.m_sizeMax = sizeMax; //this.m_sizeMin = sizeMin; //this.m_rcView = rcView; //this.m_rcPeripheralView = rcViewPeripheral; //this.m_flPageStep = flPageStep; //this.m_fView = true; }
public Size Clamp(Size size) { return new Size(); }
public Constraint(Size sizeMax, Size sizeMin, Rectangle rcView) { }
public Constraint(Size sizeMax, Size sizeMin) { //this.m_sizeMax = sizeMax; //this.m_sizeMin = sizeMin; //this.m_fView = false; //this.m_rcView = this.m_rcPeripheralView = Rectangle.Empty; //this.m_flPageStep = 0f; }
//private Size m_sizeMax; //private Size m_sizeMin; //private Rectangle m_rcView; //private Rectangle m_rcPeripheralView; //private float m_flPageStep; //private bool m_fView; public Constraint(Size sizeMax) { }
static Constraint() { UndefinedSize = new Size(0, 0); }
//private Rectangle m_rectangle; //private string m_stId; public AreaOfInterest(Size size, string id) { }