PATCH: auto-fit for xfdesktop

Brian J. Tarricone bjt23 at ece.cornell.edu
Mon Dec 1 07:01:53 CET 2003


Jasper Huijsmans wrote:

>SCALED: the image is scaled to fit the screen with the same aspect ratio
>as the original. Any free space is filled with the background color.
>  
>
this may be what you had in mind, but... perhaps also center the image?  
i.e. if you increase the width to the width of the screen, and then 
increase the height (keeping aspect), but the image is still of a 
shorter height than the screen, center the image top-to-bottom and fill 
the non-image bars with the background color.  same applies for the 
reverse - when you end up with non-image areas on left and right, but 
not top and bottom.

i think that's more aesthetically pleasing than having an off-center image.

    -brian



More information about the Xfce4-dev mailing list