I'm trying to create a sketch that allows me to draw (which is actually an ArrayList of lines) and rotate my drawing around the Z-axis. However, as of right now, my Z-axis is located in the top-left corner of the sketch. I translated it to the center, but now when I draw in the center, my drawing actually appears in the bottom right.
I've tried subtracting width/2 and height/2 from where the lines are drawn, but that just screws up how the drawing appears.
Is there any relatively simple way to translate an axis location, and only the axis, without affecting anything else (or just some way to make this whole thing work)?
EDIT: Actually, after messing around, I'm curious as to how I can make every axis sit dead center (rather than on the left, top left, and top) without translating the location of my drawing.