191 |
return stop; |
return stop; |
192 |
} |
} |
193 |
|
|
194 |
|
public Vob getPlainRenderableForBenchmarking() { |
195 |
|
if(ht == null) { |
196 |
|
GLTextStyle gls = (GLTextStyle)style; |
197 |
|
ht = GLRen.createText1( |
198 |
|
gls.theFont, |
199 |
|
text, |
200 |
|
(baselined ? 1 : gls.theFont.getYOffs()), |
201 |
|
0); |
202 |
|
} |
203 |
|
return ht; |
204 |
|
} |
205 |
|
|
206 |
private Vob setColor() { |
private Vob setColor() { |
207 |
if(setColor == null) { |
if(setColor == null) { |
208 |
setColor = GLCache.getCallList(this.textColor == null ? "" : this.textColor); |
setColor = GLCache.getCallList(this.textColor == null ? "" : this.textColor); |
218 |
private Vob ht; |
private Vob ht; |
219 |
public int putGL(VobScene vs, int coordsys1) { |
public int putGL(VobScene vs, int coordsys1) { |
220 |
if(dbg) pa("Addtolistgl text "+text); |
if(dbg) pa("Addtolistgl text "+text); |
|
if(ht == null) { |
|
|
GLTextStyle gls = (GLTextStyle)style; |
|
|
ht = GLRen.createText1( |
|
|
gls.theFont, |
|
|
text, |
|
|
(baselined ? 1 : gls.theFont.getYOffs()), |
|
|
0); |
|
|
} |
|
221 |
vs.map.put(getStartCode()); |
vs.map.put(getStartCode()); |
222 |
vs.map.put(setColor()); |
vs.map.put(setColor()); |
223 |
vs.map.put(ht, coordsys1); |
vs.map.put(getPlainRenderableForBenchmarking(), coordsys1); |
224 |
vs.map.put(getStopCode()); |
vs.map.put(getStopCode()); |
225 |
return 0; |
return 0; |
226 |
} |
} |