CTmTextFontCache Class Reference
Constructor & Destructor Documentation
CTmTextFontCache(MGraphicsDeviceMap &, CFont &)
~CTmTextFontCache()
~CTmTextFontCache | ( | ) | [private, inline] |
Member Functions Documentation
Close()
This should be called when the font is no longer used. The font is released when all references have been closed.
New(MGraphicsDeviceMap &, CFont &)
The constructor is protected by a New here not because there is a 2 stage constructor, but to enforce that this object should be allocated on the heap, so that 'delete this' works This reference counting is required because this object can be deleted by either (1) a client of RTmTextCache when it is finished using a font, or (2) by the RTmTextCache itself, when the font in the cache is replaced
Open()
This should be called before the font is retrieved and used Open does not need to be called by the creator of the font (the reference count is initialized to 1)
Member Data Documentation
MGraphicsDeviceMap & iDevice
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.