Skip to content
Snippets Groups Projects
Commit aa8f97d3 authored by Andrey Ruzhanskiy's avatar Andrey Ruzhanskiy
Browse files

Deleted comment

parent 3dbacf67
No related branches found
No related tags found
1 merge request!24Feat/brailletextrasterizer 38
...@@ -173,8 +173,6 @@ public final class BrailleTextRasterizer implements Rasterizer<BrailleText> { ...@@ -173,8 +173,6 @@ public final class BrailleTextRasterizer implements Rasterizer<BrailleText> {
String[] textAsArray = text.split(""); String[] textAsArray = text.split("");
// Get maximum width in cells // Get maximum width in cells
int availableWidth = rect.intWrapper().getWidth(); int availableWidth = rect.intWrapper().getWidth();
// Divide them, round up
// TODO:
canvas.getDotRectangle().intWrapper().getX(); canvas.getDotRectangle().intWrapper().getX();
int height = (int) Math.ceil((double) ((int) getBrailleStringLengthInCells(text, canvas)) / availableWidth); int height = (int) Math.ceil((double) ((int) getBrailleStringLengthInCells(text, canvas)) / availableWidth);
return height; return height;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment