Public Member Functions | Public Attributes | List of all members
ImDrawList Struct Reference

#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 &centre, float radius, ImU32 col, int num_segments=12, float thickness=1.0f)
 
IMGUI_API void AddCircleFilled (const ImVec2 &centre, 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 &centre, float radius, float a_min, float a_max, int num_segments=10)
 
IMGUI_API void PathArcToFast (const ImVec2 &centre, 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< ImDrawCmdCmdBuffer
 
ImVector< ImDrawIdxIdxBuffer
 
ImVector< ImDrawVertVtxBuffer
 

Detailed Description

Definition at line 1214 of file imgui.h.

Constructor & Destructor Documentation

ImDrawList::ImDrawList ( )
inline

Definition at line 1233 of file imgui.h.

ImDrawList::~ImDrawList ( )
inline

Definition at line 1234 of file imgui.h.

Member Function Documentation

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.

void ImDrawList::AddLine ( const ImVec2 a,
const ImVec2 b,
ImU32  col,
float  thickness = 1.0f 
)

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::PathClear ( )
inline

Definition at line 1260 of file imgui.h.

void ImDrawList::PathFill ( ImU32  col)
inline

Definition at line 1263 of file imgui.h.

void ImDrawList::PathLineTo ( const ImVec2 pos)
inline

Definition at line 1261 of file imgui.h.

void ImDrawList::PathLineToMergeDuplicate ( const ImVec2 pos)
inline

Definition at line 1262 of file imgui.h.

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::PathStroke ( ImU32  col,
bool  closed,
float  thickness = 1.0f 
)
inline

Definition at line 1264 of file imgui.h.

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.

void ImDrawList::PrimRect ( const ImVec2 a,
const ImVec2 b,
ImU32  col 
)

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::PrimVtx ( const ImVec2 pos,
const ImVec2 uv,
ImU32  col 
)
inline

Definition at line 1291 of file imgui.h.

void ImDrawList::PrimWriteIdx ( ImDrawIdx  idx)
inline

Definition at line 1290 of file imgui.h.

void ImDrawList::PrimWriteVtx ( const ImVec2 pos,
const ImVec2 uv,
ImU32  col 
)
inline

Definition at line 1289 of file imgui.h.

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.

Member Data Documentation

ImVector<ImDrawChannel> ImDrawList::_Channels

Definition at line 1231 of file imgui.h.

int ImDrawList::_ChannelsCount

Definition at line 1230 of file imgui.h.

int ImDrawList::_ChannelsCurrent

Definition at line 1229 of file imgui.h.

ImVector<ImVec4> ImDrawList::_ClipRectStack

Definition at line 1226 of file imgui.h.

ImDrawIdx* ImDrawList::_IdxWritePtr

Definition at line 1225 of file imgui.h.

const char* ImDrawList::_OwnerName

Definition at line 1222 of file imgui.h.

ImVector<ImVec2> ImDrawList::_Path

Definition at line 1228 of file imgui.h.

ImVector<ImTextureID> ImDrawList::_TextureIdStack

Definition at line 1227 of file imgui.h.

unsigned int ImDrawList::_VtxCurrentIdx

Definition at line 1223 of file imgui.h.

ImDrawVert* ImDrawList::_VtxWritePtr

Definition at line 1224 of file imgui.h.

ImVector<ImDrawCmd> ImDrawList::CmdBuffer

Definition at line 1217 of file imgui.h.

ImVector<ImDrawIdx> ImDrawList::IdxBuffer

Definition at line 1218 of file imgui.h.

ImVector<ImDrawVert> ImDrawList::VtxBuffer

Definition at line 1219 of file imgui.h.


The documentation for this struct was generated from the following files:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:32