91 |
setPan(trans, transX,transY) |
setPan(trans, transX,transY) |
92 |
space.getCellTexter().setEnfilade( |
space.getCellTexter().setEnfilade( |
93 |
trans, pagespanNodes.makeEnf(span)) |
trans, pagespanNodes.makeEnf(span)) |
94 |
|
return trans |
95 |
|
|
96 |
xulinks = 1 |
xulinks = 1 |
97 |
|
|
131 |
wholepage = pg0.getCurrent().subSpan(0,1) |
wholepage = pg0.getCurrent().subSpan(0,1) |
132 |
span = wholepage.subArea(50, 50, 400, 150) |
span = wholepage.subArea(50, 50, 400, 150) |
133 |
paper = newPaper() |
paper = newPaper() |
134 |
addTrans(span, paper) |
global linkid1 |
135 |
|
linkid1 = addTrans(span, paper) |
136 |
addNote(paper, 'Foobar', -30, 50) |
addNote(paper, 'Foobar', -30, 50) |
137 |
|
|
138 |
paper2 = newPaper() |
paper2 = newPaper() |
175 |
|
|
176 |
|
|
177 |
def screenshots(): |
def screenshots(): |
|
|
|
178 |
frame = 0 |
frame = 0 |
|
|
|
179 |
s = Scene() |
s = Scene() |
180 |
|
|
181 |
# FIXME: move s to initial position |
# FIXME: move s to initial position |
184 |
# 1) notice which buoy was clicked |
# 1) notice which buoy was clicked |
185 |
# 2) separate method: move to that buoy |
# 2) separate method: move to that buoy |
186 |
# Then, call the 2nd method from outside. |
# Then, call the 2nd method from outside. |
187 |
|
|
188 |
|
s.mainNode.moveTo(50, 200) |
189 |
vs1 = w.createVobScene() |
vs1 = w.createVobScene() |
190 |
s.scene(vs1) |
s.scene(vs1) |
191 |
|
|
192 |
# FIXME: move s to final position |
s.followLinkByAnchor(linkid1) |
|
s.followLinkByAnchor('urn:urn-5:xrbHJx-3HfHVW1aW0FMAG0fFWq-h:7') |
|
193 |
vs2 = w.createVobScene() |
vs2 = w.createVobScene() |
194 |
s.scene(vs2) |
s.scene(vs2) |
195 |
|
|
205 |
frame += 1 |
frame += 1 |
206 |
|
|
207 |
|
|
208 |
if 0: |
if 1: |
209 |
screenshots() |
screenshots() |