/[fenfire]/fenfire/org/fenfire/bin/fenpdf10.py
ViewVC logotype

Diff of /fenfire/org/fenfire/bin/fenpdf10.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by tjl, Mon Aug 11 09:14:05 2003 UTC revision 1.13 by tjl, Mon Aug 11 11:07:26 2003 UTC
# Line 137  else: Line 137  else:
137  fen.txt = ff.impl.SimpleNodeContent(fen, myalph);  fen.txt = ff.impl.SimpleNodeContent(fen, myalph);
138  fen.txtfunc = fen.txt.getNodeFunction()  fen.txtfunc = fen.txt.getNodeFunction()
139  fen.enfiladeOverlap = fen.txt.getTransclusionIndex()  fen.enfiladeOverlap = fen.txt.getTransclusionIndex()
140    
141  ppAct = ff.modules.pp.PPActionsImpl(fen)  ppAct = ff.modules.pp.PPActionsImpl(fen)
142    treetime = ff.structure.TreeTime(ff.vocab.TREETIME.follows)
143    ppAct.treeTime = treetime
144    
145  # Now, before reading the xu stuff, render something  # Now, before reading the xu stuff, render something
146  # to try to prevent NV driver  # to try to prevent NV driver
# Line 148  vs = w.createVobScene() Line 151  vs = w.createVobScene()
151  vs.put(background((.8, .4, .9)))  vs.put(background((.8, .4, .9)))
152  w.renderStill(vs, 0)  w.renderStill(vs, 0)
153    
154    
155  paperA = "urn:urn-5:P7OMBN+yp3-m-AkulZN-NeaJV9Sl:_1"  paperA = "urn:urn-5:P7OMBN+yp3-m-AkulZN-NeaJV9Sl:_1"
156  paperHome = "urn:urn-5:COz-fSvNBZRieCdefRTKO2Mgcjmz:_1"  paperHome = "urn:urn-5:COz-fSvNBZRieCdefRTKO2Mgcjmz:_1"
157  if not do_load_graph:  if not do_load_graph:
158      fen.graph.add(Nodes.get(paperA), RDF.type, CANVAS2D.Canvas);      fen.graph.add(Nodes.get(paperA), RDF.type, CANVAS2D.Canvas);
159        treetime.addLatest(fen.graph, Nodes.get(paperHome))
160        treetime.addLatest(fen.graph, Nodes.get(paperA))
161      noteA1 = Nodes.get(ppAct.newNote(paperA, -30,-30, 'This is a test!'))      noteA1 = Nodes.get(ppAct.newNote(paperA, -30,-30, 'This is a test!'))
162      noteA2 = Nodes.get(ppAct.newNote(paperA, -60,-70, 'This is a test2!'))      noteA2 = Nodes.get(ppAct.newNote(paperA, -60,-70, 'This is a test2!'))
163      noteA3 = Nodes.get(ppAct.newNote(paperA, 100, 100, ''))      noteA3 = Nodes.get(ppAct.newNote(paperA, 100, 100, ''))
# Line 298  tconnector.pageImageScrollNodeType = ff. Line 304  tconnector.pageImageScrollNodeType = ff.
304      ff.view.buoy.FisheyeMainNode2D.FisheyeMainNode2DFactory(mainMouse))      ff.view.buoy.FisheyeMainNode2D.FisheyeMainNode2DFactory(mainMouse))
305    
306  # Treetime  # Treetime
307  ttconnector = ff.view.buoy.TTConnector()  ttconnector = ff.view.buoy.TTConnector(fen, ff.vocab.TREETIME.follows)
308    
309  class DoubleGeometer:  class DoubleGeometer:
310      def __init__(self, mgr, context, nodeview):      def __init__(self, mgr, context, nodeview):

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26