コード例 #1
0
ファイル: VerticalBox.java プロジェクト: neel-shah/JLatexMath
 public void updateRectangle(float scale, float x, float y) {
   super.updateRectangle(scale, x, y);
   float yPos = y - height;
   for (Box b : children) {
     yPos += b.getHeight();
     b.updateRectangle(scale, x + b.getShift() - leftMostPos, yPos);
     yPos += b.getDepth();
   }
 }
コード例 #2
0
ファイル: GraphicsBox.java プロジェクト: neel-shah/JLatexMath
 public void updateRectangle(float scale, float x, float y) {
   super.updateRectangle(scl * scale, x, y);
 }