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 » 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: 14256
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: Tue Apr 29 23:34:10 CEST 2025

Total time taken to generate the page: 0.01179 seconds