I started playing around with Geomerative a bit but I ran into problems.
I tried to create some paths in order to put some text on those paths later.
Here is the code to create fill an array of paths (for testing purposes just some straight lines for now):
for(int row = 0; row < NUM_ROWS; row++) {
path[row] = new RShape();
for(int col = 0; col < NUM_COLS; col++) {
path[row].addLineTo(col*20,20+row*20);
}
}
path is an array of type RShape.
The problem is
a) Every path starts at 0,0. In one example code the first point of the path is set using the addMoveTo() function. But this code seems out of date.
b) When I draw the lines the distance between them gets bigger with every line. It should be 20 pixels, right? But somehow the distance between line 2 and 3 is bigger than the distance between line 1 and two. And the distance between line 3 and 4 is bigger than the distance between line 2 and 3 and so on.