* Re: [elpa] master 616a10b: Add svg.el, a package for creating SVG images
[not found] ` <E1XvCyi-0003dt-Tz@vcs.savannah.gnu.org>
@ 2014-12-01 4:03 ` Stefan Monnier
2014-12-01 16:36 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2014-12-01 4:03 UTC (permalink / raw)
To: emacs-devel
> +The svg package allows creating SVG images in Emacs.
> +
> +(setq svg (svg-create 800 800 :stroke "orange" :stroke-width 5))
> +(svg-gradient svg "gradient" 'linear '(0 . "red") '(100 . "blue"))
> +(save-excursion (goto-char (point-max)) (svg-insert-image svg))
> +(svg-rectangle svg 100 100 500 500 :gradient "gradient" :id "rec1")
> +(svg-circle svg 500 500 100 :id "circle1")
> +(svg-ellipse svg 100 100 50 90 :stroke "red" :id "ellipse1")
> +(svg-line svg 100 190 50 100 :id "line1" :stroke "yellow")
> +(svg-polyline svg '((200 . 100) (500 . 450) (80 . 100))
> + :stroke "green" :id "poly1")
> +(svg-polygon svg '((100 . 100) (200 . 150) (150 . 90))
> + :stroke "blue" :fill "red" :id "gon1")
Better move this to the "Commentary:" section (and remove the README file).
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [elpa] master 616a10b: Add svg.el, a package for creating SVG images
2014-12-01 4:03 ` [elpa] master 616a10b: Add svg.el, a package for creating SVG images Stefan Monnier
@ 2014-12-01 16:36 ` Lars Magne Ingebrigtsen
2014-12-01 20:00 ` Stefan Monnier
2014-12-01 23:43 ` Stephen Leake
0 siblings, 2 replies; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2014-12-01 16:36 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
> Better move this to the "Commentary:" section (and remove the README file).
Okidoke; done.
It just occurred to me that svg.el won't work on older versions of Emacs
since it requires the new dom.el. Is there a way to express that in
ELPA? Like "for version 25.0.50 and up"?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [elpa] master 616a10b: Add svg.el, a package for creating SVG images
2014-12-01 16:36 ` Lars Magne Ingebrigtsen
@ 2014-12-01 20:00 ` Stefan Monnier
2014-12-01 20:03 ` Lars Magne Ingebrigtsen
2014-12-01 23:43 ` Stephen Leake
1 sibling, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2014-12-01 20:00 UTC (permalink / raw)
To: Lars Magne Ingebrigtsen; +Cc: emacs-devel
> It just occurred to me that svg.el won't work on older versions of Emacs
> since it requires the new dom.el. Is there a way to express that in
> ELPA? Like "for version 25.0.50 and up"?
You can add a "Package-Requires: ((emacs "25"))" header alongside
the Version.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [elpa] master 616a10b: Add svg.el, a package for creating SVG images
2014-12-01 20:00 ` Stefan Monnier
@ 2014-12-01 20:03 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2014-12-01 20:03 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> You can add a "Package-Requires: ((emacs "25"))" header alongside
> the Version.
Thanks.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [elpa] master 616a10b: Add svg.el, a package for creating SVG images
2014-12-01 16:36 ` Lars Magne Ingebrigtsen
2014-12-01 20:00 ` Stefan Monnier
@ 2014-12-01 23:43 ` Stephen Leake
1 sibling, 0 replies; 5+ messages in thread
From: Stephen Leake @ 2014-12-01 23:43 UTC (permalink / raw)
To: emacs-devel
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
>
>> Better move this to the "Commentary:" section (and remove the README file).
>
> Okidoke; done.
>
> It just occurred to me that svg.el won't work on older versions of Emacs
> since it requires the new dom.el. Is there a way to express that in
> ELPA? Like "for version 25.0.50 and up"?
From ada-mode.el:
;; package-requires: ((wisi "1.1.0") (cl-lib "0.4") (emacs "24.2"))
--
-- Stephe
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-12-01 23:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20141130222828.13967.53276@vcs.savannah.gnu.org>
[not found] ` <E1XvCyi-0003dt-Tz@vcs.savannah.gnu.org>
2014-12-01 4:03 ` [elpa] master 616a10b: Add svg.el, a package for creating SVG images Stefan Monnier
2014-12-01 16:36 ` Lars Magne Ingebrigtsen
2014-12-01 20:00 ` Stefan Monnier
2014-12-01 20:03 ` Lars Magne Ingebrigtsen
2014-12-01 23:43 ` Stephen Leake
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.