GIMP-Print - Paper functions

Go to the first, previous, next, last section, table of contents.

## 4.5 Paper functions

Data type: void * stp_papersize_t
  This is an opaque data type, whose structure is not visible to the user.

Data type: stp_papersize_unit_t

      typedef enum papersize_unit
      {
        PAPERSIZE_ENGLISH,
        PAPERSIZE_METRIC
      } stp_papersize_unit_t;

Function: int stp_known_papersizes (void)

Function: const stp_papersize_t stp_get_papersize_by_name (const char *name)

Function: const stp_papersize_t stp_get_papersize_by_size (int l, int w)

Function: const stp_papersize_t stp_get_papersize_by_index (int index)

Function: const char * stp_papersize_get_name (const stp_papersize_t pt)

Function: unsigned stp_papersize_get_width (const stp_papersize_t pt)

Function: unsigned stp_papersize_get_height (const stp_papersize_t pt)

Function: unsigned stp_papersize_get_top (const stp_papersize_t pt)

Function: unsigned stp_papersize_get_left (const stp_papersize_t pt)

Function: unsigned stp_papersize_get_bottom (const stp_papersize_t pt)

Function: unsigned stp_papersize_get_right (const stp_papersize_t pt)

Function: stp_papersize_unit_t stp_papersize_get_unit (const stp_papersize_t pt)

Go to the first, previous, next, last section, table of contents.