Just to keep it simple I will use simple math.
From 45,45 to 90,90 I would like to know how to tile an object until it touches the other point.
The two points may change at times. It may change to 0,0 to 45,45 or 45,45 to 135,135.
The angle will always be the same 45° and only the length will change. The length will only change in increments of the tiled object, meaning when the length increases one more object should be tiled at the end.
I am just unsure how to tile an object at an angle.
It may be more simple to have a line drawn and then tile on the line every X pixels, not sure how to do that either.