In stead of directly drawing on the screen, I first want to get the pixels which are going to get drawn. Before the drawing, I want to do something with them. So, how can I get an array of those pixels? Will I have to write my own algorithms?
I am trying to make an effect, where polygons intersect. The new polygons resulting from the intersections need to be painted a specific way. Now, you could say, that I need to try to find them, however once the new polygons are drawn, I am not using them for anything else. So, I want to find which pixels are going to be drawn for the first polygons, so I can set the colors of the new polygons pixel by pixel, avoiding the trouble of having to calculate the intersecting areas (as I have searched for algorithms on that, they are hard to implement and kinda slow) - after all, only pixels are going to be drawn.