What exactly is the replacement for the pixel methode of the Graphics class. Is there any?
If I want to perform individual pixel manipulations in Graphics objects, how can that be done? I have some legacy code like this:
DrawHandlePoint(g As Graphics, x As Integer, y As Integer)
g.Pixel(x,y) = &c333333
g.Pixel(x+1,y+1) = &cFFFFFF
End Sub
The Graphics-object processed in the above code is provided bei a paint-Event. I can’t see any chance of converting g into a Picture-object or rather is it much too complicated. Shouldn’t the graphics-class also be provided with a RGBSurface-property? I consider the lack of the RGBSurface property in the Graphics class to be a defect.
Kind regards and many thanks in advance for your efforts.
Roger Kaufmann
5 posts - 5 participants