#include <gimp-print/gimp-print.h>#include "gimp-print-internal.h"#include <gimp-print/gimp-print-intl-internal.h>#include <math.h>#include <string.h>#include <stdlib.h>#include <limits.h>Go to the source code of this file.
Data Structures | |
| struct | stp_array |
Functions | |
| void | check_array (const stp_array_t *array) |
| void | array_ctor (stp_array_t *array) |
| stp_array_t * | stp_array_create (int x_size, int y_size) |
| Create a new array. | |
| void | array_dtor (stp_array_t *array) |
| void | stp_array_destroy (stp_array_t *array) |
| Destroy an array. | |
| void | stp_array_copy (stp_array_t *dest, const stp_array_t *source) |
| Copy an array. | |
| stp_array_t * | stp_array_create_copy (const stp_array_t *array) |
| Copy and allocate an array. | |
| void | stp_array_set_size (stp_array_t *array, int x_size, int y_size) |
| Resize an array. | |
| void | stp_array_get_size (const stp_array_t *array, int *x_size, int *y_size) |
| Get the size of an array. | |
| void | stp_array_set_data (stp_array_t *array, const double *data) |
| Set the data in an array. | |
| void | stp_array_get_data (const stp_array_t *array, size_t *size, const double **data) |
| Get the data in an array. | |
| int | stp_array_set_point (stp_array_t *array, int x, int y, double data) |
| Set the data at a single point in the array. | |
| int | stp_array_get_point (const stp_array_t *array, int x, int y, double *data) |
| Get the data at a single point in the array. | |
| const stp_sequence_t * | stp_array_get_sequence (const stp_array_t *array) |
| Get the underlying stp_sequence_t. | |
| stp_array_t * | stp_array_create_from_xmltree (stp_mxml_node_t *array) |
|
|
Definition at line 58 of file array.c. References stp_array::data, stp_sequence_create(), stp_sequence_set_size(), stp_array::x_size, and stp_array::y_size. Referenced by stp_array_create(). |
|
|
Definition at line 78 of file array.c. References stp_array::data, and stp_sequence_destroy(). Referenced by stp_array_destroy(). |
|
|
Definition at line 48 of file array.c. References stp_abort(), and stp_erprintf(). Referenced by stp_array_copy(), stp_array_create_copy(), stp_array_destroy(), stp_array_get_data(), stp_array_get_point(), stp_array_get_sequence(), stp_array_get_size(), stp_array_set_data(), stp_array_set_point(), and stp_array_set_size(). |
|
|
Definition at line 182 of file array.c. References stp_array::data, stp_array_create(), stp_array_destroy(), stp_erprintf(), STP_MXML_DESCEND, stp_mxmlElementGetAttr(), stp_mxmlFindElement(), stp_sequence_create_from_xmltree(), stp_sequence_destroy(), and stp_sequence_get_size(). Referenced by stpi_dither_array_create_from_xmltree(). |
1.2.17