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

Function fg_render_chart

src/api/c/chart.cpp:325–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323}
324
325fg_err fg_render_chart(const fg_window pWindow, const fg_chart pChart,
326 const int pX, const int pY, const int pWidth, const int pHeight)
327{
328 try {
329 ARG_ASSERT(0, (pWindow!=0));
330 ARG_ASSERT(1, (pChart!=0));
331 ARG_ASSERT(2, (pX>=0));
332 ARG_ASSERT(3, (pY>=0));
333 ARG_ASSERT(4, (pWidth>0));
334 ARG_ASSERT(5, (pHeight>0));
335
336 getChart(pChart)->render(getWindow(pWindow)->getID(),
337 pX, pY, pWidth, pHeight,
338 IDENTITY, IDENTITY);
339 }
340 CATCHALL
341
342 return FG_ERR_NONE;
343}
344
345fg_err fg_get_chart_type(fg_chart_type *pChartType, const fg_chart pChart)
346{

Callers 1

renderMethod · 0.85

Calls 4

getChartFunction · 0.85
getWindowFunction · 0.85
renderMethod · 0.45
getIDMethod · 0.45

Tested by

no test coverage detected