drawIn method
Implementation
void drawIn(int index, double x, double y) {
textPoints[index] = [x, y];
for (int i = x.toInt(); i < x.toInt() + textlist[index].width; i++) {
for (int j = y.toInt();
j < y.toInt() + textlist[index].height.floor();
j++) {
map[i][j] = 1;
}
}
}