Fossil SCM

Imported latest upstream pikchr examples into pikchrshow.

stephan 2020-09-12 06:20 trunk
Commit ef7912ce4dee1e0cd7e39d41f8b8ff8e391617b62e19d295c8b57c243daab81f
1 file changed +17 -13
--- src/fossil.page.pikchrshow.js
+++ src/fossil.page.pikchrshow.js
@@ -394,22 +394,29 @@
394394
box rad 10px "box (with" "rounded" "corners)" at 1in right of previous
395395
circle "circle" at 1in right of previous
396396
ellipse "ellipse" at 1in right of previous
397397
398398
# second row of objects
399
-oval "oval" at 1in below first box
400
-oval "(tall &" "thin)" "oval" wid ovalht ht ovalwid at 1in right of previous
399
+OVAL1: oval "oval" at 1in below first box
400
+oval "(tall &" "thin)" "oval" width OVAL1.height height OVAL1.width \
401
+ at 1in right of previous
401402
cylinder "cylinder" at 1in right of previous
402403
file "file" at 1in right of previous
403404
404405
# third row shows line-type objects
405406
dot "dot" above at 1in below first oval
406407
line right from 1.8cm right of previous "lines" above
407408
arrow right from 1.8cm right of previous "arrows" above
408
-spline from 2cm right of previous \
409
- right .15 up .25 then right .3 down .5 then up .25 right .15 \
410
- "splines" above ljust
409
+spline from 1.8cm right of previous \
410
+ go right .15 then .3 heading 30 then .5 heading 160 then .4 heading 20 \
411
+ then right .15
412
+"splines" at 3rd vertex of previous
413
+
414
+# The third vertex of the spline is not actually on the drawn
415
+# curve. The third vertex is a control point. To see its actual
416
+# position, uncomment the following line:
417
+#dot color red at 3rd vertex of previous spline
411418
412419
# Draw various lines below the first line
413420
line dashed right from 0.3cm below start of previous line
414421
line dotted right from 0.3cm below start of previous
415422
line thin right from 0.3cm below start of previous
@@ -421,18 +428,15 @@
421428
arrow <- right from 0.4cm below start of previous arrow
422429
arrow <-> right from 0.4cm below start of previous
423430
424431
# Draw splines with different arrowhead configurations below
425432
# the first spline
426
-spline -> from .4cm below start of first spline \
427
- right .15 up .25 then right .3 down .5 then up .25 right .15
428
-spline <- from .4cm below start of previous spline \
429
- right .15 up .25 then right .3 down .5 then up .25 right .15
430
-spline <-> from .4cm below start of previous spline \
431
- right .15 up .25 then right .3 down .5 then up .25 right .15
432
-
433
-] # end of All Objects
433
+spline same from .4cm below start of first spline ->
434
+spline same from .4cm below start of previous <-
435
+spline same from .4cm below start of previous <->
436
+
437
+] # end of AllObjects
434438
435439
# Label the whole diagram
436440
text "Examples Of Pikchr Objects" big bold at .8cm above north of AllObjects
437441
`},
438442
{name: "swimlane", code:` $laneh = 0.75
439443
--- src/fossil.page.pikchrshow.js
+++ src/fossil.page.pikchrshow.js
@@ -394,22 +394,29 @@
394 box rad 10px "box (with" "rounded" "corners)" at 1in right of previous
395 circle "circle" at 1in right of previous
396 ellipse "ellipse" at 1in right of previous
397
398 # second row of objects
399 oval "oval" at 1in below first box
400 oval "(tall &amp;" "thin)" "oval" wid ovalht ht ovalwid at 1in right of previous
 
401 cylinder "cylinder" at 1in right of previous
402 file "file" at 1in right of previous
403
404 # third row shows line-type objects
405 dot "dot" above at 1in below first oval
406 line right from 1.8cm right of previous "lines" above
407 arrow right from 1.8cm right of previous "arrows" above
408 spline from 2cm right of previous \
409 right .15 up .25 then right .3 down .5 then up .25 right .15 \
410 "splines" above ljust
 
 
 
 
 
 
411
412 # Draw various lines below the first line
413 line dashed right from 0.3cm below start of previous line
414 line dotted right from 0.3cm below start of previous
415 line thin right from 0.3cm below start of previous
@@ -421,18 +428,15 @@
421 arrow <- right from 0.4cm below start of previous arrow
422 arrow <-> right from 0.4cm below start of previous
423
424 # Draw splines with different arrowhead configurations below
425 # the first spline
426 spline -> from .4cm below start of first spline \
427 right .15 up .25 then right .3 down .5 then up .25 right .15
428 spline <- from .4cm below start of previous spline \
429 right .15 up .25 then right .3 down .5 then up .25 right .15
430 spline <-> from .4cm below start of previous spline \
431 right .15 up .25 then right .3 down .5 then up .25 right .15
432
433 ] # end of All Objects
434
435 # Label the whole diagram
436 text "Examples Of Pikchr Objects" big bold at .8cm above north of AllObjects
437 `},
438 {name: "swimlane", code:` $laneh = 0.75
439
--- src/fossil.page.pikchrshow.js
+++ src/fossil.page.pikchrshow.js
@@ -394,22 +394,29 @@
394 box rad 10px "box (with" "rounded" "corners)" at 1in right of previous
395 circle "circle" at 1in right of previous
396 ellipse "ellipse" at 1in right of previous
397
398 # second row of objects
399 OVAL1: oval "oval" at 1in below first box
400 oval "(tall &amp;" "thin)" "oval" width OVAL1.height height OVAL1.width \
401 at 1in right of previous
402 cylinder "cylinder" at 1in right of previous
403 file "file" at 1in right of previous
404
405 # third row shows line-type objects
406 dot "dot" above at 1in below first oval
407 line right from 1.8cm right of previous "lines" above
408 arrow right from 1.8cm right of previous "arrows" above
409 spline from 1.8cm right of previous \
410 go right .15 then .3 heading 30 then .5 heading 160 then .4 heading 20 \
411 then right .15
412 "splines" at 3rd vertex of previous
413
414 # The third vertex of the spline is not actually on the drawn
415 # curve. The third vertex is a control point. To see its actual
416 # position, uncomment the following line:
417 #dot color red at 3rd vertex of previous spline
418
419 # Draw various lines below the first line
420 line dashed right from 0.3cm below start of previous line
421 line dotted right from 0.3cm below start of previous
422 line thin right from 0.3cm below start of previous
@@ -421,18 +428,15 @@
428 arrow <- right from 0.4cm below start of previous arrow
429 arrow <-> right from 0.4cm below start of previous
430
431 # Draw splines with different arrowhead configurations below
432 # the first spline
433 spline same from .4cm below start of first spline ->
434 spline same from .4cm below start of previous <-
435 spline same from .4cm below start of previous <->
436
437 ] # end of AllObjects
 
 
 
438
439 # Label the whole diagram
440 text "Examples Of Pikchr Objects" big bold at .8cm above north of AllObjects
441 `},
442 {name: "swimlane", code:` $laneh = 0.75
443

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button