[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/gzz/view xubuoy.py
From: |
Benja Fallenstein |
Subject: |
[Gzz-commits] gzz/gzz/view xubuoy.py |
Date: |
Thu, 03 Oct 2002 14:13:19 -0400 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Benja Fallenstein <address@hidden> 02/10/03 14:13:19
Modified files:
gzz/view : xubuoy.py
Log message:
one more step in showing text
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/view/xubuoy.py.diff?tr1=1.16&tr2=1.17&r1=text&r2=text
Patches:
Index: gzz/gzz/view/xubuoy.py
diff -c gzz/gzz/view/xubuoy.py:1.16 gzz/gzz/view/xubuoy.py:1.17
*** gzz/gzz/view/xubuoy.py:1.16 Thu Oct 3 13:44:47 2002
--- gzz/gzz/view/xubuoy.py Thu Oct 3 14:13:19 2002
***************
*** 91,97 ****
m = l[0]
print m
self.cell = m
! self.view = getCellPDFView(self.cell)
p = self.linkspan.getLocation()
d = self.linkspan.getSize()
--- 91,98 ----
m = l[0]
print m
self.cell = m
! if ispdf(self.cell):
! self.view = getCellPDFView(self.cell)
p = self.linkspan.getLocation()
d = self.linkspan.getSize()
***************
*** 250,257 ****
self.currentvs = None
self.corner1 = None
! style = GraphicsAPI.getInstance().getTextStyle("SansSerif",
java.awt.Font.PLAIN, 14);
! self.broken = gzz.view.LinebrokenCellContentView(style)
def key(self, key):
global currentScene
--- 251,259 ----
self.currentvs = None
self.corner1 = None
! self.cv = gzz.view.CellVobFactory()
! self.textsize = java.awt.Dimension()
! self.cv.getDefaultSize(1.6, self.textsize)
def key(self, key):
global currentScene
***************
*** 484,492 ****
self.view.placepapers(vs, cs1_trans, cliprect = clip,
fancy = self.usefancypaper, showTessel = self.showtessel)
else:
! cs1_unscaled = vs.coords.scaleXYZ(cs1_trans, 1/200.0, 1/200.0, 1)
! vs.matcher.add(cs1_unscaled, self.cursor.getId()+"__unscaled")
! self.broken.place(self.cursor, vs, cs1_unscaled, TEXT_WIDTH, 500,
self.win, 1.6);
self.buoys = []
--- 486,495 ----
self.view.placepapers(vs, cs1_trans, cliprect = clip,
fancy = self.usefancypaper, showTessel = self.showtessel)
else:
! d = self.textsize
! cs1_text = vs.coords.translateXY(cs1, -d.width/2.0, -d.height/2.0)
! vs.matcher.add(cs1_text, self.cursor.getId()+"__text")
! self.cv.place(self.cursor, vs, cs1_text, d.width, d.height,
self.win, 1.6);
self.buoys = []
- [Gzz-commits] gzz/gzz/view xubuoy.py, Tuomas J. Lukka, 2002/10/03
- [Gzz-commits] gzz/gzz/view xubuoy.py, Benja Fallenstein, 2002/10/03
- [Gzz-commits] gzz/gzz/view xubuoy.py, Tuomas J. Lukka, 2002/10/03
- [Gzz-commits] gzz/gzz/view xubuoy.py, Tuomas J. Lukka, 2002/10/03
- [Gzz-commits] gzz/gzz/view xubuoy.py, Benja Fallenstein, 2002/10/03
- [Gzz-commits] gzz/gzz/view xubuoy.py,
Benja Fallenstein <=
- [Gzz-commits] gzz/gzz/view xubuoy.py, Benja Fallenstein, 2002/10/03
- [Gzz-commits] gzz/gzz/view xubuoy.py, Tuomas J. Lukka, 2002/10/19
- [Gzz-commits] gzz/gzz/view xubuoy.py, Tuomas J. Lukka, 2002/10/20
- [Gzz-commits] gzz/gzz/view xubuoy.py, Tuomas J. Lukka, 2002/10/28