internal AgoraDisplayInfo(uint id, IrisRect bounds, IrisRect workArea) { DisplayId = id; Bounds = new Rectangle(Convert.ToInt32(bounds.x), Convert.ToInt32(bounds.y), Convert.ToInt32(bounds.width), Convert.ToInt32(bounds.height)); WorkArea = new Rectangle(Convert.ToInt32(workArea.x), Convert.ToInt32(workArea.y), Convert.ToInt32(workArea.width), Convert.ToInt32(workArea.height)); }
internal AgoraWindowInfo(ulong id, string name, string ownerName, IrisRect bounds, IrisRect workArea) { WindowId = id; WindowName = name; AppName = ownerName; Bounds = new Rectangle(Convert.ToInt32(bounds.x), Convert.ToInt32(bounds.y), Convert.ToInt32(bounds.width), Convert.ToInt32(bounds.height)); WorkArea = new Rectangle(Convert.ToInt32(workArea.x), Convert.ToInt32(workArea.y), Convert.ToInt32(workArea.width), Convert.ToInt32(workArea.height)); }