ImageComponent with zoom in & zoom out & drag

#1

Hi,

I have just added some tiny extra features based on the ImageComponent. It inherits from ImageComponent and has the following features:

  1. By using the mouse wheel to zoom in or zoom out the image.
  2. By dragging the mouse to see the different views (detailed rectangle) of the image.

The GitHub link is:
https://github.com/Xingchen1224/JUCE-Extra-Components/blob/master/ZoomedImageComponent.h

Hope you like & improve it. :grinning:

Best Regards,
Xingchen

0 Likes