You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Size of the viewport to render (== io.DisplaySize for the main viewport)
211
+
* (DisplayPos + DisplaySize == lower-right of the orthogonal projection matrix to use)
212
+
*/
213
+
publicnativefloatgetDisplaySizeX(); /*
214
+
return IM_DRAW_DATA->DisplaySize.x;
215
+
*/
216
+
217
+
/**
218
+
* Size of the viewport to render (== io.DisplaySize for the main viewport)
219
+
* (DisplayPos + DisplaySize == lower-right of the orthogonal projection matrix to use)
220
+
*/
221
+
publicnativefloatgetDisplaySizeY(); /*
222
+
return IM_DRAW_DATA->DisplaySize.y;
223
+
*/
224
+
195
225
/**
196
226
* Amount of pixels for each unit of DisplaySize. Based on io.DisplayFramebufferScale. Generally (1,1) on normal display, (2,2) on OSX with Retina display.
* Amount of pixels for each unit of DisplaySize. Based on io.DisplayFramebufferScale. Generally (1,1) on normal display, (2,2) on OSX with Retina display.
234
+
*/
235
+
publicnativefloatgetFramebufferScaleX(); /*
236
+
return IM_DRAW_DATA->FramebufferScale.x;
237
+
*/
238
+
239
+
/**
240
+
* Amount of pixels for each unit of DisplaySize. Based on io.DisplayFramebufferScale. Generally (1,1) on normal display, (2,2) on OSX with Retina display.
0 commit comments