Trying to zoom


#1

I’m trying to add the ability for users to zoom in and out on my main component. It would seem that the easiest way to do this would be to scale the whole graphics context (as CGContextScaleCTM does on the Mac side)

Is there a way to do this in JUCE? If not, how can this be accomplished in a component with hundreds of subcomponents in an easy manner?


#2

I guess Component::createComponentSnapshot() if you just need to do some quick and dirty rescaling effects, or vectorize all of your components if not.


#3

Have you investigated the MagnifierComponent?


#4

thanks, haydxn, that looks like just what I need!