Skip to content

DIWNE::DDraw

Functions

Name
voidAddInnerRoundedRectScreen(const ImVec2 & min, const ImVec2 & max, const ImVec4 & col, float rounding, ImDrawFlags flags, float thickness, float offset)<br>Draws a rounded border inside the given min/max bounds. Needed to properly aling rounded corners.
voidAddLineRaw(ImDrawList * idl, const ImVec2 & p1, const ImVec2 & p2, ImU32 col, float thickness)
voidAddRectFilledBorderedScreen(const ImVec2 & min, const ImVec2 & max, const ImVec4 & col, const ImVec4 & borderCol, float rounding, ImDrawFlags flags, float thickness)
voidAddRectFilledDoubleBorderedScreen(const ImVec2 & min, const ImVec2 & max, const ImVec4 & col, const ImVec4 & borderCol1, const ImVec4 & borderCol2, float rounding, ImDrawFlags flags, float thickness1, float thickness2)
voidAddRectFilledOffsetScreen(const ImVec2 & min, const ImVec2 & max, const ImVec4 & col, float rounding, ImDrawFlags flags, float offset, bool adjustRounding =true)
voiddrawSpringDebug(const ImVec2 & pos, ImVec2 springSize, bool horizontal)

Functions Documentation

function AddInnerRoundedRectScreen

cpp
inline void AddInnerRoundedRectScreen(
    const ImVec2 & min,
    const ImVec2 & max,
    const ImVec4 & col,
    float rounding,
    ImDrawFlags flags,
    float thickness,
    float offset
)
inline void AddInnerRoundedRectScreen(
    const ImVec2 & min,
    const ImVec2 & max,
    const ImVec4 & col,
    float rounding,
    ImDrawFlags flags,
    float thickness,
    float offset
)

Draws a rounded border inside the given min/max bounds. Needed to properly aling rounded corners.

function AddLineRaw

cpp
inline void AddLineRaw(
    ImDrawList * idl,
    const ImVec2 & p1,
    const ImVec2 & p2,
    ImU32 col,
    float thickness
)
inline void AddLineRaw(
    ImDrawList * idl,
    const ImVec2 & p1,
    const ImVec2 & p2,
    ImU32 col,
    float thickness
)

function AddRectFilledBorderedScreen

cpp
inline void AddRectFilledBorderedScreen(
    const ImVec2 & min,
    const ImVec2 & max,
    const ImVec4 & col,
    const ImVec4 & borderCol,
    float rounding,
    ImDrawFlags flags,
    float thickness
)
inline void AddRectFilledBorderedScreen(
    const ImVec2 & min,
    const ImVec2 & max,
    const ImVec4 & col,
    const ImVec4 & borderCol,
    float rounding,
    ImDrawFlags flags,
    float thickness
)

function AddRectFilledDoubleBorderedScreen

cpp
inline void AddRectFilledDoubleBorderedScreen(
    const ImVec2 & min,
    const ImVec2 & max,
    const ImVec4 & col,
    const ImVec4 & borderCol1,
    const ImVec4 & borderCol2,
    float rounding,
    ImDrawFlags flags,
    float thickness1,
    float thickness2
)
inline void AddRectFilledDoubleBorderedScreen(
    const ImVec2 & min,
    const ImVec2 & max,
    const ImVec4 & col,
    const ImVec4 & borderCol1,
    const ImVec4 & borderCol2,
    float rounding,
    ImDrawFlags flags,
    float thickness1,
    float thickness2
)

function AddRectFilledOffsetScreen

cpp
inline void AddRectFilledOffsetScreen(
    const ImVec2 & min,
    const ImVec2 & max,
    const ImVec4 & col,
    float rounding,
    ImDrawFlags flags,
    float offset,
    bool adjustRounding =true
)
inline void AddRectFilledOffsetScreen(
    const ImVec2 & min,
    const ImVec2 & max,
    const ImVec4 & col,
    float rounding,
    ImDrawFlags flags,
    float offset,
    bool adjustRounding =true
)

function drawSpringDebug

cpp
void drawSpringDebug(
    const ImVec2 & pos,
    ImVec2 springSize,
    bool horizontal
)
void drawSpringDebug(
    const ImVec2 & pos,
    ImVec2 springSize,
    bool horizontal
)

Updated on 2025-05-31 at 12:55:31 +0000