mirror of
https://github.com/ocornut/imgui.git
synced 2026-09-26 16:05:45 +03:00
Inverted ImDrawFlags_NoAAEnds into ImDrawFlags_AAEnds.
parent
8680cd971f
commit
c800ca9058
1 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@ The Default Stroke Position may be overidden by passing one of the dedicated `Im
|
|||
- **ImDrawFlags_Closed**: This option closes the path by drawing a line from first to last point. Applies to `AddPolyline()`and `PathStroke()`
|
||||
- **ImDrawFlags_MiterOnly**: This option chooses a fast path in the rendering and skips logic that tried to handle very sharp corners. Can be used for well behaved shapes to speed up rendering. Applies to all stroked shapes.
|
||||
- **ImDrawFlags_SquareCap**: Expands the ends of an open path so that they extend hand line thickess beyond the end points. Applies to `AddPolyline()`and `PathStroke()`.
|
||||
- **ImDrawFlags_NoAAEnds**: Does not render anti-aliased ends for lines. This can speed up single line rendering, at the expense of aliasing and potentially missed pixels. Applies to `AddPolyline()`and `PathStroke()`.
|
||||
- **ImDrawFlags_AAEnds**: Enable rendering anti-aliased ends for lines. Slightly slower but also smoother, and prevents aliasing and missed pixels. Applies to `AddPolyline()`and `PathStroke()`.
|
||||
|
||||

|
||||
|
||||
|
|
@ -446,7 +446,7 @@ The rendering uses textures for ant ialiasing for all line thicknesses. This all
|
|||
|
||||
If drawing a closed shape, you can omit the last segment and use flag `ImDrawFlags_Closed`. This will also create correct line joins between the first and last segment.
|
||||
|
||||
By default, the line ends are anti-aliased. This can be turned off with flag `ImDrawFlags_NoAAEnds` for slight performance increase.
|
||||
By default, the line ends are NOT anti-aliased for performance reasons. This can be turned on with flag `ImDrawFlags_AAEnds`.
|
||||
|
||||
The line ends can have square caps using flag `ImDrawFlags_SquareCap`, which will extend the line by half thickness. This can help to render widgets at various sizes.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue