Texture-based thick lines: Allow interpolation between textures for non-integer line widths

This commit is contained in:
Ben Carter
2020-02-06 14:30:29 +09:00
committed by omar
parent 222b7ddbfa
commit 403bf45245
3 changed files with 55 additions and 37 deletions

View File

@ -2323,7 +2323,7 @@ struct ImFontAtlas
// [Internal] Packing data
int PackIdMouseCursors; // Custom texture rectangle ID for white pixel and mouse cursors
ImVector<int> AALineRectIds; // Custom texture rectangle IDs for anti-aliased lines
int AALineRectId; // Custom texture rectangle ID for anti-aliased lines
ImVector<ImVec4> TexUvAALines; // UVs for anti-aliased line textures
#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS