示例#1
0
 /// <summary>
 /// Releases the specified font.
 /// </summary>
 /// <param name="font">Font to release.</param>
 protected virtual void ReleaseFont(Font font)
 {
     if (font == null)
     {
         return;
     }
     if (m_Renderer == null)
     {
         return;
     }
     m_Renderer.FreeFont(font);
 }