Go to the source code of this file.
|
stick2xyz_pctchar | output2dpng_name (void) |
|
stick2xyz_pctchar | output2dpng_desc (void) |
|
void | output2dpng_version (int *dest) |
|
int | output2dpng_type (void) |
|
int | output2dpng_sigterm (output2d_sigterm_ready func, int modnumber) |
|
int | output2dpng_init (int multithread) |
|
int | output2dpng_release (void) |
|
void | output2dpng_set_tty (void *fildescout, void *fildescerr) |
|
int | output2dpng_multithread_safe (void) |
|
void | output2dpng_lang (stick2xyz_print_ptr newval) |
|
output2d_handle | output2dpng_to_png (pane2d_handle pane, pane2d_dupdata dupdata, pane2d_dupxy dupxy, int use_rgb) |
|
output2d_handle | output2dpng_image_to_png (pane2d_handle pane, pane2d_dupimage dupimage, pane2d_freeimage freedata, pane2d_dupxy dupxy, int use_rgb) |
|
output2d_handle | output2dpng_bypng16type (pane2d_handle pane, pane2d_dupfunc_getlist duplist, int use_rgb, unsigned int filnum) |
|
output2d_handle | output2dpng_bypngtype (pane2d_handle pane, pane2d_dupfunc_getlist duplist, int use_rgb, unsigned int filnum) |
|
int | output2dpng_getnewdata (output2d_handle handle, unsigned int filnum) |
|
void | output2dpng_free (output2d_handle handle) |
|
int | output2dpng_quality_range (struct output2d_qualityinfo *dest) |
|
uint32_t | output2dpng_quality_valid (const int value) |
|
size_t | output2dpng_bpp_list (int *array) |
|
int | output2dpng_bpp_supported (const int value) |
|
int | output2dpng_bpp_default (void) |
|
int | output2dpng_write (output2d_handle handle, const char *filnam, unsigned int filnum, int compression) |
|
int | output2dpng_write_w (output2d_handle handle, const wchar_t *filnam, unsigned int filnum, int compression) |
|
void | output2dpng_read (const char *filetoread) |
|
◆ OUTPUT2DPNG_H
#define OUTPUT2DPNG_H (1) |
◆ output2dpng_bpp_default()
int output2dpng_bpp_default |
( |
void |
| ) |
|
◆ output2dpng_bpp_list()
size_t output2dpng_bpp_list |
( |
int * |
array | ) |
|
◆ output2dpng_bpp_supported()
int output2dpng_bpp_supported |
( |
const int |
value | ) |
|
◆ output2dpng_bypng16type()
◆ output2dpng_bypngtype()
◆ output2dpng_desc()
◆ output2dpng_free()
◆ output2dpng_getnewdata()
◆ output2dpng_image_to_png()
◆ output2dpng_init()
int output2dpng_init |
( |
int |
multithread | ) |
|
This function only has to be called if you want Output2D PNG to set up multithread safety for output2dpng_write and output2dpng_write_w. multithread needs to be set to 1 to make this happen.
See mod_output2d_init for more information.
- Parameters
-
[in] | multithread | 1 if calling program is or expects to run multithreaded, 0 otherwise. |
- Return values
-
>0 | If function is successful. |
0 | If the function fails. |
◆ output2dpng_lang()
void output2dpng_lang |
( |
stick2xyz_print_ptr |
newval | ) |
|
◆ output2dpng_multithread_safe()
int output2dpng_multithread_safe |
( |
void |
| ) |
|
◆ output2dpng_name()
◆ output2dpng_quality_range()
◆ output2dpng_quality_valid()
uint32_t output2dpng_quality_valid |
( |
const int |
value | ) |
|
◆ output2dpng_read()
void output2dpng_read |
( |
const char * |
filetoread | ) |
|
◆ output2dpng_release()
int output2dpng_release |
( |
void |
| ) |
|
If you called output2dpng_init or mod_output2d_init, you need to call this function to have the module clean up allocated resources. If in multithread mode, this function will block until no more threads are using output2dpng_write and output2dpng_write_w.
See mod_output2d_release for more information.
- Return values
-
>0 | If the module still has more references to release. |
0 | If the function is successful or the module was not allocated. errno is set to EAGAIN if the module was not allocated. |
-1 | On error. errno is set to: EFAULT if the function had an internal error. |
◆ output2dpng_set_tty()
void output2dpng_set_tty |
( |
void * |
fildescout, |
|
|
void * |
fildescerr |
|
) |
| |
◆ output2dpng_sigterm()
◆ output2dpng_to_png()
◆ output2dpng_type()
int output2dpng_type |
( |
void |
| ) |
|
◆ output2dpng_version()
void output2dpng_version |
( |
int * |
dest | ) |
|
◆ output2dpng_write()
int output2dpng_write |
( |
output2d_handle |
handle, |
|
|
const char * |
filnam, |
|
|
unsigned int |
filnum, |
|
|
int |
compression |
|
) |
| |
◆ output2dpng_write_w()
int output2dpng_write_w |
( |
output2d_handle |
handle, |
|
|
const wchar_t * |
filnam, |
|
|
unsigned int |
filnum, |
|
|
int |
compression |
|
) |
| |