gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz ./TODO gzz/view/pagespanview.py


From: Tuomas J. Lukka
Subject: [Gzz-commits] gzz ./TODO gzz/view/pagespanview.py
Date: Wed, 23 Oct 2002 08:12:38 -0400

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Tuomas J. Lukka <address@hidden>        02/10/23 08:12:38

Modified files:
        .              : TODO 
        gzz/view       : pagespanview.py 

Log message:
        Fix view

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/TODO.diff?tr1=1.317&tr2=1.318&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/view/pagespanview.py.diff?tr1=1.14&tr2=1.15&r1=text&r2=text

Patches:
Index: gzz/TODO
diff -u gzz/TODO:1.317 gzz/TODO:1.318
--- gzz/TODO:1.317      Wed Oct 23 05:40:07 2002
+++ gzz/TODO    Wed Oct 23 08:12:38 2002
@@ -129,6 +129,7 @@
                - dicing only when needed
                - don't
            - soft shadows
+       - pre-rendering paper
        - Nokia demo [deadline 24.10]
            - xupdf:
                - larger structure 
@@ -178,6 +179,8 @@
        - clean GzzGL-jni
        - javadoc TextVob specs
     anybody:
+       - test using pagespanview.ContentView as a CellContentView;
+         currently broken.
        + ZZ vanishingview cell size for pagespans and linebroken
          paragraphs, as well as libpaper backgrounds
        - implement PEG 1007
Index: gzz/gzz/view/pagespanview.py
diff -u gzz/gzz/view/pagespanview.py:1.14 gzz/gzz/view/pagespanview.py:1.15
--- gzz/gzz/view/pagespanview.py:1.14   Sun Oct 20 05:33:17 2002
+++ gzz/gzz/view/pagespanview.py        Wed Oct 23 08:12:38 2002
@@ -281,7 +281,9 @@
 class KEY: pass
 
 class ContentView(gzz.view.CellContentView):
-    def place(self, cell, scene, coordsys, w, h, viewContext, scale):
+    def place(self, cell, scene, box, viewContext, scale):
         view = CellPDFView(cell)
-        cs = scene.coordsys(coordsys, KEY, 0, -w/2.0, -h/2.0, w, h)
+       w, h = box.getWidth(), box.getHeight()
+        cs = scene.orthoCS(box.getWHCoordsys(), KEY, 0, 0, 0, h, h)
         view.placepapers(scene, cs)
+




reply via email to

[Prev in Thread] Current Thread [Next in Thread]