[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/svg-lib cca504cbfd 3/3: Added date example
From: |
ELPA Syncer |
Subject: |
[elpa] externals/svg-lib cca504cbfd 3/3: Added date example |
Date: |
Sat, 17 Jun 2023 04:00:21 -0400 (EDT) |
branch: externals/svg-lib
commit cca504cbfd2ac82caa2ee9af865f3a5840b3f136
Author: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Commit: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Added date example
---
svg-lib-demo.el | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/svg-lib-demo.el b/svg-lib-demo.el
index 0684279a16..0598062cc9 100644
--- a/svg-lib-demo.el
+++ b/svg-lib-demo.el
@@ -41,7 +41,7 @@
(insert-image (svg-lib-progress-bar 0.75 nil :radius 8 :stroke 2 :padding 0))
-
+
(dotimes (i 10)
(insert-image (svg-lib-progress-pie (/ (+ i 1) 10.0) nil
@@ -56,13 +56,14 @@
:font-family "Roboto Mono"
:font-weight 500
:stroke 0 :background "#673AB7" :foreground "white"))
-
+
(insert-image (svg-lib-icon "gnuemacs" nil :collection "simple"
:stroke 0 :scale 1 :padding 0))
-
-
-(insert-image (svg-lib-date nil nil :foreground "#673AB7"))
+
+(insert-image (svg-lib-date nil nil :font-family "Roboto" :radius 5
+ :foreground "#673AB7"))
+