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
|
ImVec2 |
getMainPos()
Coordinates of the area displayed on this monitor (Min = upper left, Max = bottom right)
|
void |
getMainPos(ImVec2 dst)
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)
|
ImVec2 |
getMainSize()
Coordinates of the area displayed on this monitor (Min = upper left, Max = bottom right)
|
void |
getMainSize(ImVec2 dst)
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)
|
ImVec2 |
getWorkPos()
Coordinates without task bars / side bars / menu bars.
|
void |
getWorkPos(ImVec2 dst)
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.
|
ImVec2 |
getWorkSize()
Coordinates without task bars / side bars / menu bars.
|
void |
getWorkSize(ImVec2 dst)
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 value)
1.0f = 96 DPI
|
void |
setMainPos(float valueX,
float valueY)
Coordinates of the area displayed on this monitor (Min = upper left, Max = bottom right)
|
void |
setMainPos(ImVec2 value)
Coordinates of the area displayed on this monitor (Min = upper left, Max = bottom right)
|
void |
setMainSize(float valueX,
float valueY)
Coordinates of the area displayed on this monitor (Min = upper left, Max = bottom right)
|
void |
setMainSize(ImVec2 value)
Coordinates of the area displayed on this monitor (Min = upper left, Max = bottom right)
|
void |
setWorkPos(float valueX,
float valueY)
Coordinates without task bars / side bars / menu bars.
|
void |
setWorkPos(ImVec2 value)
Coordinates without task bars / side bars / menu bars.
|
void |
setWorkSize(float valueX,
float valueY)
Coordinates without task bars / side bars / menu bars.
|
void |
setWorkSize(ImVec2 value)
Coordinates without task bars / side bars / menu bars.
|
isNotValidPtr, isValidPtr
public ImVec2 getMainPos()
public float getMainPosX()
public float getMainPosY()
public void getMainPos(ImVec2 dst)
public void setMainPos(ImVec2 value)
public void setMainPos(float valueX, float valueY)
public ImVec2 getMainSize()
public float getMainSizeX()
public float getMainSizeY()
public void getMainSize(ImVec2 dst)
public void setMainSize(ImVec2 value)
public void setMainSize(float valueX, float valueY)
public ImVec2 getWorkPos()
public float getWorkPosX()
public float getWorkPosY()
public void getWorkPos(ImVec2 dst)
public void setWorkPos(ImVec2 value)
public void setWorkPos(float valueX, float valueY)
public ImVec2 getWorkSize()
public float getWorkSizeX()
public float getWorkSizeY()
public void getWorkSize(ImVec2 dst)
public void setWorkSize(ImVec2 value)
public void setWorkSize(float valueX, float valueY)
public float getDpiScale()
public void setDpiScale(float value)