U++ framework
Do not panic. Ask here before giving up.

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: 14291
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: Sun Sep 27 19:18:32 GMT+2 2026

Total time taken to generate the page: 0.00817 seconds