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

Home » U++ Library support » U++ Core » [FIXED] GLDraw,GLCtrl would be nice to work properly (OpenGL ver must be >= 2.1 with full-caps)
Re: GLDraw,GLCtrl would be nice to work properly [message #58623 is a reply to message #58622] Tue, 05 July 2022 11:13 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Klugier wrote on Tue, 05 July 2022 10:44
Hello Mirek,

You are right inserting numbers in the string cause crash. Below line crashes:
w.DrawText(sz.cx - sz.cx / 3, sz.cy - sz.cy / 3, angle * 10, "x   Text with angle 123");


So, it is not a problem with number to string conversion. Thanks for explanation about memory allocation Wink

Klugier


Keep experimenting. What about "xxx" instead of "123" ? (These are glyphs that already should be cached).

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
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to create a hidden folder?
Next Topic: is memsetex really at optimal speed?
Goto Forum:
  


Current Time: Wed Sep 09 03:55:36 GMT+2 2026

Total time taken to generate the page: 0.01163 seconds