1 line
1.4 KiB
Plaintext
1 line
1.4 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>​</p> <p> SVG widget in Emacs buffer (Right) SVG image ")</p> <p>​</p> <p><a href="https://preview.redd.it/avh7hn5xljt71.png?width=940&format=png&auto=webp&s=d93d0a109fd13d4b48ee2f0dd584c07444ca7dbb">(Top) SVG sprite sheet (Bottom) widgets from sprite sheet</a></p> <p>Now you can use SVG widget in GNU Emacs. That is, use an SVG image or fragment as background for push-button widget in Emacs buffer. You can also specify the width and height of the widget for finer control. Generally speaking, you can use any type of image for this purpose. But SVG suits best because you can draw widget of any size without any distortion.</p> <p><strong>Code:</strong> <a href="https://gitlab.com/atamariya/emacs/-/blob/dev/lisp/svg.el">https://gitlab.com/atamariya/emacs/-/blob/dev/lisp/svg.el</a></p> <p><strong>Details:</strong> <a href="https://lifeofpenguin.blogspot.com/2021/10/svg-widget-in-gnu-emacs.html">https://lifeofpenguin.blogspot.com/2021/10/svg-widget-in-gnu-emacs.html</a></p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/atamariya"> /u/atamariya </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/q7ty5p/svg_widget_in_gnu_emacs/">[link]</a></span>   <span><a href="https://www.reddit.com/r/emacs/comments/q7ty5p/svg_widget_in_gnu_emacs/">[comments]</a></span> |