Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Windows 8.1, 10, WindowsPhone, Windows UWP

which method is responsable for optimizing pages rendering after zooming ?

More
IP: 192.168.0.71 8 years 3 weeks ago #13497 by Bouzidi
Hi,

I m using the last Windows sdk in my project and I need to know which method is responsable for optimizing pages rendering after zooming.
In fact, after zooming In the lib takes one second to optimize the rendering quality as qhown in this two files :

Before render optimization :
drive.google.com/file/d/1ljJExBwOhiPwonr...ZSH/view?usp=sharing

After render optimization :
drive.google.com/file/d/1efwLZEeiilTKbVU...RT2/view?usp=sharing

Can you explain us the process timeline of the pages rendering.

Waiting for your response.

Best Regards,
Hamza.
More
IP: 192.168.0.71 8 years 3 weeks ago #13498 by nermeen
Dear Hamza,

While zooming, a low quality bitmap is used for rendering (to avoid a white page), after zooming the bitmap is rendered till the high quality rendering is finished (this depends on the page content, fast for light-weight pages, less faster for heavier pages).

Methods responsible for zooming behavior:
Code:
PDFView.ZoomStart PDFView.ZoomSet PDFView.vOnTimer PDFView.vDraw
More
IP: 192.168.0.71 8 years 3 weeks ago #13499 by Bouzidi
Dear Nermeen,

Would you please give us the low quality bitmap name ?

Thank you,
More
IP: 192.168.0.71 8 years 3 weeks ago #13500 by nermeen
Dear Hamza,

The bitmap is instance of PDFBmp and gets generated and rendered at runtime, please check PDFVPage.Draw(PDFVCanvas canvas, float scrollx, float scrolly) which gets called from PDFView.vDraw in case m_drawbmp is true
Time to create page: 0.394 seconds
Powered by Kunena Forum