| GNOME Print Reference Manual | |||
|---|---|---|---|
| <<< Previous Page | Home | Up | Next Page >>> | 
| struct GnomePrintPaper; const GnomePrintPaper* gnome_print_paper_get_default (void); const GnomePrintPaper* gnome_print_paper_get_by_name (const guchar *name); const GnomePrintPaper* gnome_print_paper_get_by_size (gdouble width, gdouble height); const GnomePrintPaper* gnome_print_paper_get_closest_by_size (gdouble width, gdouble height, gboolean mustfit); GList* gnome_print_paper_get_list (void); void gnome_print_paper_free_list (GList *papers); | 
| struct GnomePrintPaper {
	guint version : 8; /* Has to be 0 at moment */
	guchar *name; /* Name such as A4 */
	gdouble width, height;
}; | 
| const GnomePrintPaper* gnome_print_paper_get_by_name (const guchar *name); | 
| const GnomePrintPaper* gnome_print_paper_get_by_size (gdouble width, gdouble height); | 
| const GnomePrintPaper* gnome_print_paper_get_closest_by_size (gdouble width, gdouble height, gboolean mustfit); |