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

Function fg_draw_image

src/api/c/window.cpp:221–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221fg_err fg_draw_image(const fg_window pWindow, const fg_image pImage, const bool pKeepAspectRatio)
222{
223 try {
224 ARG_ASSERT(0, (pWindow!=0));
225 ARG_ASSERT(1, (pImage!=0));
226
227 getWindow(pWindow)->draw(getImage(pImage), pKeepAspectRatio);
228 }
229 CATCHALL
230 return FG_ERR_NONE;
231}
232
233fg_err fg_draw_chart(const fg_window pWindow, const fg_chart pChart)
234{

Callers 1

drawMethod · 0.85

Calls 3

getWindowFunction · 0.85
getImageFunction · 0.85
drawMethod · 0.45

Tested by

no test coverage detected