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 » Painter Text Underline/Strikeout not working
Re: Painter Text Underline/Strikeout not working [message #47448 is a reply to message #47446] Tue, 17 January 2017 16:09 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Tom1 wrote on Tue, 17 January 2017 10:55
I agree, double is better than int. Also, cy looks just fine at a/16 without max(). However, if MODE_NOAA is used, using max() would seem reasonable to guarantee visibility of underline/strikeout for small font sizes. Otherwise, they may just disappear at e.g. 10 pts font size.

Best regards,

Tom


OK, max it is then...

Mirek
 
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: Assertion fails in BufferPainter::TransformOp() with rotated text
Next Topic: Painter Fill with Image MSC14x64 performance issue
Goto Forum:
  


Current Time: Tue May 07 10:06:58 CEST 2024

Total time taken to generate the page: 0.01771 seconds