101 |
sliceId = getSliceId(center); |
sliceId = getSliceId(center); |
102 |
} |
} |
103 |
|
|
104 |
public void getDefaultSize(float scale, Dimension into) { |
public void getSize(Cell c, float scale, float[] into) { |
105 |
into.width = (int)style.getWidth("XXXXXXXXXX", scale)+10; |
into[0] = style.getWidth("XXXXXXXXXX", scale)/scale+10; |
106 |
into.height = (int)style.getHeight(scale) + 10; |
into[1] = style.getHeight(scale)/scale + 10; |
|
} |
|
|
|
|
|
public Dimension getDefaultSize() { |
|
|
Dimension d = new Dimension(); |
|
|
getDefaultSize(1, d); |
|
|
return d; |
|
107 |
} |
} |
108 |
|
|
109 |
/** Get an Id for the slice this Cell is in. |
/** Get an Id for the slice this Cell is in. |