Struct ImDrawListPtr
Assembly: ImGui.NET.dll
View Source
Declaration
public struct ImDrawListPtr
Properties
NativePtr
View Source
Declaration
public readonly ImDrawList* NativePtr { get; }
CmdBuffer
View Source
Declaration
public ImPtrVector<ImDrawCmdPtr> CmdBuffer { get; }
IdxBuffer
View Source
Declaration
public ImVector<ushort> IdxBuffer { get; }
VtxBuffer
View Source
Declaration
public ImPtrVector<ImDrawVertPtr> VtxBuffer { get; }
Flags
View Source
Declaration
public ref ImDrawListFlags Flags { get; }
_VtxCurrentIdx
View Source
Declaration
public ref uint _VtxCurrentIdx { get; }
_Data
View Source
Declaration
public ref IntPtr _Data { get; }
_OwnerName
View Source
Declaration
public NullTerminatedString _OwnerName { get; }
_VtxWritePtr
View Source
Declaration
public ImDrawVertPtr _VtxWritePtr { get; }
_IdxWritePtr
View Source
Declaration
public IntPtr _IdxWritePtr { get; set; }
_ClipRectStack
View Source
Declaration
public ImVector<Vector4> _ClipRectStack { get; }
_TextureIdStack
View Source
Declaration
public ImVector<IntPtr> _TextureIdStack { get; }
_Path
View Source
Declaration
public ImVector<Vector2> _Path { get; }
_CmdHeader
View Source
Declaration
public ref ImDrawCmdHeader _CmdHeader { get; }
_Splitter
View Source
Declaration
public ref ImDrawListSplitter _Splitter { get; }
_FringeScale
View Source
Declaration
public ref float _FringeScale { get; }
Methods
_CalcCircleAutoSegmentCount(float)
View Source
Declaration
public int _CalcCircleAutoSegmentCount(float radius)
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.Single | radius |
_ClearFreeMemory()
View Source
Declaration
public void _ClearFreeMemory()
_OnChangedClipRect()
View Source
Declaration
public void _OnChangedClipRect()
_OnChangedTextureID()
View Source
Declaration
public void _OnChangedTextureID()
_OnChangedVtxOffset()
View Source
Declaration
public void _OnChangedVtxOffset()
_PathArcToFastEx(Vector2, float, int, int, int)
View Source
Declaration
public void _PathArcToFastEx(Vector2 center, float radius, int a_min_sample, int a_max_sample, int a_step)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | center |
System.Single | radius |
System.Int32 | a_min_sample |
System.Int32 | a_max_sample |
System.Int32 | a_step |
_PathArcToN(Vector2, float, float, float, int)
View Source
Declaration
public void _PathArcToN(Vector2 center, float radius, float a_min, float a_max, int num_segments)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | center |
System.Single | radius |
System.Single | a_min |
System.Single | a_max |
System.Int32 | num_segments |
_PopUnusedDrawCmd()
View Source
Declaration
public void _PopUnusedDrawCmd()
_ResetForNewFrame()
View Source
Declaration
public void _ResetForNewFrame()
_TryMergeDrawCmds()
View Source
Declaration
public void _TryMergeDrawCmds()
AddBezierCubic(Vector2, Vector2, Vector2, Vector2, uint, float)
View Source
Declaration
public void AddBezierCubic(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p1 |
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.Numerics.Vector2 | p4 |
System.UInt32 | col |
System.Single | thickness |
AddBezierCubic(Vector2, Vector2, Vector2, Vector2, uint, float, int)
View Source
Declaration
public void AddBezierCubic(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int num_segments)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p1 |
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.Numerics.Vector2 | p4 |
System.UInt32 | col |
System.Single | thickness |
System.Int32 | num_segments |
AddBezierQuadratic(Vector2, Vector2, Vector2, uint, float)
View Source
Declaration
public void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p1 |
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.UInt32 | col |
System.Single | thickness |
AddBezierQuadratic(Vector2, Vector2, Vector2, uint, float, int)
View Source
Declaration
public void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int num_segments)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p1 |
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.UInt32 | col |
System.Single | thickness |
System.Int32 | num_segments |
AddCallback(IntPtr, IntPtr)
View Source
Declaration
public void AddCallback(IntPtr callback, IntPtr callback_data)
Parameters
Type | Name |
---|---|
System.IntPtr | callback |
System.IntPtr | callback_data |
AddCircle(Vector2, float, uint)
View Source
Declaration
public void AddCircle(Vector2 center, float radius, uint col)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | center |
System.Single | radius |
System.UInt32 | col |
AddCircle(Vector2, float, uint, int)
View Source
Declaration
public void AddCircle(Vector2 center, float radius, uint col, int num_segments)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | center |
System.Single | radius |
System.UInt32 | col |
System.Int32 | num_segments |
AddCircle(Vector2, float, uint, int, float)
View Source
Declaration
public void AddCircle(Vector2 center, float radius, uint col, int num_segments, float thickness)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | center |
System.Single | radius |
System.UInt32 | col |
System.Int32 | num_segments |
System.Single | thickness |
AddCircleFilled(Vector2, float, uint)
View Source
Declaration
public void AddCircleFilled(Vector2 center, float radius, uint col)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | center |
System.Single | radius |
System.UInt32 | col |
AddCircleFilled(Vector2, float, uint, int)
View Source
Declaration
public void AddCircleFilled(Vector2 center, float radius, uint col, int num_segments)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | center |
System.Single | radius |
System.UInt32 | col |
System.Int32 | num_segments |
AddConvexPolyFilled(ref Vector2, int, uint)
View Source
Declaration
public void AddConvexPolyFilled(ref Vector2 points, int num_points, uint col)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | points |
System.Int32 | num_points |
System.UInt32 | col |
AddDrawCmd()
View Source
Declaration
public void AddDrawCmd()
AddImage(IntPtr, Vector2, Vector2)
View Source
Declaration
public void AddImage(IntPtr user_texture_id, Vector2 p_min, Vector2 p_max)
Parameters
Type | Name |
---|---|
System.IntPtr | user_texture_id |
System.Numerics.Vector2 | p_min |
System.Numerics.Vector2 | p_max |
AddImage(IntPtr, Vector2, Vector2, Vector2)
View Source
Declaration
public void AddImage(IntPtr user_texture_id, Vector2 p_min, Vector2 p_max, Vector2 uv_min)
Parameters
Type | Name |
---|---|
System.IntPtr | user_texture_id |
System.Numerics.Vector2 | p_min |
System.Numerics.Vector2 | p_max |
System.Numerics.Vector2 | uv_min |
AddImage(IntPtr, Vector2, Vector2, Vector2, Vector2)
View Source
Declaration
public void AddImage(IntPtr user_texture_id, Vector2 p_min, Vector2 p_max, Vector2 uv_min, Vector2 uv_max)
Parameters
Type | Name |
---|---|
System.IntPtr | user_texture_id |
System.Numerics.Vector2 | p_min |
System.Numerics.Vector2 | p_max |
System.Numerics.Vector2 | uv_min |
System.Numerics.Vector2 | uv_max |
AddImage(IntPtr, Vector2, Vector2, Vector2, Vector2, uint)
View Source
Declaration
public void AddImage(IntPtr user_texture_id, Vector2 p_min, Vector2 p_max, Vector2 uv_min, Vector2 uv_max, uint col)
Parameters
Type | Name |
---|---|
System.IntPtr | user_texture_id |
System.Numerics.Vector2 | p_min |
System.Numerics.Vector2 | p_max |
System.Numerics.Vector2 | uv_min |
System.Numerics.Vector2 | uv_max |
System.UInt32 | col |
AddImageQuad(IntPtr, Vector2, Vector2, Vector2, Vector2)
View Source
Declaration
public void AddImageQuad(IntPtr user_texture_id, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)
Parameters
Type | Name |
---|---|
System.IntPtr | user_texture_id |
System.Numerics.Vector2 | p1 |
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.Numerics.Vector2 | p4 |
AddImageQuad(IntPtr, Vector2, Vector2, Vector2, Vector2, Vector2)
View Source
Declaration
public void AddImageQuad(IntPtr user_texture_id, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1)
Parameters
Type | Name |
---|---|
System.IntPtr | user_texture_id |
System.Numerics.Vector2 | p1 |
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.Numerics.Vector2 | p4 |
System.Numerics.Vector2 | uv1 |
AddImageQuad(IntPtr, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2)
View Source
Declaration
public void AddImageQuad(IntPtr user_texture_id, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2)
Parameters
Type | Name |
---|---|
System.IntPtr | user_texture_id |
System.Numerics.Vector2 | p1 |
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.Numerics.Vector2 | p4 |
System.Numerics.Vector2 | uv1 |
System.Numerics.Vector2 | uv2 |
AddImageQuad(IntPtr, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2)
View Source
Declaration
public void AddImageQuad(IntPtr user_texture_id, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3)
Parameters
Type | Name |
---|---|
System.IntPtr | user_texture_id |
System.Numerics.Vector2 | p1 |
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.Numerics.Vector2 | p4 |
System.Numerics.Vector2 | uv1 |
System.Numerics.Vector2 | uv2 |
System.Numerics.Vector2 | uv3 |
AddImageQuad(IntPtr, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2)
View Source
Declaration
public void AddImageQuad(IntPtr user_texture_id, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4)
Parameters
Type | Name |
---|---|
System.IntPtr | user_texture_id |
System.Numerics.Vector2 | p1 |
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.Numerics.Vector2 | p4 |
System.Numerics.Vector2 | uv1 |
System.Numerics.Vector2 | uv2 |
System.Numerics.Vector2 | uv3 |
System.Numerics.Vector2 | uv4 |
AddImageQuad(IntPtr, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, uint)
View Source
Declaration
public void AddImageQuad(IntPtr user_texture_id, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col)
Parameters
Type | Name |
---|---|
System.IntPtr | user_texture_id |
System.Numerics.Vector2 | p1 |
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.Numerics.Vector2 | p4 |
System.Numerics.Vector2 | uv1 |
System.Numerics.Vector2 | uv2 |
System.Numerics.Vector2 | uv3 |
System.Numerics.Vector2 | uv4 |
System.UInt32 | col |
AddImageRounded(IntPtr, Vector2, Vector2, Vector2, Vector2, uint, float)
View Source
Declaration
public void AddImageRounded(IntPtr user_texture_id, Vector2 p_min, Vector2 p_max, Vector2 uv_min, Vector2 uv_max, uint col, float rounding)
Parameters
Type | Name |
---|---|
System.IntPtr | user_texture_id |
System.Numerics.Vector2 | p_min |
System.Numerics.Vector2 | p_max |
System.Numerics.Vector2 | uv_min |
System.Numerics.Vector2 | uv_max |
System.UInt32 | col |
System.Single | rounding |
AddImageRounded(IntPtr, Vector2, Vector2, Vector2, Vector2, uint, float, ImDrawFlags)
View Source
Declaration
public void AddImageRounded(IntPtr user_texture_id, Vector2 p_min, Vector2 p_max, Vector2 uv_min, Vector2 uv_max, uint col, float rounding, ImDrawFlags flags)
Parameters
Type | Name |
---|---|
System.IntPtr | user_texture_id |
System.Numerics.Vector2 | p_min |
System.Numerics.Vector2 | p_max |
System.Numerics.Vector2 | uv_min |
System.Numerics.Vector2 | uv_max |
System.UInt32 | col |
System.Single | rounding |
ImGuiNET.ImDrawFlags | flags |
AddLine(Vector2, Vector2, uint)
View Source
Declaration
public void AddLine(Vector2 p1, Vector2 p2, uint col)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p1 |
System.Numerics.Vector2 | p2 |
System.UInt32 | col |
AddLine(Vector2, Vector2, uint, float)
View Source
Declaration
public void AddLine(Vector2 p1, Vector2 p2, uint col, float thickness)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p1 |
System.Numerics.Vector2 | p2 |
System.UInt32 | col |
System.Single | thickness |
AddNgon(Vector2, float, uint, int)
View Source
Declaration
public void AddNgon(Vector2 center, float radius, uint col, int num_segments)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | center |
System.Single | radius |
System.UInt32 | col |
System.Int32 | num_segments |
AddNgon(Vector2, float, uint, int, float)
View Source
Declaration
public void AddNgon(Vector2 center, float radius, uint col, int num_segments, float thickness)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | center |
System.Single | radius |
System.UInt32 | col |
System.Int32 | num_segments |
System.Single | thickness |
AddNgonFilled(Vector2, float, uint, int)
View Source
Declaration
public void AddNgonFilled(Vector2 center, float radius, uint col, int num_segments)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | center |
System.Single | radius |
System.UInt32 | col |
System.Int32 | num_segments |
AddPolyline(ref Vector2, int, uint, ImDrawFlags, float)
View Source
Declaration
public void AddPolyline(ref Vector2 points, int num_points, uint col, ImDrawFlags flags, float thickness)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | points |
System.Int32 | num_points |
System.UInt32 | col |
ImGuiNET.ImDrawFlags | flags |
System.Single | thickness |
AddQuad(Vector2, Vector2, Vector2, Vector2, uint)
View Source
Declaration
public void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p1 |
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.Numerics.Vector2 | p4 |
System.UInt32 | col |
AddQuad(Vector2, Vector2, Vector2, Vector2, uint, float)
View Source
Declaration
public void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p1 |
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.Numerics.Vector2 | p4 |
System.UInt32 | col |
System.Single | thickness |
AddQuadFilled(Vector2, Vector2, Vector2, Vector2, uint)
View Source
Declaration
public void AddQuadFilled(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p1 |
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.Numerics.Vector2 | p4 |
System.UInt32 | col |
AddRect(Vector2, Vector2, uint)
View Source
Declaration
public void AddRect(Vector2 p_min, Vector2 p_max, uint col)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p_min |
System.Numerics.Vector2 | p_max |
System.UInt32 | col |
AddRect(Vector2, Vector2, uint, float)
View Source
Declaration
public void AddRect(Vector2 p_min, Vector2 p_max, uint col, float rounding)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p_min |
System.Numerics.Vector2 | p_max |
System.UInt32 | col |
System.Single | rounding |
AddRect(Vector2, Vector2, uint, float, ImDrawFlags)
View Source
Declaration
public void AddRect(Vector2 p_min, Vector2 p_max, uint col, float rounding, ImDrawFlags flags)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p_min |
System.Numerics.Vector2 | p_max |
System.UInt32 | col |
System.Single | rounding |
ImGuiNET.ImDrawFlags | flags |
AddRect(Vector2, Vector2, uint, float, ImDrawFlags, float)
View Source
Declaration
public void AddRect(Vector2 p_min, Vector2 p_max, uint col, float rounding, ImDrawFlags flags, float thickness)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p_min |
System.Numerics.Vector2 | p_max |
System.UInt32 | col |
System.Single | rounding |
ImGuiNET.ImDrawFlags | flags |
System.Single | thickness |
AddRectFilled(Vector2, Vector2, uint)
View Source
Declaration
public void AddRectFilled(Vector2 p_min, Vector2 p_max, uint col)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p_min |
System.Numerics.Vector2 | p_max |
System.UInt32 | col |
AddRectFilled(Vector2, Vector2, uint, float)
View Source
Declaration
public void AddRectFilled(Vector2 p_min, Vector2 p_max, uint col, float rounding)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p_min |
System.Numerics.Vector2 | p_max |
System.UInt32 | col |
System.Single | rounding |
AddRectFilled(Vector2, Vector2, uint, float, ImDrawFlags)
View Source
Declaration
public void AddRectFilled(Vector2 p_min, Vector2 p_max, uint col, float rounding, ImDrawFlags flags)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p_min |
System.Numerics.Vector2 | p_max |
System.UInt32 | col |
System.Single | rounding |
ImGuiNET.ImDrawFlags | flags |
AddRectFilledMultiColor(Vector2, Vector2, uint, uint, uint, uint)
View Source
Declaration
public void AddRectFilledMultiColor(Vector2 p_min, Vector2 p_max, uint col_upr_left, uint col_upr_right, uint col_bot_right, uint col_bot_left)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p_min |
System.Numerics.Vector2 | p_max |
System.UInt32 | col_upr_left |
System.UInt32 | col_upr_right |
System.UInt32 | col_bot_right |
System.UInt32 | col_bot_left |
AddTriangle(Vector2, Vector2, Vector2, uint)
View Source
Declaration
public void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p1 |
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.UInt32 | col |
AddTriangle(Vector2, Vector2, Vector2, uint, float)
View Source
Declaration
public void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p1 |
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.UInt32 | col |
System.Single | thickness |
AddTriangleFilled(Vector2, Vector2, Vector2, uint)
View Source
Declaration
public void AddTriangleFilled(Vector2 p1, Vector2 p2, Vector2 p3, uint col)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p1 |
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.UInt32 | col |
ChannelsMerge()
View Source
Declaration
public void ChannelsMerge()
ChannelsSetCurrent(int)
View Source
Declaration
public void ChannelsSetCurrent(int n)
Parameters
Type | Name |
---|---|
System.Int32 | n |
ChannelsSplit(int)
View Source
Declaration
public void ChannelsSplit(int count)
Parameters
Type | Name |
---|---|
System.Int32 | count |
CloneOutput()
View Source
Declaration
public ImDrawListPtr CloneOutput()
Returns
Destroy()
View Source
Declaration
public void Destroy()
GetClipRectMax()
View Source
Declaration
public Vector2 GetClipRectMax()
Returns
System.Numerics.Vector2
GetClipRectMin()
View Source
Declaration
public Vector2 GetClipRectMin()
Returns
System.Numerics.Vector2
PathArcTo(Vector2, float, float, float)
View Source
Declaration
public void PathArcTo(Vector2 center, float radius, float a_min, float a_max)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | center |
System.Single | radius |
System.Single | a_min |
System.Single | a_max |
PathArcTo(Vector2, float, float, float, int)
View Source
Declaration
public void PathArcTo(Vector2 center, float radius, float a_min, float a_max, int num_segments)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | center |
System.Single | radius |
System.Single | a_min |
System.Single | a_max |
System.Int32 | num_segments |
PathArcToFast(Vector2, float, int, int)
View Source
Declaration
public void PathArcToFast(Vector2 center, float radius, int a_min_of_12, int a_max_of_12)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | center |
System.Single | radius |
System.Int32 | a_min_of_12 |
System.Int32 | a_max_of_12 |
PathBezierCubicCurveTo(Vector2, Vector2, Vector2)
View Source
Declaration
public void PathBezierCubicCurveTo(Vector2 p2, Vector2 p3, Vector2 p4)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.Numerics.Vector2 | p4 |
PathBezierCubicCurveTo(Vector2, Vector2, Vector2, int)
View Source
Declaration
public void PathBezierCubicCurveTo(Vector2 p2, Vector2 p3, Vector2 p4, int num_segments)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.Numerics.Vector2 | p4 |
System.Int32 | num_segments |
PathBezierQuadraticCurveTo(Vector2, Vector2)
View Source
Declaration
public void PathBezierQuadraticCurveTo(Vector2 p2, Vector2 p3)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
PathBezierQuadraticCurveTo(Vector2, Vector2, int)
View Source
Declaration
public void PathBezierQuadraticCurveTo(Vector2 p2, Vector2 p3, int num_segments)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | p2 |
System.Numerics.Vector2 | p3 |
System.Int32 | num_segments |
PathClear()
View Source
Declaration
public void PathClear()
PathFillConvex(uint)
View Source
Declaration
public void PathFillConvex(uint col)
Parameters
Type | Name |
---|---|
System.UInt32 | col |
PathLineTo(Vector2)
View Source
Declaration
public void PathLineTo(Vector2 pos)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | pos |
PathLineToMergeDuplicate(Vector2)
View Source
Declaration
public void PathLineToMergeDuplicate(Vector2 pos)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | pos |
PathRect(Vector2, Vector2)
View Source
Declaration
public void PathRect(Vector2 rect_min, Vector2 rect_max)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | rect_min |
System.Numerics.Vector2 | rect_max |
PathRect(Vector2, Vector2, float)
View Source
Declaration
public void PathRect(Vector2 rect_min, Vector2 rect_max, float rounding)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | rect_min |
System.Numerics.Vector2 | rect_max |
System.Single | rounding |
PathRect(Vector2, Vector2, float, ImDrawFlags)
View Source
Declaration
public void PathRect(Vector2 rect_min, Vector2 rect_max, float rounding, ImDrawFlags flags)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | rect_min |
System.Numerics.Vector2 | rect_max |
System.Single | rounding |
ImGuiNET.ImDrawFlags | flags |
PathStroke(uint)
View Source
Declaration
public void PathStroke(uint col)
Parameters
Type | Name |
---|---|
System.UInt32 | col |
PathStroke(uint, ImDrawFlags)
View Source
Declaration
public void PathStroke(uint col, ImDrawFlags flags)
Parameters
Type | Name |
---|---|
System.UInt32 | col |
ImGuiNET.ImDrawFlags | flags |
PathStroke(uint, ImDrawFlags, float)
View Source
Declaration
public void PathStroke(uint col, ImDrawFlags flags, float thickness)
Parameters
Type | Name |
---|---|
System.UInt32 | col |
ImGuiNET.ImDrawFlags | flags |
System.Single | thickness |
PopClipRect()
View Source
Declaration
public void PopClipRect()
PopTextureID()
View Source
Declaration
public void PopTextureID()
PrimQuadUV(Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2, uint)
View Source
Declaration
public void PrimQuadUV(Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uv_a, Vector2 uv_b, Vector2 uv_c, Vector2 uv_d, uint col)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | a |
System.Numerics.Vector2 | b |
System.Numerics.Vector2 | c |
System.Numerics.Vector2 | d |
System.Numerics.Vector2 | uv_a |
System.Numerics.Vector2 | uv_b |
System.Numerics.Vector2 | uv_c |
System.Numerics.Vector2 | uv_d |
System.UInt32 | col |
PrimRect(Vector2, Vector2, uint)
View Source
Declaration
public void PrimRect(Vector2 a, Vector2 b, uint col)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | a |
System.Numerics.Vector2 | b |
System.UInt32 | col |
PrimRectUV(Vector2, Vector2, Vector2, Vector2, uint)
View Source
Declaration
public void PrimRectUV(Vector2 a, Vector2 b, Vector2 uv_a, Vector2 uv_b, uint col)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | a |
System.Numerics.Vector2 | b |
System.Numerics.Vector2 | uv_a |
System.Numerics.Vector2 | uv_b |
System.UInt32 | col |
PrimReserve(int, int)
View Source
Declaration
public void PrimReserve(int idx_count, int vtx_count)
Parameters
Type | Name |
---|---|
System.Int32 | idx_count |
System.Int32 | vtx_count |
PrimUnreserve(int, int)
View Source
Declaration
public void PrimUnreserve(int idx_count, int vtx_count)
Parameters
Type | Name |
---|---|
System.Int32 | idx_count |
System.Int32 | vtx_count |
PrimVtx(Vector2, Vector2, uint)
View Source
Declaration
public void PrimVtx(Vector2 pos, Vector2 uv, uint col)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | pos |
System.Numerics.Vector2 | uv |
System.UInt32 | col |
PrimWriteIdx(ushort)
View Source
Declaration
public void PrimWriteIdx(ushort idx)
Parameters
Type | Name |
---|---|
System.UInt16 | idx |
PrimWriteVtx(Vector2, Vector2, uint)
View Source
Declaration
public void PrimWriteVtx(Vector2 pos, Vector2 uv, uint col)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | pos |
System.Numerics.Vector2 | uv |
System.UInt32 | col |
PushClipRect(Vector2, Vector2)
View Source
Declaration
public void PushClipRect(Vector2 clip_rect_min, Vector2 clip_rect_max)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | clip_rect_min |
System.Numerics.Vector2 | clip_rect_max |
PushClipRect(Vector2, Vector2, bool)
View Source
Declaration
public void PushClipRect(Vector2 clip_rect_min, Vector2 clip_rect_max, bool intersect_with_current_clip_rect)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | clip_rect_min |
System.Numerics.Vector2 | clip_rect_max |
System.Boolean | intersect_with_current_clip_rect |
PushClipRectFullScreen()
View Source
Declaration
public void PushClipRectFullScreen()
PushTextureID(IntPtr)
View Source
Declaration
public void PushTextureID(IntPtr texture_id)
Parameters
Type | Name |
---|---|
System.IntPtr | texture_id |
AddText(Vector2, uint, string)
View Source
Declaration
public void AddText(Vector2 pos, uint col, string text_begin)
Parameters
Type | Name |
---|---|
System.Numerics.Vector2 | pos |
System.UInt32 | col |
System.String | text_begin |
AddText(ImFontPtr, float, Vector2, uint, string)
View Source
Declaration
public void AddText(ImFontPtr font, float font_size, Vector2 pos, uint col, string text_begin)
Parameters
Type | Name |
---|---|
ImGuiNET.ImFontPtr | font |
System.Single | font_size |
System.Numerics.Vector2 | pos |
System.UInt32 | col |
System.String | text_begin |