mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-10 08:25:54 +01:00
Updated Draw List (markdown)
parent
d734a26ccc
commit
98ff63e064
16
Draw-List.md
16
Draw-List.md
@ -31,16 +31,16 @@ Some draw functions take draw flags as the last parameter. The flags define opti
|
||||
|
||||
Applies for `AddRect()`, `AddRectFilled()`, and `PathRect()`.
|
||||
|
||||
- **ImDrawFlags_RoundCornersTopLeft**: round top-left corner
|
||||
- **ImDrawFlags_RoundCornersTopRight**: round top-right corner
|
||||
- **ImDrawFlags_RoundCornersBottomLeft**: round bottom-left corner
|
||||
- **ImDrawFlags_RoundCornersBottomRight**: round bottom-right corner
|
||||
- **ImDrawFlags_RoundCornersNone**: disable rounding
|
||||
- **ImDrawFlags_RoundCornersAll**: round all corners
|
||||
- **ImDrawFlags_RoundAll**: round all corners (default if `rounding > 0`)
|
||||
- **ImDrawFlags_RoundNone**: disable rounding (default if `rounding <= 0`)
|
||||
- **ImDrawFlags_RoundTopLeft**: round top-left corner
|
||||
- **ImDrawFlags_RoundTopRight**: round top-right corner
|
||||
- **ImDrawFlags_RoundBottomLeft**: round bottom-left corner
|
||||
- **ImDrawFlags_RoundBottomRight**: round bottom-right corner
|
||||
|
||||
When not specified and `rounding` > 0, the default is **ImDrawFlags_RoundCornersAll**. Use **ImDrawFlags_RoundCornersNone** to disable roudning even if `rounding` is specified. The rounding flags cam be combined to round any combination of corners.
|
||||
When not specified and `rounding` > 0, the default is **ImDrawFlags_RoundAll**. Use **ImDrawFlags_RoundNone** to disable rounding even if `rounding > 0` is specified. The rounding flags cam be combined to round any combination of corners.
|
||||
|
||||
The following common combinations are defined for convenience: **ImDrawFlags_RoundCornersTop**, **ImDrawFlags_RoundCornersBottom**, **ImDrawFlags_RoundCornersLeft**, **ImDrawFlags_RoundCornersRight**.
|
||||
The following common combinations are defined for convenience: **ImDrawFlags_RoundTop**, **ImDrawFlags_RoundBottom**, **ImDrawFlags_RoundLeft**, **ImDrawFlags_RoundRight**.
|
||||
|
||||

|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user