Class FontFormat
Inheritance
System.Object
FontFormat
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Inferno.Formats.Graphics.Text
Assembly: Inferno.Desktop.dll
Syntax
public class FontFormat
Fields
| Improve this Doc View SourceCharMap
Declaration
public float[] CharMap
Field Value
Type | Description |
---|---|
System.Single[] |
Header
Declaration
public const string Header = "INFERNOFONT"
Field Value
Type | Description |
---|---|
System.String |
Height
Declaration
public int Height
Field Value
Type | Description |
---|---|
System.Int32 |
LineHeight
Declaration
public int LineHeight
Field Value
Type | Description |
---|---|
System.Int32 |
SpaceSize
Declaration
public int SpaceSize
Field Value
Type | Description |
---|---|
System.Int32 |
TextureData
Declaration
public uint[] TextureData
Field Value
Type | Description |
---|---|
System.UInt32[] |
Version
Declaration
public const string Version = "VERSION_1.2"
Field Value
Type | Description |
---|---|
System.String |
Width
Declaration
public int Width
Field Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceFromStream(Stream)
Declaration
public static FontFormat FromStream(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream |
Returns
Type | Description |
---|---|
FontFormat |
Update1_1Stream(Stream, Stream)
Update a font file from V1.1 to V1.2
Declaration
[Obsolete("This should only be used to upgrade old files then be removed, do not use this permanently.")]
public static void Update1_1Stream(Stream stream, Stream outStream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Stream to update |
System.IO.Stream | outStream | Output stream |
WriteOut(Stream)
Declaration
public void WriteOut(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream |