mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 14:08:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,265 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImGuiApi.FreeType
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_freetype.h#L29">imgui_freetype.h:29</see>
|
||||
/// <br/><c>enum ImGuiFreeTypeLoaderFlags_</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hinting greatly impacts visuals (and glyph sizes).
|
||||
/// - By default, hinting is enabled and the font's native hinter is preferred over the auto-hinter.
|
||||
/// - When disabled, FreeType generates blurrier glyphs, more or less matches the stb_truetype.h
|
||||
/// - The Default hinting mode usually looks good, but may distort glyphs in an unusual way.
|
||||
/// - The Light hinting mode generates fuzzier glyphs but better matches Microsoft's rasterizer.
|
||||
/// You can set those flags globally in ImFontAtlas::FontLoaderFlags
|
||||
/// You can set those flags on a per font basis in ImFontConfig::FontLoaderFlags
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[Flags]
|
||||
public enum ImGuiFreeTypeLoaderFlags : int
|
||||
{
|
||||
/// No flags set.
|
||||
None = 0,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Disable hinting. This generally generates 'blurrier' bitmap glyphs when the glyph are rendered in any of
|
||||
/// the anti-aliased modes.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_freetype.h#L31">imgui_freetype.h:31</see>
|
||||
/// <br/><c>ImGuiFreeTypeLoaderFlags_NoHinting = 1 << 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hinting greatly impacts visuals (and glyph sizes).
|
||||
/// - By default, hinting is enabled and the font's native hinter is preferred over the auto-hinter.
|
||||
/// - When disabled, FreeType generates blurrier glyphs, more or less matches the stb_truetype.h
|
||||
/// - The Default hinting mode usually looks good, but may distort glyphs in an unusual way.
|
||||
/// - The Light hinting mode generates fuzzier glyphs but better matches Microsoft's rasterizer.
|
||||
/// You can set those flags globally in ImFontAtlas::FontLoaderFlags
|
||||
/// You can set those flags on a per font basis in ImFontConfig::FontLoaderFlags
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
NoHinting = 1 << 0,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Disable auto-hinter.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_freetype.h#L32">imgui_freetype.h:32</see>
|
||||
/// <br/><c>ImGuiFreeTypeLoaderFlags_NoAutoHint = 1 << 1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hinting greatly impacts visuals (and glyph sizes).
|
||||
/// - By default, hinting is enabled and the font's native hinter is preferred over the auto-hinter.
|
||||
/// - When disabled, FreeType generates blurrier glyphs, more or less matches the stb_truetype.h
|
||||
/// - The Default hinting mode usually looks good, but may distort glyphs in an unusual way.
|
||||
/// - The Light hinting mode generates fuzzier glyphs but better matches Microsoft's rasterizer.
|
||||
/// You can set those flags globally in ImFontAtlas::FontLoaderFlags
|
||||
/// You can set those flags on a per font basis in ImFontConfig::FontLoaderFlags
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
NoAutoHint = 1 << 1,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Indicates that the auto-hinter is preferred over the font's native hinter.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_freetype.h#L33">imgui_freetype.h:33</see>
|
||||
/// <br/><c>ImGuiFreeTypeLoaderFlags_ForceAutoHint = 1 << 2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hinting greatly impacts visuals (and glyph sizes).
|
||||
/// - By default, hinting is enabled and the font's native hinter is preferred over the auto-hinter.
|
||||
/// - When disabled, FreeType generates blurrier glyphs, more or less matches the stb_truetype.h
|
||||
/// - The Default hinting mode usually looks good, but may distort glyphs in an unusual way.
|
||||
/// - The Light hinting mode generates fuzzier glyphs but better matches Microsoft's rasterizer.
|
||||
/// You can set those flags globally in ImFontAtlas::FontLoaderFlags
|
||||
/// You can set those flags on a per font basis in ImFontConfig::FontLoaderFlags
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
ForceAutoHint = 1 << 2,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// A lighter hinting algorithm for gray-level modes. Many generated glyphs are fuzzier but better resemble
|
||||
/// their original shape. This is achieved by snapping glyphs to the pixel grid only vertically (Y-axis), as
|
||||
/// is done by Microsoft's ClearType and Adobe's proprietary font renderer. This preserves inter-glyph
|
||||
/// spacing in horizontal text.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_freetype.h#L34">imgui_freetype.h:34</see>
|
||||
/// <br/><c>ImGuiFreeTypeLoaderFlags_LightHinting = 1 << 3</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hinting greatly impacts visuals (and glyph sizes).
|
||||
/// - By default, hinting is enabled and the font's native hinter is preferred over the auto-hinter.
|
||||
/// - When disabled, FreeType generates blurrier glyphs, more or less matches the stb_truetype.h
|
||||
/// - The Default hinting mode usually looks good, but may distort glyphs in an unusual way.
|
||||
/// - The Light hinting mode generates fuzzier glyphs but better matches Microsoft's rasterizer.
|
||||
/// You can set those flags globally in ImFontAtlas::FontLoaderFlags
|
||||
/// You can set those flags on a per font basis in ImFontConfig::FontLoaderFlags
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
LightHinting = 1 << 3,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Strong hinting algorithm that should only be used for monochrome output.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_freetype.h#L35">imgui_freetype.h:35</see>
|
||||
/// <br/><c>ImGuiFreeTypeLoaderFlags_MonoHinting = 1 << 4</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hinting greatly impacts visuals (and glyph sizes).
|
||||
/// - By default, hinting is enabled and the font's native hinter is preferred over the auto-hinter.
|
||||
/// - When disabled, FreeType generates blurrier glyphs, more or less matches the stb_truetype.h
|
||||
/// - The Default hinting mode usually looks good, but may distort glyphs in an unusual way.
|
||||
/// - The Light hinting mode generates fuzzier glyphs but better matches Microsoft's rasterizer.
|
||||
/// You can set those flags globally in ImFontAtlas::FontLoaderFlags
|
||||
/// You can set those flags on a per font basis in ImFontConfig::FontLoaderFlags
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
MonoHinting = 1 << 4,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Styling: Should we artificially embolden the font?
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_freetype.h#L36">imgui_freetype.h:36</see>
|
||||
/// <br/><c>ImGuiFreeTypeLoaderFlags_Bold = 1 << 5</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hinting greatly impacts visuals (and glyph sizes).
|
||||
/// - By default, hinting is enabled and the font's native hinter is preferred over the auto-hinter.
|
||||
/// - When disabled, FreeType generates blurrier glyphs, more or less matches the stb_truetype.h
|
||||
/// - The Default hinting mode usually looks good, but may distort glyphs in an unusual way.
|
||||
/// - The Light hinting mode generates fuzzier glyphs but better matches Microsoft's rasterizer.
|
||||
/// You can set those flags globally in ImFontAtlas::FontLoaderFlags
|
||||
/// You can set those flags on a per font basis in ImFontConfig::FontLoaderFlags
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
Bold = 1 << 5,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Styling: Should we slant the font, emulating italic style?
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_freetype.h#L37">imgui_freetype.h:37</see>
|
||||
/// <br/><c>ImGuiFreeTypeLoaderFlags_Oblique = 1 << 6</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hinting greatly impacts visuals (and glyph sizes).
|
||||
/// - By default, hinting is enabled and the font's native hinter is preferred over the auto-hinter.
|
||||
/// - When disabled, FreeType generates blurrier glyphs, more or less matches the stb_truetype.h
|
||||
/// - The Default hinting mode usually looks good, but may distort glyphs in an unusual way.
|
||||
/// - The Light hinting mode generates fuzzier glyphs but better matches Microsoft's rasterizer.
|
||||
/// You can set those flags globally in ImFontAtlas::FontLoaderFlags
|
||||
/// You can set those flags on a per font basis in ImFontConfig::FontLoaderFlags
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
Oblique = 1 << 6,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Disable anti-aliasing. Combine this with MonoHinting for best results!
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_freetype.h#L38">imgui_freetype.h:38</see>
|
||||
/// <br/><c>ImGuiFreeTypeLoaderFlags_Monochrome = 1 << 7</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hinting greatly impacts visuals (and glyph sizes).
|
||||
/// - By default, hinting is enabled and the font's native hinter is preferred over the auto-hinter.
|
||||
/// - When disabled, FreeType generates blurrier glyphs, more or less matches the stb_truetype.h
|
||||
/// - The Default hinting mode usually looks good, but may distort glyphs in an unusual way.
|
||||
/// - The Light hinting mode generates fuzzier glyphs but better matches Microsoft's rasterizer.
|
||||
/// You can set those flags globally in ImFontAtlas::FontLoaderFlags
|
||||
/// You can set those flags on a per font basis in ImFontConfig::FontLoaderFlags
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
Monochrome = 1 << 7,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Enable FreeType color-layered glyphs
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_freetype.h#L39">imgui_freetype.h:39</see>
|
||||
/// <br/><c>ImGuiFreeTypeLoaderFlags_LoadColor = 1 << 8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hinting greatly impacts visuals (and glyph sizes).
|
||||
/// - By default, hinting is enabled and the font's native hinter is preferred over the auto-hinter.
|
||||
/// - When disabled, FreeType generates blurrier glyphs, more or less matches the stb_truetype.h
|
||||
/// - The Default hinting mode usually looks good, but may distort glyphs in an unusual way.
|
||||
/// - The Light hinting mode generates fuzzier glyphs but better matches Microsoft's rasterizer.
|
||||
/// You can set those flags globally in ImFontAtlas::FontLoaderFlags
|
||||
/// You can set those flags on a per font basis in ImFontConfig::FontLoaderFlags
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
LoadColor = 1 << 8,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Enable FreeType bitmap glyphs
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_freetype.h#L40">imgui_freetype.h:40</see>
|
||||
/// <br/><c>ImGuiFreeTypeLoaderFlags_Bitmap = 1 << 9</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hinting greatly impacts visuals (and glyph sizes).
|
||||
/// - By default, hinting is enabled and the font's native hinter is preferred over the auto-hinter.
|
||||
/// - When disabled, FreeType generates blurrier glyphs, more or less matches the stb_truetype.h
|
||||
/// - The Default hinting mode usually looks good, but may distort glyphs in an unusual way.
|
||||
/// - The Light hinting mode generates fuzzier glyphs but better matches Microsoft's rasterizer.
|
||||
/// You can set those flags globally in ImFontAtlas::FontLoaderFlags
|
||||
/// You can set those flags on a per font basis in ImFontConfig::FontLoaderFlags
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
Bitmap = 1 << 9,
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue