Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Painter Text Underline/Strikeout not working
Re: Painter Text Underline/Strikeout not working [message #47263 is a reply to message #47253] |
Mon, 02 January 2017 09:28 |
Tom1
Messages: 1212 Registered: March 2007
|
Senior Contributor |
|
|
Hi Mirek,
In fact I do need it: When rendering maps, I use underlining for marking text objects selected for editing or processing. Additionally, I plan to use strikeout for marking text objects that are selected for deletion.
Logically, I think while underline/strikeout are not part of Character(), they still are part of Text(). After all, these are valid Font properties and the most logical and efficient location for rendering them is right there in Text(). They should not hurt anybody not using them at the cost of one if statement. Strikeout/Underline are disabled by default and only voluntarily enabled in a Font.
If this cannot be included, I can of course use external code for the purpose (similar to what is found in DrawTextOp()), which is a bit slower since it needs to calculate the width of the string redundantly.
You choose
Thanks and best regards,
Tom
|
|
|
|
|
Painter Text Underline/Strikeout not working
By: Tom1 on Fri, 30 December 2016 10:18
|
|
|
Re: Painter Text Underline/Strikeout not working
By: Tom1 on Fri, 30 December 2016 11:05
|
|
|
Re: Painter Text Underline/Strikeout not working
By: mirek on Sun, 01 January 2017 21:33
|
|
|
Re: Painter Text Underline/Strikeout not working
By: Tom1 on Mon, 02 January 2017 09:28
|
|
|
Re: Painter Text Underline/Strikeout not working
By: mirek on Mon, 02 January 2017 09:56
|
|
|
Re: Painter Text Underline/Strikeout not working
By: Tom1 on Mon, 02 January 2017 10:09
|
|
|
Re: Painter Text Underline/Strikeout not working
By: Tom1 on Tue, 03 January 2017 09:12
|
|
|
Re: Painter Text Underline/Strikeout not working
By: Tom1 on Mon, 16 January 2017 10:38
|
|
|
Re: Painter Text Underline/Strikeout not working
By: mirek on Mon, 16 January 2017 11:19
|
|
|
Re: Painter Text Underline/Strikeout not working
By: Tom1 on Tue, 17 January 2017 09:20
|
|
|
Re: Painter Text Underline/Strikeout not working
By: mirek on Tue, 17 January 2017 09:38
|
|
|
Re: Painter Text Underline/Strikeout not working
By: Tom1 on Tue, 17 January 2017 10:55
|
|
|
Re: Painter Text Underline/Strikeout not working
By: mirek on Tue, 17 January 2017 16:09
|
Goto Forum:
Current Time: Tue May 07 14:59:13 CEST 2024
Total time taken to generate the page: 0.01918 seconds
|