[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make a drawing with Emacs
From: |
Stefan Monnier |
Subject: |
Re: make a drawing with Emacs |
Date: |
Thu, 03 Sep 2020 13:41:57 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> The arguments can be any attribute that's valid for an SVG element. I'm
>> not sure how digging into the source code helps you with determining
>> that -- you'd need to look at the SVG standards document to find out
>> what keywords/values are valid.
>
> (That said, changing the signature on all these functions to
>
> (cl-defun svg-... (... &key stroke-width stroke-color fill-color ...
> &allow-other-keys)
>
> would be fine by me, and should be backwards-compatible.)
IIRC it would make the code slower, tho. It adds code like
(let ((stroke-color (cadr (plist-member args :stroke-color))))
which the compiler fails to optimize away when `stroke-color` is not used.
Stefan
- Re: make a drawing with Emacs, (continued)
- Re: make a drawing with Emacs, Leo Butler, 2020/09/02
- Re: make a drawing with Emacs, Stefan Monnier, 2020/09/02
- Re: make a drawing with Emacs, Emanuel Berg, 2020/09/03
- Re: make a drawing with Emacs, Tomas Hlavaty, 2020/09/03
- Re: make a drawing with Emacs, Stefan Monnier, 2020/09/03
- Re: make a drawing with Emacs, Tomas Hlavaty, 2020/09/03
- Re: make a drawing with Emacs, Stefan Monnier, 2020/09/03
- Message not available
- Message not available
- Re: make a drawing with Emacs, Tomas Hlavaty, 2020/09/04
- Message not available
- Re: make a drawing with Emacs, Lars Magne Ingebrigtsen, 2020/09/03
- Message not available
- Re: make a drawing with Emacs, Lars Magne Ingebrigtsen, 2020/09/03
- Re: make a drawing with Emacs,
Stefan Monnier <=
- Message not available
- Re: make a drawing with Emacs, Lars Magne Ingebrigtsen, 2020/09/03
- Re: make a drawing with Emacs, Tomas Hlavaty, 2020/09/03
- Message not available
- Re: make a drawing with Emacs, Lars Magne Ingebrigtsen, 2020/09/03
- Re: make a drawing with Emacs, Tomas Hlavaty, 2020/09/03
- Re: make a drawing with Emacs, tomas, 2020/09/04
- Re: make a drawing with Emacs, Tomas Hlavaty, 2020/09/04
- Re: make a drawing with Emacs, tomas, 2020/09/04
- Re: make a drawing with Emacs, Tomas Hlavaty, 2020/09/04
- Re: make a drawing with Emacs, Tomas Hlavaty, 2020/09/03
- Message not available
- Re: make a drawing with Emacs, Lars Magne Ingebrigtsen, 2020/09/03