setPixel removed from Graphics?

gui

#1

setPixel seems to have been removed from the Graphics class in JUCE 5.1.2.

It used to be in ‘juce_GraphicsContext.ccp/h’.

Didn’t see anything in the release notes about it either, does anyone know what’s happened?

Thanks


#2

I think it was removed a long time ago.

To talk about pixels like that is an outdated and misleading concept now that all graphics is basically vector graphics with some unknown scale factor. All the function could possibly do was to call fillRect (x, y, 1, 1), so if that’s what you want to happen, just do that directly.