Original Post
I have a structure called SBMPFont, and a class method (of COutputEngine) that is called LoadFont. What is the proper syntax for a class method that returns a pointer to SBMPFont. Is it *SBMPFont LoadFont(blah); and *SBMPFont COutputEngine::LoadFont(blah) or is it something else?
Basically, what I have is a method that will dynamically allocate memory for a font and initialize it, then return a pointer to the newly created font (that is of the structure SBMPFont).
[edited by - UBC_Wiskatos on April 9, 2002 6:32:13 PM]