[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst |
Date: |
Wed, 29 Jan 2003 09:47:28 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Tuomas J. Lukka <address@hidden> 03/01/29 09:47:28
Modified files:
doc/pegboard/buoydesign--tjl: peg.rst
Log message:
Hmmm
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/doc/pegboard/buoydesign--tjl/peg.rst.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
Patches:
Index: gzz/doc/pegboard/buoydesign--tjl/peg.rst
diff -u gzz/doc/pegboard/buoydesign--tjl/peg.rst:1.1
gzz/doc/pegboard/buoydesign--tjl/peg.rst:1.2
--- gzz/doc/pegboard/buoydesign--tjl/peg.rst:1.1 Wed Jan 29 09:23:01 2003
+++ gzz/doc/pegboard/buoydesign--tjl/peg.rst Wed Jan 29 09:47:28 2003
@@ -3,8 +3,8 @@
=============================================================
:Author: Tuomas J. Lukka
-:Last-Modified: $Date: 2003/01/29 14:23:01 $
-:Revision: $Revision: 1.1 $
+:Last-Modified: $Date: 2003/01/29 14:47:28 $
+:Revision: $Revision: 1.2 $
:Status: Incomplete
Goals: get the xupdf and pp functionality under one model.
@@ -24,6 +24,8 @@
methods
putAsBuoy(Anchor a)
putAsMain()
+ handleKeystroke(String s)
+
class Anchor
methods
@@ -36,3 +38,67 @@
---
horizontally(60, foo, Node, Anchor, Link);
+
+In PP, a node is a 2D canvas on which there are cells,
+and Anchors are zz cells and links are connections
+between clones of anchor cells on a particular dimension.
+
+In xupdf, a node is a cell containing a PDF document,
+and the anchors and links are defined elsewhere in the xanalogical links.
+
+.. UML:: BuoyviewModels
+
+ class Node
+
+ class ZZStructureNode
+ inherit Node
+
+ class PPCanvasNode
+ inherit Node
+
+ class PDFDocNode
+ inherit Node
+
+
+ class Anchor
+
+ class CellTranscludesAnchor
+ inherit Anchor
+ assoc multi(*) - multi(0..1) ZZStructureNode
+ assoc multi(*) - multi(0..1) PPCanvasNode
+
+ class DocTranscludedAnchor
+ inherit Anchor
+ assoc multi(*) - multi(1) PDFDocNode
+
+ class PPAnchor
+ inherit Anchor
+ assoc multi(*) - multi(1) PPCanvasNode
+
+
+
+ class Link
+
+ class TransclusionLink
+ inherit Link
+ assoc multi(*) - multi(1) CellTranscludesAnchor
+ assoc multi(*) - multi(1) DocTranscludedAnchor
+
+ class PPLink
+ inherit Link
+ assoc multi(*) - multi(2,ordered) PPAnchor
+
+ ---
+
+ vertically(60, foo, PDFDocNode, ZZStructureNode, PPCanvasNode);
+
+ vertically(60, bar, DocTranscludedAnchor, CellTranscludesAnchor, PPAnchor);
+
+ vertically(100, baz, TransclusionLink, PPLink);
+
+ horizontally(70, xxx, foo, bar, baz);
+
+ pair o; o = (-100, 60);
+ Node.c = PDFDocNode.c + o;
+ Anchor.c = DocTranscludedAnchor.c + o;
+ Link.c = TransclusionLink.c + o;
- [Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst,
Tuomas J. Lukka <=