/// <summary>
        /// Initializes a new instance of the <see cref="SagoPhoto.CameraRollPhotoPreset"/> class using
        /// the default width and height values for the specified resolution.
        /// </summary>
        public CameraRollPhotoPreset(PhotoPresetResolution resolution)
        {
            this.PhotoWidth  = resolution.GetWidth();
            this.PhotoHeight = resolution.GetHeight();

            this.LogoAlignment = TextAnchor.LowerRight;
            this.LogoScale     = .29f;
            this.LogoPadding   = new Vector2(.05f, .05f);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="SagoPhoto.CameraRollPhotoPreset"/> class using
        /// the default width and height values for the specified resolution.
        /// </summary>
        public MeshOverlayPreset(PhotoPresetResolution resolution)
        {
            this.PhotoWidth  = resolution.GetWidth();
            this.PhotoHeight = resolution.GetHeight();

            this.MeshAlignment = TextAnchor.MiddleCenter;
            this.MeshScale     = 1f;
            this.Padding       = .05f;
        }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SagoPhoto.CameraRollPhotoPreset"/> class using
 /// the default width and height values for the specified resolution.
 /// </summary>
 public MultiPreset(PhotoPresetResolution resolution)
 {
     this.PhotoWidth  = resolution.GetWidth();
     this.PhotoHeight = resolution.GetHeight();
 }
 /// <summary>
 /// Gets standard height for the specified resolution.
 /// </summary>
 public static int GetHeight(this PhotoPresetResolution resolution)
 {
     return(resolution == PhotoPresetResolution.High ? 1024 : 512);
 }