Hello,
I'm currently trying to figure how zoom works with CEF3 (and chrome). I've seen that setting zoom level to a random level will redraw the content with bigger elements, like bigger fonts, and change the layout accordingly.
Example using chrome:
What I want to achieve is a smartphone/tablet-like pinch-to-zoom (i'm not interested in the gesture, I just want to handle zooming this way), where content is not bigger and layout doesn't change, but act more like if the texture was zoomed in.
Here's what I am talking about:
(warning: may contain photoshopped content)
I guess I could handle it manually using my texture and manage my own "rectview" inside the texture, but I would lose scrollbars and add a lot of complexity to my code.
I'm asking because I know Chrome handle pinch-to-zoom this way, as shown in this video where you can see a zoom at a texture level (without redrawing/changing layout) and scrollbars behaving accordingly:
https://www.youtube.com/watch?v=2P4Xgb9MYXU
Also, I would like to zoom at a certain point in the webpage, like in the video.
So how could I have this kind of zoom with CEF3?
I'm using CEF3 trunk with off-screen rendering on Windows 8/7/Linux.