public final class ImGuiPlatformMonitor extends ImGuiStruct
ptr
Constructor and Description |
---|
ImGuiPlatformMonitor(long ptr) |
Modifier and Type | Method and Description |
---|---|
float |
getDpiScale()
1.0f = 96 DPI
|
void |
getMainPos(ImVec2 dstImVec2)
Coordinates of the area displayed on this monitor (Min = upper left, Max = bottom right)
|
float |
getMainPosX()
Coordinates of the area displayed on this monitor (Min = upper left, Max = bottom right)
|
float |
getMainPosY()
Coordinates of the area displayed on this monitor (Min = upper left, Max = bottom right)
|
void |
getMainSize(ImVec2 dstImVec2)
Coordinates of the area displayed on this monitor (Min = upper left, Max = bottom right)
|
float |
getMainSizeX()
Coordinates of the area displayed on this monitor (Min = upper left, Max = bottom right)
|
float |
getMainSizeY()
Coordinates of the area displayed on this monitor (Min = upper left, Max = bottom right)
|
void |
getWorkPos(ImVec2 dstImVec2)
Coordinates without task bars / side bars / menu bars.
|
float |
getWorkPosX()
Coordinates without task bars / side bars / menu bars.
|
float |
getWorkPosY()
Coordinates without task bars / side bars / menu bars.
|
void |
getWorkSize(ImVec2 dstImVec2)
Coordinates without task bars / side bars / menu bars.
|
float |
getWorkSizeX()
Coordinates without task bars / side bars / menu bars.
|
float |
getWorkSizeY()
Coordinates without task bars / side bars / menu bars.
|
void |
setDpiScale(float dpiScale)
1.0f = 96 DPI
|
void |
setMainPos(float x,
float y) |
void |
setMainSize(float x,
float y)
Coordinates of the area displayed on this monitor (Min = upper left, Max = bottom right)
|
void |
setWorkPos(float x,
float y)
Coordinates without task bars / side bars / menu bars.
|
void |
setWorkSize(float x,
float y)
Coordinates without task bars / side bars / menu bars.
|
isNotValidPtr, isValidPtr
public void getMainPos(ImVec2 dstImVec2)
public float getMainPosX()
public float getMainPosY()
public void setMainPos(float x, float y)
public void getMainSize(ImVec2 dstImVec2)
public float getMainSizeX()
public float getMainSizeY()
public void setMainSize(float x, float y)
public void getWorkPos(ImVec2 dstImVec2)
public float getWorkPosX()
public float getWorkPosY()
public void setWorkPos(float x, float y)
public void getWorkSize(ImVec2 dstImVec2)
public float getWorkSizeX()
public float getWorkSizeY()
public void setWorkSize(float x, float y)
public float getDpiScale()
public void setDpiScale(float dpiScale)