/// <summary> /// Build a default camera summary. /// This is used for certain camera types. /// </summary> public CameraSummary(string alias, string name, string identifier, Bitmap icon, CameraManager manager) { this.Alias = alias; this.Name = name; this.Identifier = identifier; this.Icon = icon; this.DisplayRectangle = Rectangle.Empty; this.AspectRatio = CaptureAspectRatio.Auto; this.Rotation = ImageRotation.Rotate0; this.Mirror = false; this.Specific = null; this.Manager = manager; }
/// <summary> /// Build a full camera summary. /// This is normally used when we have obtained all the info from an XML blurb of that camera. /// </summary> public CameraSummary(string alias, string name, string identifier, Bitmap icon, Rectangle displayRectangle, CaptureAspectRatio aspectRatio, ImageRotation rotation, bool mirror, object specific, CameraManager manager) { this.Alias = alias; this.Name = name; this.Identifier = identifier; this.Icon = icon; this.DisplayRectangle = displayRectangle; this.AspectRatio = aspectRatio; this.Rotation = rotation; this.Mirror = mirror; this.Specific = specific; this.Manager = manager; }