diff options
author | Glenn Morris <rgm@gnu.org> | 2019-06-11 08:38:34 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2019-06-11 08:38:34 -0700 |
commit | 1903e9964f2fd16b604f4ef50390dfa9b4d90a9a (patch) | |
tree | 183e546ecafaf4c72049dc7eee47b3962661477b /lisp/svg.el | |
parent | e545d612df8111d2dc76c115685ccd3f426ee2ee (diff) | |
parent | 5ca093d2814fe5574c720338fc64cba44357f9b3 (diff) | |
download | emacs-1903e9964f2fd16b604f4ef50390dfa9b4d90a9a.tar.gz |
Merge from origin/emacs-26
5ca093d (origin/emacs-26) Fix doc of 'display-buffer-in-previous-wind...
add2cac lisp/*.el: Minor docstring fixes
Diffstat (limited to 'lisp/svg.el')
-rw-r--r-- | lisp/svg.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/svg.el b/lisp/svg.el index 291b9a11d99..da779728cc1 100644 --- a/lisp/svg.el +++ b/lisp/svg.el @@ -30,7 +30,7 @@ (eval-when-compile (require 'subr-x)) (defun svg-create (width height &rest args) - "Create a new, empty SVG image with dimensions WIDTHxHEIGHT. + "Create a new, empty SVG image with dimensions WIDTH x HEIGHT. ARGS can be used to provide `stroke' and `stroke-width' parameters to any further elements added." (dom-node 'svg @@ -42,8 +42,8 @@ any further elements added." (defun svg-gradient (svg id type stops) "Add a gradient with ID to SVG. -TYPE is `linear' or `radial'. STOPS is a list of percentage/color -pairs." +TYPE is `linear' or `radial'. +STOPS is a list of percentage/color pairs." (svg--def svg (apply @@ -66,9 +66,9 @@ pairs." "Create a rectangle on SVG, starting at position X/Y, of WIDTH/HEIGHT. ARGS is a plist of modifiers. Possible values are -:stroke-width PIXELS. The line width. -:stroke-color COLOR. The line color. -:gradient ID. The gradient ID to use." +:stroke-width PIXELS The line width. +:stroke-color COLOR The line color. +:gradient ID The gradient ID to use." (svg--append svg (dom-node 'rect |