/[fenfire]/fenfire/org/fenfire/view/TextNodeView.java
ViewVC logotype

Diff of /fenfire/org/fenfire/view/TextNodeView.java

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

revision 1.1 by benja, Thu Apr 24 15:07:35 2003 UTC revision 1.2 by tjl, Fri Apr 25 14:43:04 2003 UTC
# Line 59  public class TextNodeView implements Nod Line 59  public class TextNodeView implements Nod
59          final float height = style.getHeight(scale);          final float height = style.getHeight(scale);
60    
61          return new org.nongnu.libvob.lava.placeable.Placeable() {          return new org.nongnu.libvob.lava.placeable.Placeable() {
62                  public void place(VobScene scene, int into) {                  public void place(VobScene vs, int into) {
63                      int scaled = scene.orthoCS(into, "Scaled", 0,                      int scaled = vs.orthoCS(into, "Scaled", 0,
64                                                 0, 0, scale, scale);                                                 0, 0, height, height);
65                      scene.put(vob, scaled);                      vs.put(vob, scaled);
66                  }                  }
67    
68                  public float getWidth() { return width; }                  public float getWidth() { return width; }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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