mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-06 06:25:54 +01:00
Note about being for 1.93.0
parent
969413cdd7
commit
b6b9410b01
@ -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.
|
||||
|
||||
@ -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.
|
||||
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.
|
||||
|
||||
@ -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.
|
||||
|
||||

|
||||
|
||||
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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user