[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] pspp/src/output postscript.c
From: |
Ben Pfaff |
Subject: |
[Pspp-cvs] pspp/src/output postscript.c |
Date: |
Sun, 14 May 2006 19:46:52 +0000 |
CVSROOT: /cvsroot/pspp
Module name: pspp
Branch:
Changes by: Ben Pfaff <address@hidden> 06/05/14 19:46:52
Modified files:
src/output : postscript.c
Log message:
Properly indent comment.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/output/postscript.c.diff?tr1=1.14&tr2=1.15&r1=text&r2=text
Patches:
Index: pspp/src/output/postscript.c
diff -u pspp/src/output/postscript.c:1.14 pspp/src/output/postscript.c:1.15
--- pspp/src/output/postscript.c:1.14 Mon Apr 17 01:54:15 2006
+++ pspp/src/output/postscript.c Sun May 14 19:46:51 2006
@@ -674,35 +674,35 @@
enum outp_line_style top, enum outp_line_style left,
enum outp_line_style bottom, enum outp_line_style right)
{
-/* The algorithm here is somewhat subtle, to allow it to handle
- all the kinds of intersections that we need.
+ /* The algorithm here is somewhat subtle, to allow it to handle
+ all the kinds of intersections that we need.
- Three additional ordinates are assigned along the x axis. The
- first is xc, midway between x0 and x3. The others are x1 and
- x2; for a single vertical line these are equal to xc, and for
- a double vertical line they are the ordinates of the left and
- right half of the double line.
-
- yc, y1, and y2 are assigned similarly along the y axis.
-
- The following diagram shows the coordinate system and output
- for double top and bottom lines, single left line, and no
- right line:
-
- x0 x1 xc x2 x3
- y0 ________________________
- | # # |
- | # # |
- | # # |
- | # # |
- | # # |
- y1 = y2 = yc |######### # |
- | # # |
- | # # |
- | # # |
- | # # |
- y3 |________#_____#_______|
-*/
+ Three additional ordinates are assigned along the x axis. The
+ first is xc, midway between x0 and x3. The others are x1 and
+ x2; for a single vertical line these are equal to xc, and for
+ a double vertical line they are the ordinates of the left and
+ right half of the double line.
+
+ yc, y1, and y2 are assigned similarly along the y axis.
+
+ The following diagram shows the coordinate system and output
+ for double top and bottom lines, single left line, and no
+ right line:
+
+ x0 x1 xc x2 x3
+ y0 ________________________
+ | # # |
+ | # # |
+ | # # |
+ | # # |
+ | # # |
+ y1 = y2 = yc |######### # |
+ | # # |
+ | # # |
+ | # # |
+ | # # |
+ y3 |________#_____#_______|
+ */
struct ps_driver_ext *ext = this->ext;
/* Offset from center of each line in a pair of double lines. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-cvs] pspp/src/output postscript.c,
Ben Pfaff <=