libgutenprint API Reference  5.3.1
Typedefs | Functions
sequence.h File Reference

Sequence functions. More...

Typedefs

typedef struct stp_sequence stp_sequence_t
 The sequence opaque data type. More...
 

Functions

stp_sequence_tstp_sequence_create (void)
 Create a new sequence. More...
 
void stp_sequence_destroy (stp_sequence_t *sequence)
 Destroy a sequence. More...
 
void stp_sequence_copy (stp_sequence_t *dest, const stp_sequence_t *source)
 Copy a sequence. More...
 
stp_sequence_tstp_sequence_create_copy (const stp_sequence_t *sequence)
 Copy and allocate a sequence. More...
 
void stp_sequence_reverse (stp_sequence_t *dest, const stp_sequence_t *source)
 Reverse a sequence. More...
 
stp_sequence_tstp_sequence_create_reverse (const stp_sequence_t *sequence)
 Reverse and allocate a sequence. More...
 
int stp_sequence_set_bounds (stp_sequence_t *sequence, double low, double high)
 Set the lower and upper bounds. More...
 
void stp_sequence_get_bounds (const stp_sequence_t *sequence, double *low, double *high)
 Get the lower and upper bounds. More...
 
void stp_sequence_get_range (const stp_sequence_t *sequence, double *low, double *high)
 Get range of values stored in the sequence. More...
 
int stp_sequence_set_size (stp_sequence_t *sequence, size_t size)
 Set the sequence size. More...
 
size_t stp_sequence_get_size (const stp_sequence_t *sequence)
 Get the sequence size. More...
 
int stp_sequence_set_data (stp_sequence_t *sequence, size_t count, const double *data)
 Set the data in a sequence. More...
 
int stp_sequence_set_subrange (stp_sequence_t *sequence, size_t where, size_t size, const double *data)
 Set the data in a subrange of a sequence. More...
 
void stp_sequence_get_data (const stp_sequence_t *sequence, size_t *size, const double **data)
 Get the data in a sequence. More...
 
int stp_sequence_set_point (stp_sequence_t *sequence, size_t where, double data)
 Set the data at a single point in a sequence. More...
 
int stp_sequence_get_point (const stp_sequence_t *sequence, size_t where, double *data)
 Get the data at a single point in a sequence. More...
 
int stp_sequence_set_float_data (stp_sequence_t *sequence, size_t count, const float *data)
 Set the data in a sequence from float values. More...
 
int stp_sequence_set_long_data (stp_sequence_t *sequence, size_t count, const long *data)
 Set the data in a sequence from long values. More...
 
int stp_sequence_set_ulong_data (stp_sequence_t *sequence, size_t count, const unsigned long *data)
 Set the data in a sequence from unsigned long values. More...
 
int stp_sequence_set_int_data (stp_sequence_t *sequence, size_t count, const int *data)
 Set the data in a sequence from int values. More...
 
int stp_sequence_set_uint_data (stp_sequence_t *sequence, size_t count, const unsigned int *data)
 Set the data in a sequence from unsigned int values. More...
 
int stp_sequence_set_short_data (stp_sequence_t *sequence, size_t count, const short *data)
 Set the data in a sequence from short values. More...
 
int stp_sequence_set_ushort_data (stp_sequence_t *sequence, size_t count, const unsigned short *data)
 Set the data in a sequence from unsigned short values. More...
 
const float * stp_sequence_get_float_data (const stp_sequence_t *sequence, size_t *count)
 Get the data in a sequence as float data. More...
 
const long * stp_sequence_get_long_data (const stp_sequence_t *sequence, size_t *count)
 Get the data in a sequence as long data. More...
 
const unsigned long * stp_sequence_get_ulong_data (const stp_sequence_t *sequence, size_t *count)
 Get the data in a sequence as unsigned long data. More...
 
const int * stp_sequence_get_int_data (const stp_sequence_t *sequence, size_t *count)
 Get the data in a sequence as int data. More...
 
const unsigned int * stp_sequence_get_uint_data (const stp_sequence_t *sequence, size_t *count)
 Get the data in a sequence as unsigned int data. More...
 
const short * stp_sequence_get_short_data (const stp_sequence_t *sequence, size_t *count)
 Get the data in a sequence as short data. More...
 
const unsigned short * stp_sequence_get_ushort_data (const stp_sequence_t *sequence, size_t *count)
 Get the data in a sequence as unsigned short data. More...
 

Detailed Description

Sequence functions.