Timeline for Single-responsibility and custom data types
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 6, 2011 at 14:26 | comment | added | Paul | The load functions are accessible from two constructors, and free is called in the destructor -- I just didn't show that here. I find it convenient to be able to load the font directly from a file, instead of first opening the file, writing the data to a buffer and then passing that to Font. Sometimes I also need to load from a buffer, though, which is why I have both methods. | |
| Jun 6, 2011 at 13:05 | history | answered | zvrba | CC BY-SA 3.0 |