| GNOME Print UI Reference Manual | ||||
|---|---|---|---|---|
GnomePrintPreview;
GnomePrintPreviewClass;
GnomePrintContext* gnome_print_preview_new (GnomePrintConfig *config,
GnomeCanvas *canvas);
GnomePrintContext* gnome_print_preview_new_full (GnomePrintConfig *config,
GnomeCanvas *canvas,
const gdouble *transform,
const ArtDRect *region);
"group" GnomeCanvasGroup : Read / Write / Construct Only "only-first" gboolean : Read / Write "theme-compliance" gboolean : Read / Write "use-theme" gboolean : Read / Write
GnomePrintContext* gnome_print_preview_new (GnomePrintConfig *config, GnomeCanvas *canvas);
Creates a new PrintPreview object that use the canvas GnomeCanvas
as its rendering backend.
config : |
|
canvas : |
Canvas on which we display the print preview |
| Returns : | A GnomePrintContext suitable for using with the GNOME print API. |
GnomePrintContext* gnome_print_preview_new_full (GnomePrintConfig *config, GnomeCanvas *canvas, const gdouble *transform, const ArtDRect *region);
config : |
|
canvas : |
|
transform : |
|
region : |
|
| Returns : |