MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / stbiw__outfile

Function stbiw__outfile

include/stb_image_write.h:344–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344static int stbiw__outfile(stbi__write_context *s, int rgb_dir, int vdir, int x, int y, int comp, int expand_mono, void *data, int alpha, int pad, const char *fmt, ...)
345{
346 if (y < 0 || x < 0) {
347 return 0;
348 } else {
349 va_list v;
350 va_start(v, fmt);
351 stbiw__writefv(s, fmt, v);
352 va_end(v);
353 stbiw__write_pixels(s,rgb_dir,vdir,x,y,comp,data,alpha,pad, expand_mono);
354 return 1;
355 }
356}
357
358static int stbi_write_bmp_core(stbi__write_context *s, int x, int y, int comp, const void *data)
359{

Callers 2

stbi_write_bmp_coreFunction · 0.85
stbi_write_tga_coreFunction · 0.85

Calls 2

stbiw__writefvFunction · 0.85
stbiw__write_pixelsFunction · 0.85

Tested by

no test coverage detected