From b6b9410b010264fc9e7afecb12b9179117121bdf Mon Sep 17 00:00:00 2001 From: omar Date: Fri, 5 Jun 2026 14:17:42 +0200 Subject: [PATCH] Note about being for 1.93.0 --- Draw-List.md | 2 ++ Pixel-Perfect-Rendering.md | 3 ++- Polyline-Rendering.md | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Draw-List.md b/Draw-List.md index 5ac03c2..f7ae752 100644 --- a/Draw-List.md +++ b/Draw-List.md @@ -1,5 +1,7 @@ # ImDrawList Vector Rendering Reference +⚠️ This documentation is valid for 1.93.0+ which will implement several ImDrawList improvements. The code is available for testing in the features/drawlist_193 branch. Some features and aspects of this document may not be valid for <1.93.0. + ## Overview The ImGui DrawList has number of methods to draw anti-aliased vector shapes. diff --git a/Pixel-Perfect-Rendering.md b/Pixel-Perfect-Rendering.md index 65b61a7..430da7c 100644 --- a/Pixel-Perfect-Rendering.md +++ b/Pixel-Perfect-Rendering.md @@ -1,5 +1,6 @@ # Pixel Perfect Anti-aliased Rendering +⚠️ This documentation is valid for 1.93.0+ which will implement several ImDrawList improvements. The code is available for testing in the features/drawlist_193 branch. Some features and aspects of this document may not be valid for <1.93.0. ## How Anti-aliased Rendering Work? @@ -116,4 +117,4 @@ Combining paths and stroke position can make coordinates simpler easier to compu ## Conclusion -All in all, the general gist for pixel perfect rendering is to think about the boundary of the shapes, rather than focusing on the coordinates, and fill or stroke inside. \ No newline at end of file +All in all, the general gist for pixel perfect rendering is to think about the boundary of the shapes, rather than focusing on the coordinates, and fill or stroke inside. diff --git a/Polyline-Rendering.md b/Polyline-Rendering.md index 944b855..7d12a68 100644 --- a/Polyline-Rendering.md +++ b/Polyline-Rendering.md @@ -1,5 +1,7 @@ # How Anti-aliased Polyline Rendering is Implemented +⚠️ This documentation is valid for 1.93.0+ which will implement several ImDrawList improvements. The code is available for testing in the features/drawlist_193 branch. Some features and aspects of this document may not be valid for <1.93.0. + ![Overview](polyline_rendering/overview.svg) The anti-aliased polyline rendering is based on expanding the stroke of the polyline, and making it slightly blurry by creating a fringe around the perimeter.