Current layout cursor, copied as {x,y} in absolute screen coordinates; not a writable native view.
By "cursor" we mean the current output position.
The typical widget behavior is to output themselves at the current cursor position, then move the cursor one line down.
You can call SameLine() between widgets to undo the last carriage return and output at the right of the preceding widget.
YOU CAN DO 99% OF WHAT YOU NEED WITH ONLY GetCursorScreenPos() and GetContentRegionAvail().
Attention! We currently have inconsistencies between window-local and absolute positions we will aim to fix with future API:
Absolute coordinate: GetCursorScreenPos(), SetCursorScreenPos(), all
ImGui.ImDrawList_* functions. This is the preferred coordinate system.
Window-local coordinates: SameLineEx(offset), GetCursorPos(), SetCursorPos(), GetCursorStartPos(), PushTextWrapPos()
Window-local coordinates: GetContentRegionMax(), GetWindowContentRegionMin(), GetWindowContentRegionMax() --> all obsoleted. YOU DON'T NEED THEM.
GetCursorScreenPos() = GetCursorPos() + GetWindowPos(). GetWindowPos() is almost only ever useful to convert from window-local to absolute coordinates. Try not to use it.
cursor position, absolute coordinates. THIS IS YOUR BEST FRIEND (prefer using this rather than GetCursorPos(), also more useful to work with ImDrawList API).
Get the layout cursor position in screen coordinates.