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

Function fg_set_window_size

src/api/c/window.cpp:109–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109fg_err fg_set_window_size(fg_window pWindow, const unsigned pWidth, const unsigned pHeight)
110{
111 try {
112 ARG_ASSERT(0, (pWindow!=0));
113 ARG_ASSERT(1, (pWidth>0));
114 ARG_ASSERT(2, (pHeight>0));
115
116 getWindow(pWindow)->setSize(pWidth, pHeight);
117 }
118 CATCHALL
119 return FG_ERR_NONE;
120}
121
122fg_err fg_set_window_colormap(fg_window pWindow, const fg_color_map pColorMap)
123{

Callers 1

setSizeMethod · 0.85

Calls 2

getWindowFunction · 0.85
setSizeMethod · 0.45

Tested by

no test coverage detected