MCPcopy Create free account
hub / github.com/arrayfire/forge / fg_set_window_position

Function fg_set_window_position

src/api/c/window.cpp:96–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96fg_err fg_set_window_position(fg_window pWindow, const int pX, const int pY)
97{
98 try {
99 ARG_ASSERT(0, (pWindow!=0));
100 ARG_ASSERT(1, (pX>=0));
101 ARG_ASSERT(2, (pY>=0));
102
103 getWindow(pWindow)->setPos(pX, pY);
104 }
105 CATCHALL
106 return FG_ERR_NONE;
107}
108
109fg_err fg_set_window_size(fg_window pWindow, const unsigned pWidth, const unsigned pHeight)
110{

Callers 1

setPosMethod · 0.85

Calls 2

getWindowFunction · 0.85
setPosMethod · 0.45

Tested by

no test coverage detected