103 |
note = ff.swamp.Nodes.N() |
note = ff.swamp.Nodes.N() |
104 |
ff.util.AlphContent(fen).setText(note, 'This is rst canvas test', 1) |
ff.util.AlphContent(fen).setText(note, 'This is rst canvas test', 1) |
105 |
rst.insertNode(senten, note, 0) |
rst.insertNode(senten, note, 0) |
|
rst.generateBasicSpatialCoords(canvas) |
|
106 |
|
|
107 |
ppAct.assocNotes(noteA2, 1, Nodes.toString(note)) |
ppAct.assocNotes(noteA2, 1, Nodes.toString(note)) |
108 |
ppAct.assocNotes(noteB1, -1, noteA1) |
ppAct.assocNotes(noteB1, -1, noteA1) |
109 |
|
|
110 |
|
|
111 |
vob.view.FisheyeState.dbg = 1 |
vob.view.FisheyeState.dbg = 1 |
112 |
textstyle = vob.GraphicsAPI.getInstance().getTextStyle("sans", 0, 24) |
textstyle = vob.GraphicsAPI.getInstance().getTextStyle("sans", 0, 24) |
124 |
ff.view.buoy.NodeType2D.effigy = 0 |
ff.view.buoy.NodeType2D.effigy = 0 |
125 |
ff.view.buoy.NodeType2DFull.effigy = 0 |
ff.view.buoy.NodeType2DFull.effigy = 0 |
126 |
|
|
127 |
|
rst.generateBasicSpatialCoords(canvas, nodeview) |
128 |
|
context = ff.view.FenPDFContext(fen, rst, nodeview) |
129 |
|
context.setAccursed(note) |
130 |
|
context.setRSTNode(senten) |
131 |
|
ff.view.buoy.MainNode2D.fen = fen |
132 |
|
ff.view.buoy.AbstractMainNode2D.context = context |
133 |
|
|
134 |
|
|
135 |
|
|
136 |
# irregu.debugFlags = irregu.DEBUG_CONTENT | irregu.DEBUG_CHILD |
# irregu.debugFlags = irregu.DEBUG_CONTENT | irregu.DEBUG_CHILD |
137 |
# irregu.border = 10 |
# irregu.border = 10 |
138 |
#irregu.type = 2 |
#irregu.type = 2 |