/// <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);
        }
예제 #2
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 MeshOverlayPreset(PhotoPresetResolution resolution)
        {
            this.PhotoWidth  = resolution.GetWidth();
            this.PhotoHeight = resolution.GetHeight();

            this.MeshAlignment = TextAnchor.MiddleCenter;
            this.MeshScale     = 1f;
            this.Padding       = .05f;
        }
예제 #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();
 }