Interface IFontAtlasBuildToolkit
Common stuff for Dalamud.Interface.ManagedFontAtlas.IFontAtlasBuildToolkitPreBuild and Dalamud.Interface.ManagedFontAtlas.IFontAtlasBuildToolkitPostBuild.
Not intended for plugins to implement.
Assembly: Dalamud.dll
public interface IFontAtlasBuildToolkit
Properties
Font
Gets or sets the font relevant to the call.
ImFontPtr Font { get; set; }
Scale
Gets the current scale this font atlas is being built with.
float Scale { get; }
IsAsyncBuildOperation
Gets a value indicating whether the current build operation is asynchronous.
bool IsAsyncBuildOperation { get; }
BuildStep
Gets the current build step.
FontAtlasBuildStep BuildStep { get; }
NewImAtlas
Gets the font atlas being built.
ImFontAtlasPtr NewImAtlas { get; }
Fonts
Gets the wrapper for Dalamud.Bindings.ImGui.ImFontAtlas.Fonts of Dalamud.Interface.ManagedFontAtlas.IFontAtlasBuildToolkit.NewImAtlas.
This does not need to be disposed. Calling System.IDisposable.Dispose does nothing.-
Modification of this vector may result in undefined behaviors.
ImVectorWrapper<ImFontPtr> Fonts { get; }
Methods
DisposeWithAtlas<T>(T)
Queues an item to be disposed after the native atlas gets disposed, successful or not.
T DisposeWithAtlas<T>(T disposable) where T : IDisposable
Returns
<T>: The same <code class="paramref">disposable</code>.