DrawList: restored non-AA rendering mode.

- the ImDrawListFlags_AntiAliasedFill and ImDrawListFlags_AntiAliasedLines flags work again
- added non-AA rendering for polyline and convex poly filled
- do not use corner textures when AA is not used
- Add missing no-AA for single line case
This commit is contained in:
Mikko Mononen
2026-06-04 10:30:04 +03:00
committed by ocornut
parent 589c83aab9
commit 34fdedfc53
3 changed files with 214 additions and 155 deletions

View File

@@ -148,8 +148,6 @@ HOW TO UPDATE?
- Tree: hierarchy lines (when thickness>1.0f).
- TabBar: selected overline border ((when thickness>1.0f).
- Demo: Custom Rendering: canvas lines.
- (Breaking) Removed support for non-aliased shapes.
- Clearing `ImDrawListFlags_AntiAliasedLines` / `ImDrawListFlags_AntiAliasedFill` will have no effect.
- Demo: Custom Rendering: exposed new flags; Showcasing overlapping strokes and
filled shapes; Added an option to animation thickness; Added new shapes to
showcase new rendering features that previously hit limitations.