mirror of
https://github.com/ocornut/imgui.git
synced 2026-08-21 06:41:09 +00:00
DrawList: consistently support scope flags (ImDrawFlags::Flags) + primitive flags.
ImDrawFlags_AAEnds and ImDrawFlags_StrokeLegacy ok. (the most important ones). ImDrawFlags_UseTexForRoundCorners ok. ImDrawFlags_AAFill, ImDrawFlags_AAStrokes: for primitives: only for selected ones taking flags params. Haven't added the flag to all functions because it feels like a fringe use case. ImDrawFlags_TextNoPixelSnap supported in RenderText(), per-prim (9417)
This commit is contained in:
@@ -151,6 +151,7 @@ HOW TO UPDATE?
|
||||
Unifying them allows easily using them for both per-primitives and scope alterations.
|
||||
- (Breaking) Enabling ImFontAtlasFlags_NoBakedLines in the font atlas will disable
|
||||
support for anti-aliased lines.
|
||||
- `ImDrawFlags_TextNoPixelSnap` may be passed to low-level RenderText() primitive. (#9417)
|
||||
- Tweaked line rendering in various locations to avoid blurryness:
|
||||
- Windows: title-bar and menu-bar border (when thickness>1.0f).
|
||||
- Tables: borders (when thickness>1.0f).
|
||||
|
||||
Reference in New Issue
Block a user