diff options
| author | John Paul Wallington | 2003-07-19 16:21:21 +0000 |
|---|---|---|
| committer | John Paul Wallington | 2003-07-19 16:21:21 +0000 |
| commit | b27a51dbfc20704d0d0fe761b96f4a0a480f5ae7 (patch) | |
| tree | 57df7e922874cec67140d733dab4a1ae9191d636 | |
| parent | ee6916fd02f378ed9842b408fe3f2baf0e7f3dd0 (diff) | |
| download | emacs-b27a51dbfc20704d0d0fe761b96f4a0a480f5ae7.tar.gz emacs-b27a51dbfc20704d0d0fe761b96f4a0a480f5ae7.zip | |
(artist-butlast-fn, artist-draw-sline)
(artist-draw-rect, artist-draw-square): Doc fixes.
| -rw-r--r-- | lisp/textmodes/artist.el | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el index 2b30d8f5fd2..f762ec97e9e 100644 --- a/lisp/textmodes/artist.el +++ b/lisp/textmodes/artist.el | |||
| @@ -32,7 +32,7 @@ | |||
| 32 | ;; --------------- | 32 | ;; --------------- |
| 33 | ;; | 33 | ;; |
| 34 | ;; Artist is an Emacs lisp package that allows you to draw lines, | 34 | ;; Artist is an Emacs lisp package that allows you to draw lines, |
| 35 | ;; rectangles and ellipses by using your mouse and/or keyboard. The | 35 | ;; rectangles and ellipses by using your mouse and/or keyboard. The |
| 36 | ;; shapes are made up with the ascii characters |, -, / and \. | 36 | ;; shapes are made up with the ascii characters |, -, / and \. |
| 37 | ;; | 37 | ;; |
| 38 | ;; Features are: | 38 | ;; Features are: |
| @@ -61,20 +61,20 @@ | |||
| 61 | ;; erase characters erase rectangles | 61 | ;; erase characters erase rectangles |
| 62 | ;; | 62 | ;; |
| 63 | ;; Straight lines are lines that go horizontally, vertically or | 63 | ;; Straight lines are lines that go horizontally, vertically or |
| 64 | ;; diagonally. Plain lines go in any direction. The operations in | 64 | ;; diagonally. Plain lines go in any direction. The operations in |
| 65 | ;; the right column are accessed by holding down the shift key while | 65 | ;; the right column are accessed by holding down the shift key while |
| 66 | ;; drawing. | 66 | ;; drawing. |
| 67 | ;; | 67 | ;; |
| 68 | ;; It is possible to vaporize (erase) entire lines and connected lines | 68 | ;; It is possible to vaporize (erase) entire lines and connected lines |
| 69 | ;; (rectangles for example) as long as the lines being vaporized are | 69 | ;; (rectangles for example) as long as the lines being vaporized are |
| 70 | ;; straight and connected at their endpoints. Vaporizing is inspired | 70 | ;; straight and connected at their endpoints. Vaporizing is inspired |
| 71 | ;; by the drawrect package by Jari Aalto <jari.aalto@poboxes.com>. | 71 | ;; by the drawrect package by Jari Aalto <jari.aalto@poboxes.com>. |
| 72 | ;; | 72 | ;; |
| 73 | ;; * Flood-filling: You can fill any area with a certain character by | 73 | ;; * Flood-filling: You can fill any area with a certain character by |
| 74 | ;; flood-filling. | 74 | ;; flood-filling. |
| 75 | ;; | 75 | ;; |
| 76 | ;; * Cut copy and paste: You can cut, copy and paste rectangular | 76 | ;; * Cut copy and paste: You can cut, copy and paste rectangular |
| 77 | ;; regions. Artist also interfaces with the rect package (this can be | 77 | ;; regions. Artist also interfaces with the rect package (this can be |
| 78 | ;; turned off if it causes you any trouble) so anything you cut in | 78 | ;; turned off if it causes you any trouble) so anything you cut in |
| 79 | ;; artist can be yanked with C-x r y and vice versa. | 79 | ;; artist can be yanked with C-x r y and vice versa. |
| 80 | ;; | 80 | ;; |
| @@ -85,7 +85,7 @@ | |||
| 85 | ;; poly-line, you can set arrows on the line-ends by typing < or >. | 85 | ;; poly-line, you can set arrows on the line-ends by typing < or >. |
| 86 | ;; | 86 | ;; |
| 87 | ;; * Aspect-ratio: You can set the variable artist-aspect-ratio to | 87 | ;; * Aspect-ratio: You can set the variable artist-aspect-ratio to |
| 88 | ;; reflect the height-width ratio for the font you are using. Squares | 88 | ;; reflect the height-width ratio for the font you are using. Squares |
| 89 | ;; and circles are then drawn square/round. Note, that once your | 89 | ;; and circles are then drawn square/round. Note, that once your |
| 90 | ;; ascii-file is shown with font with a different height-width ratio, | 90 | ;; ascii-file is shown with font with a different height-width ratio, |
| 91 | ;; the squares won't be square and the circles won't be round. | 91 | ;; the squares won't be square and the circles won't be round. |
| @@ -1685,7 +1685,7 @@ info-variant-part." | |||
| 1685 | (list 'if fn (cons 'funcall (cons fn args)))) | 1685 | (list 'if fn (cons 'funcall (cons fn args)))) |
| 1686 | 1686 | ||
| 1687 | (defvar artist-butlast-fn 'artist-butlast | 1687 | (defvar artist-butlast-fn 'artist-butlast |
| 1688 | "The butlast function") | 1688 | "The butlast function.") |
| 1689 | 1689 | ||
| 1690 | (if (fboundp 'butlast) | 1690 | (if (fboundp 'butlast) |
| 1691 | (setq artist-butlast-fn 'butlast) | 1691 | (setq artist-butlast-fn 'butlast) |
| @@ -2526,7 +2526,7 @@ They are faster to draw and most often they are what you need | |||
| 2526 | when drawing a simple image. | 2526 | when drawing a simple image. |
| 2527 | 2527 | ||
| 2528 | Output is a straight line, which is a list on the form | 2528 | Output is a straight line, which is a list on the form |
| 2529 | (END-POINT-1 END-POINT-2 SHAPE-INFO). | 2529 | \(END-POINT-1 END-POINT-2 SHAPE-INFO). |
| 2530 | 2530 | ||
| 2531 | END-POINT-1 and END-POINT-2 are two-element vectors on the form [X Y]. | 2531 | END-POINT-1 and END-POINT-2 are two-element vectors on the form [X Y]. |
| 2532 | SHAPE-INFO is a vector [START-X START-Y LENGTH-OF-LINE DIRECTION | 2532 | SHAPE-INFO is a vector [START-X START-Y LENGTH-OF-LINE DIRECTION |
| @@ -2581,7 +2581,7 @@ SHAPE-INFO is a vector [START-X START-Y LENGTH-OF-LINE DIRECTION | |||
| 2581 | "Draws a rectangle with corners at X1, Y1 and X2, Y2. | 2581 | "Draws a rectangle with corners at X1, Y1 and X2, Y2. |
| 2582 | 2582 | ||
| 2583 | Output is a rectangle, which is a list on the form | 2583 | Output is a rectangle, which is a list on the form |
| 2584 | (END-POINT-1 END-POINT-2 SHAPE-INFO). | 2584 | \(END-POINT-1 END-POINT-2 SHAPE-INFO). |
| 2585 | 2585 | ||
| 2586 | END-POINT-1 and END-POINT-2 are two-element vectors on the form [X Y]. | 2586 | END-POINT-1 and END-POINT-2 are two-element vectors on the form [X Y]. |
| 2587 | SHAPE-INFO is a list of four straight lines." | 2587 | SHAPE-INFO is a list of four straight lines." |
| @@ -2642,7 +2642,7 @@ depends on which of X2 and Y2 is most far away from X1, Y1." | |||
| 2642 | "Draw a square with corners at X1, Y1 and X2, Y2. | 2642 | "Draw a square with corners at X1, Y1 and X2, Y2. |
| 2643 | 2643 | ||
| 2644 | Output is a square, which is a list on the form | 2644 | Output is a square, which is a list on the form |
| 2645 | (END-POINT-1 END-POINT-2 SHAPE-INFO). | 2645 | \(END-POINT-1 END-POINT-2 SHAPE-INFO). |
| 2646 | 2646 | ||
| 2647 | END-POINT-1 and END-POINT-2 are two-element vectors on the form [X Y]. | 2647 | END-POINT-1 and END-POINT-2 are two-element vectors on the form [X Y]. |
| 2648 | SHAPE-INFO is a list of four straight lines." | 2648 | SHAPE-INFO is a list of four straight lines." |