emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Native image rotation


From: Clément Pit-Claudel
Subject: Re: Native image rotation
Date: Sun, 24 Feb 2019 12:34:32 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 24/02/2019 11.14, Eli Zaretskii wrote:
>> Date: Sun, 24 Feb 2019 11:30:50 +0000
>> From: Alan Third <address@hidden>
>>
>> I’ve attached a couple of patches. The second renames image scaling to
>> image transforms, as it covers more than just scaling.
>>
>> It should be trivial to add cropping now. I can’t think of anything
>> else we might want to support.
>>
>> Again I’ve not handled Windows, but hopefully it’s quite
>> straight‐forward.
>>
>> The image rotation code is very explicit in what it’s doing and could
>> be optimized, but I’m not sure it matters.
> 
> Thanks.
> 
> Though I wonder what would be the use cases for rotating images in
> Emacs by angles other than integral multiples of 90 deg.

I've used rotated images to display a spinning 'busy' indicator in the modeline 
in the past.  The corresponding package currently ships with a set of 
pre-rotated images, but generating them in Emacs would be more convenient.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]