Hi,
I'm trying to annotate the ImageItem's pixels by a textual value on top of every pixel.
Got it working by extending the paint() and adding necessary drawText() calls, however, the performance is (obviously?) terrible.
This is only meant to be useful when zooming in deeply - that I can treshold by figuring out pixelSize() of ImageItem.
However, all labels seem to be painted even if only a few pixels are visible in the view.
Any idea how to figure out the pixels (or a rectangle) that are actually visible in the view? I'm getting lost in all the coordinate mappings :/
Best regards,
Kuba