crystalspace.jbind.interfaces.ivideo.fontserv
Interface iFontDeleteNotify
- All Superinterfaces:
- iJPointer
- All Known Implementing Classes:
- csFontDeleteNotify
- public interface iFontDeleteNotify
- extends iJPointer
Called before a font is deleted. You can insert any number of callback
routines into the font so that when the font will be destroyed all of them
will be called in turn. This can be used by canvas driver, for example, if
the canvas driver does some kind of caching for fonts, e.g. OpenGL driver
pre-caches the font on a texture, it needs some mechanism to be notified
when the font is destroyed to free the cache texture associated with the
font.
- Author:
- Java wrapper - Quentin Anciaux, c++ version -
http://crystal.sourceforge.net/docs/online/devapi/structiFontDeleteNotify.php
beforeDelete
public void beforeDelete(iFont font)
- Before delete. Implemented in csFontCache::FontDeleteNotify.
- Parameters:
font
-