I am not sure what you mean with 'self' unless classes are involved.
I can only tell you that from what I am understanding, I would need an array to establish the x and y range, but I am not sure how to implement it. I would also need to 'treat' the image as an actual graph, which means that the general x,y coordinate values should be followed as usual. For instance, the further to the right you move, the more x should increase, and the further up, the larger y should be.
As right now, if I go further up, y decreases.
I can only tell you that from what I am understanding, I would need an array to establish the x and y range, but I am not sure how to implement it. I would also need to 'treat' the image as an actual graph, which means that the general x,y coordinate values should be followed as usual. For instance, the further to the right you move, the more x should increase, and the further up, the larger y should be.
As right now, if I go further up, y decreases.