| GTK-EXTRA - Reference Manual

| Home

## Name

### Gtkplotps - postscript driver

## Synopsis

    GtkType
    gtk_plot_ps_get_type
     (void);
    GtkObject *
    gtk_plot_ps_new
    (const gchar *psname,
    gint orientation,
    gint epsflag,
    gint page_size,
    gdouble scalex,
    gdouble scaley);
    GtkObject *
    gtk_plot_ps_new_with_size
    (const gchar *psname,
    gint orientation,
    gint epsflag,
    gint units,
    gdouble width,
    gdouble height,
    gdouble scalex,
    gdouble scaley);
    void
    gtk_plot_ps_construct_with_size
    (GtkPlotPS *ps,
    const gchar *psname,
    gint orientation,
    gint epsflag,
    gint units,
    gdouble width,
    gdouble height,
    gdouble scalex,
    gdouble scaley);
    void
    gtk_plot_ps_set_size
    (GtkPlotPS *ps,
    gint units,
    gdouble width,
    gdouble height);
    void
    gtk_plot_ps_set_scale
    (GtkPlotPS *ps,
    gdouble scalex,
    gdouble scaley);

## Object Hierarchy

##
Args

## Signal Prototypes

    No signals

## Description

####

##
Details

     struct  GtkPlotPS;

##
Screenshot

##

### gtk_plot_ps_get_type ()

    GtkType gtk_plot_ps_get_type (void);

### gtk_plot_ps_new ()

    GtkObject *gtk_plot_ps_new (const gchar *psname,
                                gint orientation,
                                gint epsflag,
                                gint page_size,
                                gdouble scalex,
                                gdouble scaley);

### gtk_plot_ps_new_with_size ()

    GtkObject *gtk_plot_ps_new_with_size (const gchar *psname,
                                          gint orientation,
                                          gint epsflag,
                                          gint units,
                                          gdouble width,
                                          gdouble height,
                                          gdouble scalex,
                                          gdouble scaley);

### gtk_plot_ps_construct ()

    void gtk_plot_ps_construct (GtkPlotPS *ps,
                                const gchar *psname,
                                gint orientation,
                                gint epsflag,
                                gint page_size,
                                gdouble scalex,
                                gdouble scaley);

### gtk_plot_ps_construct_with_size ()

    void gtk_plot_ps_construct_with_size (GtkPlotPS *ps,
                                          const gchar *psname,
                                          gint orientation,
                                          gint epsflag,
                                          gint units,
                                          gdouble width,
                                          gdouble height,
                                          gdouble scalex,
                                          gdouble scaley);

### gtk_plot_ps_set_size ()

    void gtk_plot_ps_set_size (GtkPlotPS *ps,
                               gint units,
                               gdouble width,
                               gdouble height);

### gtk_plot_ps_set_scale ()

    void gtk_plot_ps_set_scale (GtkPlotPS *ps,
                                gdouble scalex,
                                gdouble scaley);

## DETAILS

    struct _GtkPlotPS
    {
       GtkPlotPC pc;
       FILE *psfile;
       gchar *psname;

       gint orientation;
       gint epsflag;
       gint units;
       gint page_size;
       gint width, height;
       gint page_width;
       gint page_height;
       gdouble scalex, scaley;
       gboolean gsaved;
    };