iI have an image with shapes in it (squares and triangles with different colors scattered in the image) and iI have an algorithm that matches the image and extracts the geometry vertices from image raw data (unsigned char*) and the extracted vertices are correct and iI have checked theme there is no doubt about theme.
nowNow that iI have got the vertices of the squares and triangles from the raw image data how. How can iI fill the pixels that lies inside the vertices with transparency so they become deleted shapes.
if anyone can Help .. please do.?
PS: the vertices that i have got are just an array of points and each point has x and y property in it and the raw image data is rgba8888 (32 bit).