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

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/a7f9e806-99b7-4ca6-8c9d-ccc7ff914188%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to