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

Function fg_set_surface_legend

src/api/c/surface.cpp:76–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76fg_err fg_set_surface_legend(fg_surface pSurface, const char* pLegend)
77{
78 try {
79 ARG_ASSERT(0, (pSurface!=0));
80 ARG_ASSERT(1, (pLegend!=0));
81
82 getSurface(pSurface)->setLegend(pLegend);
83 }
84 CATCHALL
85
86 return FG_ERR_NONE;
87}
88
89fg_err fg_get_surface_vertex_buffer(unsigned* pOut, const fg_surface pSurface)
90{

Callers 1

setLegendMethod · 0.85

Calls 2

getSurfaceFunction · 0.85
setLegendMethod · 0.45

Tested by

no test coverage detected