File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
imgui-binding/src/main/java/imgui Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -85,10 +85,26 @@ public final class ImDrawList {
85
85
Jni::ImVec2Cpy(env, IM_DRAW_LIST->GetClipRectMin(), dstImVec2);
86
86
*/
87
87
88
+ public native float getClipRectMinX (); /*
89
+ return IM_DRAW_LIST->GetClipRectMin().x;
90
+ */
91
+
92
+ public native float getClipRectMinY (); /*
93
+ return IM_DRAW_LIST->GetClipRectMin().y;
94
+ */
95
+
88
96
public native void getClipRectMax (ImVec2 dstImVec2 ); /*
89
97
Jni::ImVec2Cpy(env, IM_DRAW_LIST->GetClipRectMax(), dstImVec2);
90
98
*/
91
99
100
+ public native float getClipRectMaxX (); /*
101
+ return IM_DRAW_LIST->GetClipRectMax().x;
102
+ */
103
+
104
+ public native float getClipRectMaxY (); /*
105
+ return IM_DRAW_LIST->GetClipRectMax().y;
106
+ */
107
+
92
108
// Primitives
93
109
// - For rectangular primitives, "pMin" and "pMax" represent the upper-left and lower-right corners.
94
110
// - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred).
You can’t perform that action at this time.
0 commit comments