#include <imgui.h>
Public Member Functions | |
IMGUI_API void | AddBezierCurve (const ImVec2 &pos0, const ImVec2 &cp0, const ImVec2 &cp1, const ImVec2 &pos1, ImU32 col, float thickness, int num_segments=0) |
IMGUI_API void | AddCallback (ImDrawCallback callback, void *callback_data) |
IMGUI_API void | AddCircle (const ImVec2 ¢re, float radius, ImU32 col, int num_segments=12, float thickness=1.0f) |
IMGUI_API void | AddCircleFilled (const ImVec2 ¢re, float radius, ImU32 col, int num_segments=12) |
IMGUI_API void | AddConvexPolyFilled (const ImVec2 *points, const int num_points, ImU32 col, bool anti_aliased) |
IMGUI_API void | AddDrawCmd () |
IMGUI_API void | AddImage (ImTextureID user_texture_id, const ImVec2 &a, const ImVec2 &b, const ImVec2 &uv0=ImVec2(0, 0), const ImVec2 &uv1=ImVec2(1, 1), ImU32 col=0xFFFFFFFF) |
IMGUI_API void | AddLine (const ImVec2 &a, const ImVec2 &b, ImU32 col, float thickness=1.0f) |
IMGUI_API void | AddPolyline (const ImVec2 *points, const int num_points, ImU32 col, bool closed, float thickness, bool anti_aliased) |
IMGUI_API void | AddQuad (const ImVec2 &a, const ImVec2 &b, const ImVec2 &c, const ImVec2 &d, ImU32 col, float thickness=1.0f) |
IMGUI_API void | AddQuadFilled (const ImVec2 &a, const ImVec2 &b, const ImVec2 &c, const ImVec2 &d, ImU32 col) |
IMGUI_API void | AddRect (const ImVec2 &a, const ImVec2 &b, ImU32 col, float rounding=0.0f, int rounding_corners=0x0F, float thickness=1.0f) |
IMGUI_API void | AddRectFilled (const ImVec2 &a, const ImVec2 &b, ImU32 col, float rounding=0.0f, int rounding_corners=0x0F) |
IMGUI_API void | AddRectFilledMultiColor (const ImVec2 &a, const ImVec2 &b, ImU32 col_upr_left, ImU32 col_upr_right, ImU32 col_bot_right, ImU32 col_bot_left) |
IMGUI_API void | AddText (const ImVec2 &pos, ImU32 col, const char *text_begin, const char *text_end=NULL) |
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 | AddTriangle (const ImVec2 &a, const ImVec2 &b, const ImVec2 &c, ImU32 col, float thickness=1.0f) |
IMGUI_API void | AddTriangleFilled (const ImVec2 &a, const ImVec2 &b, const ImVec2 &c, ImU32 col) |
IMGUI_API void | ChannelsMerge () |
IMGUI_API void | ChannelsSetCurrent (int channel_index) |
IMGUI_API void | ChannelsSplit (int channels_count) |
IMGUI_API void | Clear () |
IMGUI_API void | ClearFreeMemory () |
ImDrawList () | |
IMGUI_API void | PathArcTo (const ImVec2 ¢re, float radius, float a_min, float a_max, int num_segments=10) |
IMGUI_API void | PathArcToFast (const ImVec2 ¢re, float radius, int a_min_of_12, int a_max_of_12) |
IMGUI_API void | PathBezierCurveTo (const ImVec2 &p1, const ImVec2 &p2, const ImVec2 &p3, int num_segments=0) |
void | PathClear () |
void | PathFill (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, int rounding_corners=0x0F) |
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) |
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 (const ImTextureID &texture_id) |
IMGUI_API void | UpdateClipRect () |
IMGUI_API void | UpdateTextureID () |
~ImDrawList () | |
Public Attributes | |
ImVector< ImDrawChannel > | _Channels |
int | _ChannelsCount |
int | _ChannelsCurrent |
ImVector< ImVec4 > | _ClipRectStack |
ImDrawIdx * | _IdxWritePtr |
const char * | _OwnerName |
ImVector< ImVec2 > | _Path |
ImVector< ImTextureID > | _TextureIdStack |
unsigned int | _VtxCurrentIdx |
ImDrawVert * | _VtxWritePtr |
ImVector< ImDrawCmd > | CmdBuffer |
ImVector< ImDrawIdx > | IdxBuffer |
ImVector< ImDrawVert > | VtxBuffer |
void ImDrawList::AddBezierCurve | ( | const ImVec2 & | pos0, |
const ImVec2 & | cp0, | ||
const ImVec2 & | cp1, | ||
const ImVec2 & | pos1, | ||
ImU32 | col, | ||
float | thickness, | ||
int | num_segments = 0 |
||
) |
Definition at line 911 of file imgui_draw.cpp.
void ImDrawList::AddCallback | ( | ImDrawCallback | callback, |
void * | callback_data | ||
) |
Definition at line 170 of file imgui_draw.cpp.
void ImDrawList::AddCircle | ( | const ImVec2 & | centre, |
float | radius, | ||
ImU32 | col, | ||
int | num_segments = 12 , |
||
float | thickness = 1.0f |
||
) |
Definition at line 891 of file imgui_draw.cpp.
void ImDrawList::AddCircleFilled | ( | const ImVec2 & | centre, |
float | radius, | ||
ImU32 | col, | ||
int | num_segments = 12 |
||
) |
Definition at line 901 of file imgui_draw.cpp.
void ImDrawList::AddConvexPolyFilled | ( | const ImVec2 * | points, |
const int | num_points, | ||
ImU32 | col, | ||
bool | anti_aliased | ||
) |
Definition at line 593 of file imgui_draw.cpp.
void ImDrawList::AddDrawCmd | ( | ) |
Definition at line 160 of file imgui_draw.cpp.
void ImDrawList::AddImage | ( | ImTextureID | user_texture_id, |
const ImVec2 & | a, | ||
const ImVec2 & | b, | ||
const ImVec2 & | uv0 = ImVec2(0,0) , |
||
const ImVec2 & | uv1 = ImVec2(1,1) , |
||
ImU32 | col = 0xFFFFFFFF |
||
) |
Definition at line 956 of file imgui_draw.cpp.
Definition at line 796 of file imgui_draw.cpp.
void ImDrawList::AddPolyline | ( | const ImVec2 * | points, |
const int | num_points, | ||
ImU32 | col, | ||
bool | closed, | ||
float | thickness, | ||
bool | anti_aliased | ||
) |
Definition at line 412 of file imgui_draw.cpp.
void ImDrawList::AddQuad | ( | const ImVec2 & | a, |
const ImVec2 & | b, | ||
const ImVec2 & | c, | ||
const ImVec2 & | d, | ||
ImU32 | col, | ||
float | thickness = 1.0f |
||
) |
Definition at line 845 of file imgui_draw.cpp.
void ImDrawList::AddQuadFilled | ( | const ImVec2 & | a, |
const ImVec2 & | b, | ||
const ImVec2 & | c, | ||
const ImVec2 & | d, | ||
ImU32 | col | ||
) |
Definition at line 857 of file imgui_draw.cpp.
void ImDrawList::AddRect | ( | const ImVec2 & | a, |
const ImVec2 & | b, | ||
ImU32 | col, | ||
float | rounding = 0.0f , |
||
int | rounding_corners = 0x0F , |
||
float | thickness = 1.0f |
||
) |
Definition at line 806 of file imgui_draw.cpp.
void ImDrawList::AddRectFilled | ( | const ImVec2 & | a, |
const ImVec2 & | b, | ||
ImU32 | col, | ||
float | rounding = 0.0f , |
||
int | rounding_corners = 0x0F |
||
) |
Definition at line 814 of file imgui_draw.cpp.
void ImDrawList::AddRectFilledMultiColor | ( | const ImVec2 & | a, |
const ImVec2 & | b, | ||
ImU32 | col_upr_left, | ||
ImU32 | col_upr_right, | ||
ImU32 | col_bot_right, | ||
ImU32 | col_bot_left | ||
) |
Definition at line 830 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 951 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 921 of file imgui_draw.cpp.
void ImDrawList::AddTriangle | ( | const ImVec2 & | a, |
const ImVec2 & | b, | ||
const ImVec2 & | c, | ||
ImU32 | col, | ||
float | thickness = 1.0f |
||
) |
Definition at line 869 of file imgui_draw.cpp.
void ImDrawList::AddTriangleFilled | ( | const ImVec2 & | a, |
const ImVec2 & | b, | ||
const ImVec2 & | c, | ||
ImU32 | col | ||
) |
Definition at line 880 of file imgui_draw.cpp.
void ImDrawList::ChannelsMerge | ( | ) |
Definition at line 305 of file imgui_draw.cpp.
void ImDrawList::ChannelsSetCurrent | ( | int | channel_index | ) |
Definition at line 339 of file imgui_draw.cpp.
void ImDrawList::ChannelsSplit | ( | int | channels_count | ) |
Definition at line 272 of file imgui_draw.cpp.
void ImDrawList::Clear | ( | ) |
Definition at line 118 of file imgui_draw.cpp.
void ImDrawList::ClearFreeMemory | ( | ) |
Definition at line 134 of file imgui_draw.cpp.
void ImDrawList::PathArcTo | ( | const ImVec2 & | centre, |
float | radius, | ||
float | a_min, | ||
float | a_max, | ||
int | num_segments = 10 |
||
) |
Definition at line 708 of file imgui_draw.cpp.
void ImDrawList::PathArcToFast | ( | const ImVec2 & | centre, |
float | radius, | ||
int | a_min_of_12, | ||
int | a_max_of_12 | ||
) |
Definition at line 676 of file imgui_draw.cpp.
void ImDrawList::PathBezierCurveTo | ( | const ImVec2 & | p1, |
const ImVec2 & | p2, | ||
const ImVec2 & | p3, | ||
int | num_segments = 0 |
||
) |
Definition at line 746 of file imgui_draw.cpp.
void ImDrawList::PathRect | ( | const ImVec2 & | rect_min, |
const ImVec2 & | rect_max, | ||
float | rounding = 0.0f , |
||
int | rounding_corners = 0x0F |
||
) |
Definition at line 770 of file imgui_draw.cpp.
void ImDrawList::PopClipRect | ( | ) |
Definition at line 252 of file imgui_draw.cpp.
void ImDrawList::PopTextureID | ( | ) |
Definition at line 265 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 397 of file imgui_draw.cpp.
Definition at line 367 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 382 of file imgui_draw.cpp.
void ImDrawList::PrimReserve | ( | int | idx_count, |
int | vtx_count | ||
) |
Definition at line 352 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 228 of file imgui_draw.cpp.
void ImDrawList::PushClipRectFullScreen | ( | ) |
Definition at line 246 of file imgui_draw.cpp.
void ImDrawList::PushTextureID | ( | const ImTextureID & | texture_id | ) |
Definition at line 259 of file imgui_draw.cpp.
void ImDrawList::UpdateClipRect | ( | ) |
Definition at line 186 of file imgui_draw.cpp.
void ImDrawList::UpdateTextureID | ( | ) |
Definition at line 205 of file imgui_draw.cpp.
ImVector<ImDrawChannel> ImDrawList::_Channels |
ImVector<ImTextureID> ImDrawList::_TextureIdStack |
ImDrawVert* ImDrawList::_VtxWritePtr |
ImVector<ImDrawVert> ImDrawList::VtxBuffer |