C# (CSharp) Axiom.Fonts Font - 3 examples found. These are the top rated real world C# (CSharp) examples of Axiom.Fonts.Font extracted from open source projects. You can rate examples to help us improve the quality of examples.
This class is simply a way of getting a font texture into the engine and to easily retrieve the texture coordinates required to accurately render them. Fonts can either be loaded from precreated textures, or the texture can be generated using a truetype font. You can either create the texture manually in code, or you can use an XML font script to define it (probably more practical since you can reuse the definition more easily)
This class extends both Resource and ManualResourceLoader since it is both a resource in it's own right, but it also provides the manual load implementation for the Texture it creates.