Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Font and Image rendering slow
Re: Font and Image rendering slow [message #59986 is a reply to message #59968] Sat, 01 July 2023 20:46 Go to previous messageGo to previous message
devilsclaw is currently offline  devilsclaw
Messages: 74
Registered: August 2022
Member
Here is the U++ example

Also The icon is being manually drawn but it can be switch to using the image instead by change the #if 0 to #if 0 in icon_t.h in function icon_paint_icon

This demo also clips and only draws what it visible on screen so making the window lager will draw more and impact the performance more. The default size does not show much difference on my system but when I maximize the window it then shows for me.

there is also a render_everything flag in the frm_main.h which if set to true will even render off screen if needed to see the effect. same with the java version
  • Attachment: upp_demo.zip
    (Size: 11.76KB, Downloaded 107 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mouse Interaction with UI causes Paint to not function
Next Topic: Option Label on Left Side draw
Goto Forum:
  


Current Time: Wed Aug 27 17:52:28 CEST 2025

Total time taken to generate the page: 0.06531 seconds