#include <imgui.h>
Public Member Functions | |
| IMGUI_API void | AddBezierCurve (const ImVec2 &p1, const ImVec2 &p2, const ImVec2 &p3, const ImVec2 &p4, ImU32 col, float thickness, int num_segments=0) |
| IMGUI_API void | AddCallback (ImDrawCallback callback, void *callback_data) |
| IMGUI_API void | AddCircle (const ImVec2 ¢er, float radius, ImU32 col, int num_segments=12, float thickness=1.0f) |
| IMGUI_API void | AddCircleFilled (const ImVec2 ¢er, float radius, ImU32 col, int num_segments=12) |
| IMGUI_API void | AddConvexPolyFilled (const ImVec2 *points, int num_points, ImU32 col) |
| IMGUI_API void | AddDrawCmd () |
| IMGUI_API void | AddImage (ImTextureID user_texture_id, const ImVec2 &p_min, const ImVec2 &p_max, const ImVec2 &uv_min=ImVec2(0, 0), const ImVec2 &uv_max=ImVec2(1, 1), ImU32 col=IM_COL32_WHITE) |
| IMGUI_API void | AddImageQuad (ImTextureID user_texture_id, const ImVec2 &p1, const ImVec2 &p2, const ImVec2 &p3, const ImVec2 &p4, const ImVec2 &uv1=ImVec2(0, 0), const ImVec2 &uv2=ImVec2(1, 0), const ImVec2 &uv3=ImVec2(1, 1), const ImVec2 &uv4=ImVec2(0, 1), ImU32 col=IM_COL32_WHITE) |
| IMGUI_API void | AddImageRounded (ImTextureID user_texture_id, const ImVec2 &p_min, const ImVec2 &p_max, const ImVec2 &uv_min, const ImVec2 &uv_max, ImU32 col, float rounding, ImDrawCornerFlags rounding_corners=ImDrawCornerFlags_All) |
| IMGUI_API void | AddLine (const ImVec2 &p1, const ImVec2 &p2, ImU32 col, float thickness=1.0f) |
| IMGUI_API void | AddNgon (const ImVec2 ¢er, float radius, ImU32 col, int num_segments, float thickness=1.0f) |
| IMGUI_API void | AddNgonFilled (const ImVec2 ¢er, float radius, ImU32 col, int num_segments) |
| IMGUI_API void | AddPolyline (const ImVec2 *points, int num_points, ImU32 col, bool closed, float thickness) |
| IMGUI_API void | AddQuad (const ImVec2 &p1, const ImVec2 &p2, const ImVec2 &p3, const ImVec2 &p4, ImU32 col, float thickness=1.0f) |
| IMGUI_API void | AddQuadFilled (const ImVec2 &p1, const ImVec2 &p2, const ImVec2 &p3, const ImVec2 &p4, ImU32 col) |
| IMGUI_API void | AddRect (const ImVec2 &p_min, const ImVec2 &p_max, ImU32 col, float rounding=0.0f, ImDrawCornerFlags rounding_corners=ImDrawCornerFlags_All, float thickness=1.0f) |
| IMGUI_API void | AddRectFilled (const ImVec2 &p_min, const ImVec2 &p_max, ImU32 col, float rounding=0.0f, ImDrawCornerFlags rounding_corners=ImDrawCornerFlags_All) |
| IMGUI_API void | AddRectFilledMultiColor (const ImVec2 &p_min, const ImVec2 &p_max, ImU32 col_upr_left, ImU32 col_upr_right, ImU32 col_bot_right, ImU32 col_bot_left) |
| IMGUI_API void | AddText (const ImFont *font, float font_size, const ImVec2 &pos, ImU32 col, const char *text_begin, const char *text_end=NULL, float wrap_width=0.0f, const ImVec4 *cpu_fine_clip_rect=NULL) |
| IMGUI_API void | AddText (const ImVec2 &pos, ImU32 col, const char *text_begin, const char *text_end=NULL) |
| IMGUI_API void | AddTriangle (const ImVec2 &p1, const ImVec2 &p2, const ImVec2 &p3, ImU32 col, float thickness=1.0f) |
| IMGUI_API void | AddTriangleFilled (const ImVec2 &p1, const ImVec2 &p2, const ImVec2 &p3, ImU32 col) |
| void | ChannelsMerge () |
| void | ChannelsSetCurrent (int n) |
| void | ChannelsSplit (int count) |
| IMGUI_API void | Clear () |
| IMGUI_API void | ClearFreeMemory () |
| IMGUI_API ImDrawList * | CloneOutput () const |
| ImVec2 | GetClipRectMax () const |
| ImVec2 | GetClipRectMin () const |
| ImDrawList (const ImDrawListSharedData *shared_data) | |
| IMGUI_API void | PathArcTo (const ImVec2 ¢er, float radius, float a_min, float a_max, int num_segments=10) |
| IMGUI_API void | PathArcToFast (const ImVec2 ¢er, float radius, int a_min_of_12, int a_max_of_12) |
| IMGUI_API void | PathBezierCurveTo (const ImVec2 &p2, const ImVec2 &p3, const ImVec2 &p4, int num_segments=0) |
| void | PathClear () |
| void | PathFillConvex (ImU32 col) |
| void | PathLineTo (const ImVec2 &pos) |
| void | PathLineToMergeDuplicate (const ImVec2 &pos) |
| IMGUI_API void | PathRect (const ImVec2 &rect_min, const ImVec2 &rect_max, float rounding=0.0f, ImDrawCornerFlags rounding_corners=ImDrawCornerFlags_All) |
| void | PathStroke (ImU32 col, bool closed, float thickness=1.0f) |
| IMGUI_API void | PopClipRect () |
| IMGUI_API void | PopTextureID () |
| IMGUI_API void | PrimQuadUV (const ImVec2 &a, const ImVec2 &b, const ImVec2 &c, const ImVec2 &d, const ImVec2 &uv_a, const ImVec2 &uv_b, const ImVec2 &uv_c, const ImVec2 &uv_d, ImU32 col) |
| IMGUI_API void | PrimRect (const ImVec2 &a, const ImVec2 &b, ImU32 col) |
| IMGUI_API void | PrimRectUV (const ImVec2 &a, const ImVec2 &b, const ImVec2 &uv_a, const ImVec2 &uv_b, ImU32 col) |
| IMGUI_API void | PrimReserve (int idx_count, int vtx_count) |
| IMGUI_API void | PrimUnreserve (int idx_count, int vtx_count) |
| void | PrimVtx (const ImVec2 &pos, const ImVec2 &uv, ImU32 col) |
| void | PrimWriteIdx (ImDrawIdx idx) |
| void | PrimWriteVtx (const ImVec2 &pos, const ImVec2 &uv, ImU32 col) |
| IMGUI_API void | PushClipRect (ImVec2 clip_rect_min, ImVec2 clip_rect_max, bool intersect_with_current_clip_rect=false) |
| IMGUI_API void | PushClipRectFullScreen () |
| IMGUI_API void | PushTextureID (ImTextureID texture_id) |
| IMGUI_API void | UpdateClipRect () |
| IMGUI_API void | UpdateTextureID () |
| ~ImDrawList () | |
Public Attributes | |
| ImVector< ImVec4 > | _ClipRectStack |
| const ImDrawListSharedData * | _Data |
| ImDrawIdx * | _IdxWritePtr |
| const char * | _OwnerName |
| ImVector< ImVec2 > | _Path |
| ImDrawListSplitter | _Splitter |
| ImVector< ImTextureID > | _TextureIdStack |
| unsigned int | _VtxCurrentIdx |
| unsigned int | _VtxCurrentOffset |
| ImDrawVert * | _VtxWritePtr |
| ImVector< ImDrawCmd > | CmdBuffer |
| ImDrawListFlags | Flags |
| ImVector< ImDrawIdx > | IdxBuffer |
| ImVector< ImDrawVert > | VtxBuffer |
|
inline |
| void ImDrawList::AddBezierCurve | ( | const ImVec2 & | p1, |
| const ImVec2 & | p2, | ||
| const ImVec2 & | p3, | ||
| const ImVec2 & | p4, | ||
| ImU32 | col, | ||
| float | thickness, | ||
| int | num_segments = 0 |
||
| ) |
Definition at line 1196 of file imgui_draw.cpp.
| void ImDrawList::AddCallback | ( | ImDrawCallback | callback, |
| void * | callback_data | ||
| ) |
Definition at line 435 of file imgui_draw.cpp.
| void ImDrawList::AddCircle | ( | const ImVec2 & | center, |
| float | radius, | ||
| ImU32 | col, | ||
| int | num_segments = 12, |
||
| float | thickness = 1.0f |
||
| ) |
Definition at line 1111 of file imgui_draw.cpp.
| void ImDrawList::AddCircleFilled | ( | const ImVec2 & | center, |
| float | radius, | ||
| ImU32 | col, | ||
| int | num_segments = 12 |
||
| ) |
Definition at line 1141 of file imgui_draw.cpp.
Definition at line 813 of file imgui_draw.cpp.
| void ImDrawList::AddDrawCmd | ( | ) |
Definition at line 423 of file imgui_draw.cpp.
| void ImDrawList::AddImage | ( | ImTextureID | user_texture_id, |
| const ImVec2 & | p_min, | ||
| const ImVec2 & | p_max, | ||
| const ImVec2 & | uv_min = ImVec2(0, 0), |
||
| const ImVec2 & | uv_max = ImVec2(1, 1), |
||
| ImU32 | col = IM_COL32_WHITE |
||
| ) |
Definition at line 1240 of file imgui_draw.cpp.
| void ImDrawList::AddImageQuad | ( | ImTextureID | user_texture_id, |
| const ImVec2 & | p1, | ||
| const ImVec2 & | p2, | ||
| const ImVec2 & | p3, | ||
| const ImVec2 & | p4, | ||
| const ImVec2 & | uv1 = ImVec2(0, 0), |
||
| const ImVec2 & | uv2 = ImVec2(1, 0), |
||
| const ImVec2 & | uv3 = ImVec2(1, 1), |
||
| const ImVec2 & | uv4 = ImVec2(0, 1), |
||
| ImU32 | col = IM_COL32_WHITE |
||
| ) |
Definition at line 1256 of file imgui_draw.cpp.
| void ImDrawList::AddImageRounded | ( | ImTextureID | user_texture_id, |
| const ImVec2 & | p_min, | ||
| const ImVec2 & | p_max, | ||
| const ImVec2 & | uv_min, | ||
| const ImVec2 & | uv_max, | ||
| ImU32 | col, | ||
| float | rounding, | ||
| ImDrawCornerFlags | rounding_corners = ImDrawCornerFlags_All |
||
| ) |
Definition at line 1272 of file imgui_draw.cpp.
| void ImDrawList::AddLine | ( | const ImVec2 & | p1, |
| const ImVec2 & | p2, | ||
| ImU32 | col, | ||
| float | thickness = 1.0f |
||
| ) |
Definition at line 1011 of file imgui_draw.cpp.
| void ImDrawList::AddNgon | ( | const ImVec2 & | center, |
| float | radius, | ||
| ImU32 | col, | ||
| int | num_segments, | ||
| float | thickness = 1.0f |
||
| ) |
Definition at line 1172 of file imgui_draw.cpp.
Definition at line 1184 of file imgui_draw.cpp.
| void ImDrawList::AddPolyline | ( | const ImVec2 * | points, |
| int | num_points, | ||
| ImU32 | col, | ||
| bool | closed, | ||
| float | thickness | ||
| ) |
Definition at line 625 of file imgui_draw.cpp.
| void ImDrawList::AddQuad | ( | const ImVec2 & | p1, |
| const ImVec2 & | p2, | ||
| const ImVec2 & | p3, | ||
| const ImVec2 & | p4, | ||
| ImU32 | col, | ||
| float | thickness = 1.0f |
||
| ) |
Definition at line 1065 of file imgui_draw.cpp.
| void ImDrawList::AddQuadFilled | ( | const ImVec2 & | p1, |
| const ImVec2 & | p2, | ||
| const ImVec2 & | p3, | ||
| const ImVec2 & | p4, | ||
| ImU32 | col | ||
| ) |
Definition at line 1077 of file imgui_draw.cpp.
| void ImDrawList::AddRect | ( | const ImVec2 & | p_min, |
| const ImVec2 & | p_max, | ||
| ImU32 | col, | ||
| float | rounding = 0.0f, |
||
| ImDrawCornerFlags | rounding_corners = ImDrawCornerFlags_All, |
||
| float | thickness = 1.0f |
||
| ) |
Definition at line 1022 of file imgui_draw.cpp.
| void ImDrawList::AddRectFilled | ( | const ImVec2 & | p_min, |
| const ImVec2 & | p_max, | ||
| ImU32 | col, | ||
| float | rounding = 0.0f, |
||
| ImDrawCornerFlags | rounding_corners = ImDrawCornerFlags_All |
||
| ) |
Definition at line 1033 of file imgui_draw.cpp.
| void ImDrawList::AddRectFilledMultiColor | ( | const ImVec2 & | p_min, |
| const ImVec2 & | p_max, | ||
| ImU32 | col_upr_left, | ||
| ImU32 | col_upr_right, | ||
| ImU32 | col_bot_right, | ||
| ImU32 | col_bot_left | ||
| ) |
Definition at line 1050 of file imgui_draw.cpp.
| void ImDrawList::AddText | ( | const ImFont * | font, |
| float | font_size, | ||
| const ImVec2 & | pos, | ||
| ImU32 | col, | ||
| const char * | text_begin, | ||
| const char * | text_end = NULL, |
||
| float | wrap_width = 0.0f, |
||
| const ImVec4 * | cpu_fine_clip_rect = NULL |
||
| ) |
Definition at line 1206 of file imgui_draw.cpp.
| void ImDrawList::AddText | ( | const ImVec2 & | pos, |
| ImU32 | col, | ||
| const char * | text_begin, | ||
| const char * | text_end = NULL |
||
| ) |
Definition at line 1235 of file imgui_draw.cpp.
| void ImDrawList::AddTriangle | ( | const ImVec2 & | p1, |
| const ImVec2 & | p2, | ||
| const ImVec2 & | p3, | ||
| ImU32 | col, | ||
| float | thickness = 1.0f |
||
| ) |
Definition at line 1089 of file imgui_draw.cpp.
| void ImDrawList::AddTriangleFilled | ( | const ImVec2 & | p1, |
| const ImVec2 & | p2, | ||
| const ImVec2 & | p3, | ||
| ImU32 | col | ||
| ) |
Definition at line 1100 of file imgui_draw.cpp.
| void ImDrawList::Clear | ( | ) |
Definition at line 379 of file imgui_draw.cpp.
| void ImDrawList::ClearFreeMemory | ( | ) |
Definition at line 395 of file imgui_draw.cpp.
| ImDrawList * ImDrawList::CloneOutput | ( | ) | const |
Definition at line 409 of file imgui_draw.cpp.
| void ImDrawList::PathArcTo | ( | const ImVec2 & | center, |
| float | radius, | ||
| float | a_min, | ||
| float | a_max, | ||
| int | num_segments = 10 |
||
| ) |
Definition at line 917 of file imgui_draw.cpp.
| void ImDrawList::PathArcToFast | ( | const ImVec2 & | center, |
| float | radius, | ||
| int | a_min_of_12, | ||
| int | a_max_of_12 | ||
| ) |
Definition at line 894 of file imgui_draw.cpp.
| void ImDrawList::PathBezierCurveTo | ( | const ImVec2 & | p2, |
| const ImVec2 & | p3, | ||
| const ImVec2 & | p4, | ||
| int | num_segments = 0 |
||
| ) |
Definition at line 971 of file imgui_draw.cpp.
| void ImDrawList::PathRect | ( | const ImVec2 & | rect_min, |
| const ImVec2 & | rect_max, | ||
| float | rounding = 0.0f, |
||
| ImDrawCornerFlags | rounding_corners = ImDrawCornerFlags_All |
||
| ) |
Definition at line 986 of file imgui_draw.cpp.
| void ImDrawList::PopClipRect | ( | ) |
Definition at line 516 of file imgui_draw.cpp.
| void ImDrawList::PopTextureID | ( | ) |
Definition at line 529 of file imgui_draw.cpp.
| void ImDrawList::PrimQuadUV | ( | const ImVec2 & | a, |
| const ImVec2 & | b, | ||
| const ImVec2 & | c, | ||
| const ImVec2 & | d, | ||
| const ImVec2 & | uv_a, | ||
| const ImVec2 & | uv_b, | ||
| const ImVec2 & | uv_c, | ||
| const ImVec2 & | uv_d, | ||
| ImU32 | col | ||
| ) |
Definition at line 604 of file imgui_draw.cpp.
Definition at line 574 of file imgui_draw.cpp.
| void ImDrawList::PrimRectUV | ( | const ImVec2 & | a, |
| const ImVec2 & | b, | ||
| const ImVec2 & | uv_a, | ||
| const ImVec2 & | uv_b, | ||
| ImU32 | col | ||
| ) |
Definition at line 589 of file imgui_draw.cpp.
| void ImDrawList::PrimReserve | ( | int | idx_count, |
| int | vtx_count | ||
| ) |
Definition at line 539 of file imgui_draw.cpp.
| void ImDrawList::PrimUnreserve | ( | int | idx_count, |
| int | vtx_count | ||
| ) |
Definition at line 563 of file imgui_draw.cpp.
| void ImDrawList::PushClipRect | ( | ImVec2 | clip_rect_min, |
| ImVec2 | clip_rect_max, | ||
| bool | intersect_with_current_clip_rect = false |
||
| ) |
Definition at line 493 of file imgui_draw.cpp.
| void ImDrawList::PushClipRectFullScreen | ( | ) |
Definition at line 511 of file imgui_draw.cpp.
| void ImDrawList::PushTextureID | ( | ImTextureID | texture_id | ) |
Definition at line 523 of file imgui_draw.cpp.
| void ImDrawList::UpdateClipRect | ( | ) |
Definition at line 451 of file imgui_draw.cpp.
| void ImDrawList::UpdateTextureID | ( | ) |
Definition at line 470 of file imgui_draw.cpp.
| const ImDrawListSharedData* ImDrawList::_Data |
| ImDrawListSplitter ImDrawList::_Splitter |
| ImVector<ImTextureID> ImDrawList::_TextureIdStack |
| ImDrawVert* ImDrawList::_VtxWritePtr |
| ImDrawListFlags ImDrawList::Flags |
| ImVector<ImDrawVert> ImDrawList::VtxBuffer |