-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
It appears there is absolutely no way to clean up a font. The way you load fonts prevents us from using 'new' and you don't provide a destroy() method.
For graphics object oriented programming I advise you to NEVER use constructors or destructors. Instead expect the user to call an init() and destroy() method. It seems like an anti-pattern but it is one that many companies embrace, including Google.
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Doing_Work_in_Constructors
Metadata
Metadata
Assignees
Labels
No labels