shithub: libgraphics

Download patch

ref: 086d2bb276e55f81bd13d03c15d9325db4d2bd4f
parent: dc735cec54a148d848932c71e26cd9fbe445e173
author: rodri <rgl@antares-labs.eu>
date: Tue May 14 12:42:11 EDT 2024

doc: correct the indices to make things simpler.

--- a/doc/libgraphics.ms
+++ b/doc/libgraphics.ms
@@ -22,9 +22,9 @@
 move
 Tiler: [
 	down
-	T0: circle "tiler 0"
+	T0: circle "tiler 1"
 	move
-	T1: circle "tiler 1"
+	T1: circle "tiler 2"
 	move
 	Td: circle "…"
 	move
@@ -33,9 +33,9 @@
 move
 Raster: [
 	down
-	R0: circle "rasterizer 0"
+	R0: circle "rasterizer 1"
 	move
-	R1: circle "rasterizer 1"
+	R1: circle "rasterizer 2"
 	move
 	Rd: circle "…"
 	move
@@ -57,7 +57,7 @@
 .PE
 .B "Figure 1" :
 For a
-.B 2(n+1)
+.B 2n
 processor machine.
 .SH
 The scene
@@ -91,8 +91,8 @@
 	boxht = 0.2
 	boxwid = 1.25
 	down
-	T0: box dashed "tile 0"
-	T1: box dashed "tile 1"
+	T0: box dashed "tile 1"
+	T1: box dashed "tile 2"
 	Td: box dashed "…"
 	Tn: box dashed "tile n"
 ]
@@ -101,9 +101,9 @@
 Raster: [
 	moveht = 0.1
 	down
-	R0: circle "rasterizer 0"
+	R0: circle "rasterizer 1"
 	move
-	R1: circle "rasterizer 1"
+	R1: circle "rasterizer 2"
 	move
 	Rd: circle "…"
 	move
@@ -123,8 +123,8 @@
 	boxht = 0.2
 	boxwid = 1.25
 	down
-	T0: box dashed "0"
-	T1: box dashed "1"
+	T0: box dashed "1"
+	T1: box dashed "2"
 	Td: box dashed "…"
 	Tn: box dashed "n"
 ]
@@ -136,9 +136,9 @@
 Raster: [
 	moveht = 0.1
 	down
-	R0: circle "rasterizer 0"
+	R0: circle "rasterizer 1"
 	move
-	R1: circle "rasterizer 1"
+	R1: circle "rasterizer 2"
 	move
 	Rd: circle "…"
 	move
binary files a/doc/libgraphics.pdf b/doc/libgraphics.pdf differ
--- a/doc/libgraphics.ps
+++ b/doc/libgraphics.ps
@@ -660,10 +660,10 @@
 (entityproc) 2763 3834 w
 3510 3064 432 432 De
 (tiler) 3626 3078 w
-(0) 3782 3078 w
+(1) 3782 3078 w
 3510 3568 432 432 De
 (tiler) 3626 3582 w
-(1) 3782 3582 w
+(2) 3782 3582 w
 3510 4072 432 432 De
 7 /LucidaSansUnicode20 f
 (&) 3691 4086 w
@@ -673,10 +673,10 @@
 (n) 3783 4590 w
 4302 3064 432 432 De
 (rasterizer) 4322 3078 w
-(0) 4670 3078 w
+(1) 4670 3078 w
 4302 3568 432 432 De
 (rasterizer) 4322 3582 w
-(1) 4670 3582 w
+(2) 4670 3582 w
 4302 4072 432 432 De
 7 /LucidaSansUnicode20 f
 (&) 4483 4086 w
@@ -809,9 +809,9 @@
 10 /LucidaSansUnicode00 f
 (: For a) 1142 4990 w
 10 /LucidaSans-Demi f
-(2\(n+1\)) 1481 4990 w
+(2n) 1481 4990 w
 10 /LucidaSansUnicode00 f
-(processor machine.) 1843 4990 w
+(processor machine.) 1643 4990 w
 10 /LucidaSans-Demi f
 (The scene) 720 5230 w
 2196 5572 2196 5428 Dl
@@ -901,7 +901,7 @@
 2070 1776 2070 1812 Dl
 2070 1830 2070 1866 Dl
 7 /LucidaSansUnicode00 f
-(tile 0) 2435 1808 w
+(tile 1) 2435 1808 w
 2070 2010 2106 2010 Dl
 2142 2010 2178 2010 Dl
 2214 2010 2250 2010 Dl
@@ -934,7 +934,7 @@
 2070 1866 2070 1902 Dl
 2070 1920 2070 1956 Dl
 2070 1974 2070 2010 Dl
-(tile 1) 2435 1952 w
+(tile 2) 2435 1952 w
 2070 2154 2106 2154 Dl
 2142 2154 2178 2154 Dl
 2214 2154 2250 2154 Dl
@@ -1010,10 +1010,10 @@
 (Screen) 1774 1736 w
 3330 1254 432 432 De
 (rasterizer) 3350 1268 w
-(0) 3698 1268 w
+(1) 3698 1268 w
 3330 1758 432 432 De
 (rasterizer) 3350 1772 w
-(1) 3698 1772 w
+(2) 3698 1772 w
 3330 2262 432 432 De
 7 /LucidaSansUnicode20 f
 (&) 3511 2276 w
@@ -1062,7 +1062,7 @@
 2070 4080 2070 4116 Dl
 2070 4134 2070 4170 Dl
 7 /LucidaSansUnicode00 f
-(0) 2498 4112 w
+(1) 2498 4112 w
 2070 4314 2106 4314 Dl
 2142 4314 2178 4314 Dl
 2214 4314 2250 4314 Dl
@@ -1095,7 +1095,7 @@
 2070 4170 2070 4206 Dl
 2070 4224 2070 4260 Dl
 2070 4278 2070 4314 Dl
-(1) 2498 4256 w
+(2) 2498 4256 w
 2070 4458 2106 4458 Dl
 2142 4458 2178 4458 Dl
 2214 4458 2250 4458 Dl
@@ -1174,10 +1174,10 @@
 (Screen) 1774 4040 w
 3330 3558 432 432 De
 (rasterizer) 3350 3572 w
-(0) 3698 3572 w
+(1) 3698 3572 w
 3330 4062 432 432 De
 (rasterizer) 3350 4076 w
-(1) 3698 4076 w
+(2) 3698 4076 w
 3330 4566 432 432 De
 7 /LucidaSansUnicode20 f
 (&) 3511 4580 w