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

Function fg_draw_chart_to_cell

src/api/c/window.cpp:261–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261fg_err fg_draw_chart_to_cell(const fg_window pWindow, const int pRows, const int pCols, const int pIndex,
262 const fg_chart pChart, const char* pTitle)
263{
264 try {
265 ARG_ASSERT(0, (pWindow!=0));
266 ARG_ASSERT(1, (pRows>0));
267 ARG_ASSERT(2, (pCols>0));
268 ARG_ASSERT(3, (pIndex>=0));
269 ARG_ASSERT(4, (pChart!=0));
270
271 getWindow(pWindow)->draw(pRows, pCols, pIndex, getChart(pChart), pTitle);
272 }
273 CATCHALL
274 return FG_ERR_NONE;
275}
276
277fg_err fg_swap_window_buffers(const fg_window pWindow)
278{

Callers 1

drawMethod · 0.85

Calls 3

getWindowFunction · 0.85
getChartFunction · 0.85
drawMethod · 0.45

Tested by

no test coverage detected