Struct ImFontPtr
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: ImGui.NET.dll
Syntax
Constructors
|
Improve this Doc
View Source
ImFontPtr(ImFont*)
Declaration
public ImFontPtr(ImFont*nativePtr)
Parameters
| Type |
Name |
Description |
| ImFont* |
nativePtr |
|
|
Improve this Doc
View Source
ImFontPtr(IntPtr)
Declaration
public ImFontPtr(IntPtr nativePtr)
Parameters
| Type |
Name |
Description |
| System.IntPtr |
nativePtr |
|
Properties
|
Improve this Doc
View Source
Ascent
Declaration
public readonly ref float Ascent { get; }
Property Value
| Type |
Description |
| System.Single |
|
|
Improve this Doc
View Source
ConfigData
Declaration
public readonly ImFontConfigPtr ConfigData { get; }
Property Value
|
Improve this Doc
View Source
ConfigDataCount
Declaration
public readonly ref short ConfigDataCount { get; }
Property Value
| Type |
Description |
| System.Int16 |
|
|
Improve this Doc
View Source
ContainerAtlas
Declaration
public readonly ImFontAtlasPtr ContainerAtlas { get; }
Property Value
|
Improve this Doc
View Source
Descent
Declaration
public readonly ref float Descent { get; }
Property Value
| Type |
Description |
| System.Single |
|
|
Improve this Doc
View Source
DirtyLookupTables
Declaration
public readonly ref bool DirtyLookupTables { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
EllipsisChar
Declaration
public readonly ref ushort EllipsisChar { get; }
Property Value
| Type |
Description |
| System.UInt16 |
|
|
Improve this Doc
View Source
FallbackAdvanceX
Declaration
public readonly ref float FallbackAdvanceX { get; }
Property Value
| Type |
Description |
| System.Single |
|
|
Improve this Doc
View Source
FallbackChar
Declaration
public readonly ref ushort FallbackChar { get; }
Property Value
| Type |
Description |
| System.UInt16 |
|
|
Improve this Doc
View Source
FallbackGlyph
Declaration
public readonly ImFontGlyphPtr FallbackGlyph { get; }
Property Value
|
Improve this Doc
View Source
FontSize
Declaration
public readonly ref float FontSize { get; }
Property Value
| Type |
Description |
| System.Single |
|
|
Improve this Doc
View Source
Glyphs
Declaration
public readonly ImPtrVector<ImFontGlyphPtr> Glyphs { get; }
Property Value
|
Improve this Doc
View Source
IndexAdvanceX
Declaration
public readonly ImVector<float> IndexAdvanceX { get; }
Property Value
| Type |
Description |
| ImVector<System.Single> |
|
|
Improve this Doc
View Source
IndexLookup
Declaration
public readonly ImVector<ushort> IndexLookup { get; }
Property Value
| Type |
Description |
| ImVector<System.UInt16> |
|
|
Improve this Doc
View Source
MetricsTotalSurface
Declaration
public readonly ref int MetricsTotalSurface { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
NativePtr
Declaration
public readonly ImFont*NativePtr { get; }
Property Value
|
Improve this Doc
View Source
Scale
Declaration
public readonly ref float Scale { get; }
Property Value
| Type |
Description |
| System.Single |
|
|
Improve this Doc
View Source
Used4kPagesMap
Declaration
public readonly RangeAccessor<byte> Used4kPagesMap { get; }
Property Value
Methods
|
Improve this Doc
View Source
AddGlyph(ImFontConfigPtr, UInt16, Single, Single, Single, Single, Single, Single, Single, Single, Single)
Declaration
public void AddGlyph(ImFontConfigPtr src_cfg, ushort c, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advance_x)
Parameters
| Type |
Name |
Description |
| ImFontConfigPtr |
src_cfg |
|
| System.UInt16 |
c |
|
| System.Single |
x0 |
|
| System.Single |
y0 |
|
| System.Single |
x1 |
|
| System.Single |
y1 |
|
| System.Single |
u0 |
|
| System.Single |
v0 |
|
| System.Single |
u1 |
|
| System.Single |
v1 |
|
| System.Single |
advance_x |
|
|
Improve this Doc
View Source
AddRemapChar(UInt16, UInt16)
Declaration
public void AddRemapChar(ushort dst, ushort src)
Parameters
| Type |
Name |
Description |
| System.UInt16 |
dst |
|
| System.UInt16 |
src |
|
|
Improve this Doc
View Source
AddRemapChar(UInt16, UInt16, Boolean)
Declaration
public void AddRemapChar(ushort dst, ushort src, bool overwrite_dst)
Parameters
| Type |
Name |
Description |
| System.UInt16 |
dst |
|
| System.UInt16 |
src |
|
| System.Boolean |
overwrite_dst |
|
|
Improve this Doc
View Source
BuildLookupTable()
Declaration
public void BuildLookupTable()
|
Improve this Doc
View Source
ClearOutputData()
Declaration
public void ClearOutputData()
|
Improve this Doc
View Source
Destroy()
Declaration
|
Improve this Doc
View Source
FindGlyph(UInt16)
Declaration
public ImFontGlyphPtr FindGlyph(ushort c)
Parameters
| Type |
Name |
Description |
| System.UInt16 |
c |
|
Returns
|
Improve this Doc
View Source
FindGlyphNoFallback(UInt16)
Declaration
public ImFontGlyphPtr FindGlyphNoFallback(ushort c)
Parameters
| Type |
Name |
Description |
| System.UInt16 |
c |
|
Returns
|
Improve this Doc
View Source
GetCharAdvance(UInt16)
Declaration
public float GetCharAdvance(ushort c)
Parameters
| Type |
Name |
Description |
| System.UInt16 |
c |
|
Returns
| Type |
Description |
| System.Single |
|
|
Improve this Doc
View Source
GetDebugName()
Declaration
public string GetDebugName()
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
GrowIndex(Int32)
Declaration
public void GrowIndex(int new_size)
Parameters
| Type |
Name |
Description |
| System.Int32 |
new_size |
|
|
Improve this Doc
View Source
IsLoaded()
Declaration
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
RenderChar(ImDrawListPtr, Single, Vector2, UInt32, UInt16)
Declaration
public void RenderChar(ImDrawListPtr draw_list, float size, Vector2 pos, uint col, ushort c)
Parameters
| Type |
Name |
Description |
| ImDrawListPtr |
draw_list |
|
| System.Single |
size |
|
| System.Numerics.Vector2 |
pos |
|
| System.UInt32 |
col |
|
| System.UInt16 |
c |
|
|
Improve this Doc
View Source
SetFallbackChar(UInt16)
Declaration
public void SetFallbackChar(ushort c)
Parameters
| Type |
Name |
Description |
| System.UInt16 |
c |
|
|
Improve this Doc
View Source
SetGlyphVisible(UInt16, Boolean)
Declaration
public void SetGlyphVisible(ushort c, bool visible)
Parameters
| Type |
Name |
Description |
| System.UInt16 |
c |
|
| System.Boolean |
visible |
|
Operators
|
Improve this Doc
View Source
Implicit(ImFont* to ImFontPtr)
Declaration
public static implicit operator ImFontPtr(ImFont*nativePtr)
Parameters
| Type |
Name |
Description |
| ImFont* |
nativePtr |
|
Returns
|
Improve this Doc
View Source
Implicit(ImFontPtr to ImFont*)
Declaration
public static implicit operator ImFont*(ImFontPtr wrappedPtr)
Parameters
Returns
|
Improve this Doc
View Source
Implicit(IntPtr to ImFontPtr)
Declaration
public static implicit operator ImFontPtr(IntPtr nativePtr)
Parameters
| Type |
Name |
Description |
| System.IntPtr |
nativePtr |
|
Returns