WinBGI | Borland Graphics Interface for Windows platform | GPU library
kandi X-RAY | WinBGI Summary
kandi X-RAY | WinBGI Summary
Borland Graphics Interface for Windows platform. Source: part of cs1300 toolset by cs-dept @ colorado.edu.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of WinBGI
WinBGI Key Features
WinBGI Examples and Code Snippets
Community Discussions
Trending Discussions on WinBGI
QUESTION
I am making a snake game in C using winbgi
library. I have a problem with function settextstyle()
. Every call of function adds memory to the heap (about 50kb). I have to use this function in loop, so at some point the heap starts to overflow. Is there a way to release memory occupied by this function? Or some other way to change the size of the text in winbgi
?
ANSWER
Answered 2019-Dec-31 at 15:40Pull the latest winbgi sources from here.
There was a bug (missing call to DeleteObject()
after SelectObject()
to set a new font in set_font()
) within text.cxx
which the code linked fixes.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install WinBGI
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page