<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>GtkPlotPC</title> <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> <link rel="home" href="index.html" title="GtkExtra2 Reference Manual"> <link rel="up" href="ch01.html" title="Libraray Reference"> <link rel="prev" href="gtkextra-GtkPlotDT.html" title="GtkPlotDT"> <link rel="next" href="gtkextra-GtkPlotPS.html" title="GtkPlotPS"> <meta name="generator" content="GTK-Doc V1.11 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> <link rel="chapter" href="ch01.html" title="Libraray Reference"> <link rel="chapter" href="objecttree.html" title="Object Hierarchy"> <link rel="index" href="api-index.html" title="API Index"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> <tr valign="middle"> <td><a accesskey="p" href="gtkextra-GtkPlotDT.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> <th width="100%" align="center">GtkExtra2 Reference Manual</th> <td><a accesskey="n" href="gtkextra-GtkPlotPS.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> </tr> <tr><td colspan="5" class="shortcuts"> <a href="#gtkextra-GtkPlotPC.synopsis" class="shortcut">Top</a> | <a href="#gtkextra-GtkPlotPC.description" class="shortcut">Description</a> </td></tr> </table> <div class="refentry" title="GtkPlotPC"> <a name="gtkextra-GtkPlotPC"></a><div class="titlepage"></div> <div class="refnamediv"><table width="100%"><tr> <td valign="top"> <h2><span class="refentrytitle"><a name="gtkextra-GtkPlotPC.top_of_page"></a>GtkPlotPC</span></h2> <p>GtkPlotPC</p> </td> <td valign="top" align="right"></td> </tr></table></div> <div class="refsynopsisdiv" title="Synopsis"> <a name="gtkextra-GtkPlotPC.synopsis"></a><h2>Synopsis</h2> <pre class="synopsis"> #include <gtkextra.h> enum <a class="link" href="gtkextra-GtkPlotPC.html#GtkPlotPageSize" title="enum GtkPlotPageSize">GtkPlotPageSize</a>; #define <a class="link" href="gtkextra-GtkPlotPC.html#GTK-PLOT-LETTER-W--CAPS" title="GTK_PLOT_LETTER_W">GTK_PLOT_LETTER_W</a> #define <a class="link" href="gtkextra-GtkPlotPC.html#GTK-PLOT-LETTER-H--CAPS" title="GTK_PLOT_LETTER_H">GTK_PLOT_LETTER_H</a> #define <a class="link" href="gtkextra-GtkPlotPC.html#GTK-PLOT-LEGAL-W--CAPS" title="GTK_PLOT_LEGAL_W">GTK_PLOT_LEGAL_W</a> #define <a class="link" href="gtkextra-GtkPlotPC.html#GTK-PLOT-LEGAL-H--CAPS" title="GTK_PLOT_LEGAL_H">GTK_PLOT_LEGAL_H</a> #define <a class="link" href="gtkextra-GtkPlotPC.html#GTK-PLOT-A4-W--CAPS" title="GTK_PLOT_A4_W">GTK_PLOT_A4_W</a> #define <a class="link" href="gtkextra-GtkPlotPC.html#GTK-PLOT-A4-H--CAPS" title="GTK_PLOT_A4_H">GTK_PLOT_A4_H</a> #define <a class="link" href="gtkextra-GtkPlotPC.html#GTK-PLOT-EXECUTIVE-W--CAPS" title="GTK_PLOT_EXECUTIVE_W">GTK_PLOT_EXECUTIVE_W</a> #define <a class="link" href="gtkextra-GtkPlotPC.html#GTK-PLOT-EXECUTIVE-H--CAPS" title="GTK_PLOT_EXECUTIVE_H">GTK_PLOT_EXECUTIVE_H</a> enum <a class="link" href="gtkextra-GtkPlotPC.html#GtkPlotPageOrientation" title="enum GtkPlotPageOrientation">GtkPlotPageOrientation</a>; enum <a class="link" href="gtkextra-GtkPlotPC.html#GtkPlotUnits" title="enum GtkPlotUnits">GtkPlotUnits</a>; <a class="link" href="gtkextra-GtkPlotPC.html#GtkPlotPoint" title="GtkPlotPoint">GtkPlotPoint</a>; GtkObject * <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-new" title="gtk_plot_pc_new ()">gtk_plot_pc_new</a> (void); <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean" >gboolean</a> <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-init" title="gtk_plot_pc_init ()">gtk_plot_pc_init</a> (GtkPlotPC *pc); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-leave" title="gtk_plot_pc_leave ()">gtk_plot_pc_leave</a> (GtkPlotPC *pc); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-set-viewport" title="gtk_plot_pc_set_viewport ()">gtk_plot_pc_set_viewport</a> (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> w, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> h); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-gsave" title="gtk_plot_pc_gsave ()">gtk_plot_pc_gsave</a> (GtkPlotPC *pc); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-grestore" title="gtk_plot_pc_grestore ()">gtk_plot_pc_grestore</a> (GtkPlotPC *pc); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-clip" title="gtk_plot_pc_clip ()">gtk_plot_pc_clip</a> (GtkPlotPC *pc, GdkRectangle *area); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-clip-mask" title="gtk_plot_pc_clip_mask ()">gtk_plot_pc_clip_mask</a> (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> x, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> y, GdkBitmap *mask); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-set-color" title="gtk_plot_pc_set_color ()">gtk_plot_pc_set_color</a> (GtkPlotPC *pc, GdkColor *color); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-set-lineattr" title="gtk_plot_pc_set_lineattr ()">gtk_plot_pc_set_lineattr</a> (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat" >gfloat</a> line_width, GdkLineStyle line_style, GdkCapStyle cap_style, GdkJoinStyle join_style); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-set-dash" title="gtk_plot_pc_set_dash ()">gtk_plot_pc_set_dash</a> (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> offset_, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> *values, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> num_values); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-draw-point" title="gtk_plot_pc_draw_point ()">gtk_plot_pc_draw_point</a> (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> x, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> y); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-draw-line" title="gtk_plot_pc_draw_line ()">gtk_plot_pc_draw_line</a> (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> x1, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> y1, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> x2, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> y2); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-draw-lines" title="gtk_plot_pc_draw_lines ()">gtk_plot_pc_draw_lines</a> (GtkPlotPC *pc, <a class="link" href="gtkextra-GtkPlotPC.html#GtkPlotPoint" title="GtkPlotPoint">GtkPlotPoint</a> *points, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> numpoints); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-draw-rectangle" title="gtk_plot_pc_draw_rectangle ()">gtk_plot_pc_draw_rectangle</a> (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean" >gboolean</a> filled, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> x, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> y, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> width, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> height); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-draw-polygon" title="gtk_plot_pc_draw_polygon ()">gtk_plot_pc_draw_polygon</a> (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> filled, <a class="link" href="gtkextra-GtkPlotPC.html#GtkPlotPoint" title="GtkPlotPoint">GtkPlotPoint</a> *points, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> numpoints); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-draw-ellipse" title="gtk_plot_pc_draw_ellipse ()">gtk_plot_pc_draw_ellipse</a> (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean" >gboolean</a> filled, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> x, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> y, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> width, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> height); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-draw-circle" title="gtk_plot_pc_draw_circle ()">gtk_plot_pc_draw_circle</a> (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> filled, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> x, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> y, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> size); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-set-font" title="gtk_plot_pc_set_font ()">gtk_plot_pc_set_font</a> (GtkPlotPC *pc, <a class="link" href="gtkextra-gtkpsfont.html#GtkPSFont" title="GtkPSFont">GtkPSFont</a> *psfont, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> height); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-draw-string" title="gtk_plot_pc_draw_string ()">gtk_plot_pc_draw_string</a> (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> x, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> y, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> angle, const GdkColor *fg, const GdkColor *bg, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean" >gboolean</a> transparent, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> border, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> border_space, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> border_width, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> shadow_width, const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar" >gchar</a> *font, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> height, GtkJustification just, const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar" >gchar</a> *text); void <a class="link" href="gtkextra-GtkPlotPC.html#gtk-plot-pc-draw-pixmap" title="gtk_plot_pc_draw_pixmap ()">gtk_plot_pc_draw_pixmap</a> (GtkPlotPC *pc, GdkPixmap *pixmap, GdkBitmap *mask, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> xsrc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> ysrc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> xdest, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> ydest, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> width, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> height, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> scale_x, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> scale_y); </pre> </div> <div class="refsect1" title="Description"> <a name="gtkextra-GtkPlotPC.description"></a><h2>Description</h2> <p> </p> </div> <div class="refsect1" title="Details"> <a name="gtkextra-GtkPlotPC.details"></a><h2>Details</h2> <div class="refsect2" title="enum GtkPlotPageSize"> <a name="GtkPlotPageSize"></a><h3>enum GtkPlotPageSize</h3> <pre class="programlisting">typedef enum{ GTK_PLOT_LETTER , GTK_PLOT_LEGAL , GTK_PLOT_A4 , GTK_PLOT_EXECUTIVE , GTK_PLOT_CUSTOM } GtkPlotPageSize; </pre> <p> </p> </div> <hr> <div class="refsect2" title="GTK_PLOT_LETTER_W"> <a name="GTK-PLOT-LETTER-W--CAPS"></a><h3>GTK_PLOT_LETTER_W</h3> <pre class="programlisting">#define GTK_PLOT_LETTER_W 612 /* Width and Height in ps points */ </pre> <p> </p> </div> <hr> <div class="refsect2" title="GTK_PLOT_LETTER_H"> <a name="GTK-PLOT-LETTER-H--CAPS"></a><h3>GTK_PLOT_LETTER_H</h3> <pre class="programlisting">#define GTK_PLOT_LETTER_H 792 </pre> <p> </p> </div> <hr> <div class="refsect2" title="GTK_PLOT_LEGAL_W"> <a name="GTK-PLOT-LEGAL-W--CAPS"></a><h3>GTK_PLOT_LEGAL_W</h3> <pre class="programlisting">#define GTK_PLOT_LEGAL_W 612 </pre> <p> </p> </div> <hr> <div class="refsect2" title="GTK_PLOT_LEGAL_H"> <a name="GTK-PLOT-LEGAL-H--CAPS"></a><h3>GTK_PLOT_LEGAL_H</h3> <pre class="programlisting">#define GTK_PLOT_LEGAL_H 1008 </pre> <p> </p> </div> <hr> <div class="refsect2" title="GTK_PLOT_A4_W"> <a name="GTK-PLOT-A4-W--CAPS"></a><h3>GTK_PLOT_A4_W</h3> <pre class="programlisting">#define GTK_PLOT_A4_W 595 </pre> <p> </p> </div> <hr> <div class="refsect2" title="GTK_PLOT_A4_H"> <a name="GTK-PLOT-A4-H--CAPS"></a><h3>GTK_PLOT_A4_H</h3> <pre class="programlisting">#define GTK_PLOT_A4_H 842 </pre> <p> </p> </div> <hr> <div class="refsect2" title="GTK_PLOT_EXECUTIVE_W"> <a name="GTK-PLOT-EXECUTIVE-W--CAPS"></a><h3>GTK_PLOT_EXECUTIVE_W</h3> <pre class="programlisting">#define GTK_PLOT_EXECUTIVE_W 540 </pre> <p> </p> </div> <hr> <div class="refsect2" title="GTK_PLOT_EXECUTIVE_H"> <a name="GTK-PLOT-EXECUTIVE-H--CAPS"></a><h3>GTK_PLOT_EXECUTIVE_H</h3> <pre class="programlisting">#define GTK_PLOT_EXECUTIVE_H 720 </pre> <p> </p> </div> <hr> <div class="refsect2" title="enum GtkPlotPageOrientation"> <a name="GtkPlotPageOrientation"></a><h3>enum GtkPlotPageOrientation</h3> <pre class="programlisting">typedef enum{ GTK_PLOT_PORTRAIT , GTK_PLOT_LANDSCAPE } GtkPlotPageOrientation; </pre> <p> </p> </div> <hr> <div class="refsect2" title="enum GtkPlotUnits"> <a name="GtkPlotUnits"></a><h3>enum GtkPlotUnits</h3> <pre class="programlisting">typedef enum{ GTK_PLOT_PSPOINTS , GTK_PLOT_MM , GTK_PLOT_CM , GTK_PLOT_INCHES } GtkPlotUnits; </pre> <p> </p> </div> <hr> <div class="refsect2" title="GtkPlotPoint"> <a name="GtkPlotPoint"></a><h3>GtkPlotPoint</h3> <pre class="programlisting">typedef struct { gdouble x, y; } GtkPlotPoint; </pre> <p> </p> </div> <hr> <div class="refsect2" title="gtk_plot_pc_new ()"> <a name="gtk-plot-pc-new"></a><h3>gtk_plot_pc_new ()</h3> <pre class="programlisting">GtkObject * gtk_plot_pc_new (void);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody><tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> <td> </td> </tr></tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_init ()"> <a name="gtk-plot-pc-init"></a><h3>gtk_plot_pc_init ()</h3> <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean" >gboolean</a> gtk_plot_pc_init (GtkPlotPC *pc);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_leave ()"> <a name="gtk-plot-pc-leave"></a><h3>gtk_plot_pc_leave ()</h3> <pre class="programlisting">void gtk_plot_pc_leave (GtkPlotPC *pc);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody><tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr></tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_set_viewport ()"> <a name="gtk-plot-pc-set-viewport"></a><h3>gtk_plot_pc_set_viewport ()</h3> <pre class="programlisting">void gtk_plot_pc_set_viewport (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> w, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> h);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>w</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>h</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_gsave ()"> <a name="gtk-plot-pc-gsave"></a><h3>gtk_plot_pc_gsave ()</h3> <pre class="programlisting">void gtk_plot_pc_gsave (GtkPlotPC *pc);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody><tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr></tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_grestore ()"> <a name="gtk-plot-pc-grestore"></a><h3>gtk_plot_pc_grestore ()</h3> <pre class="programlisting">void gtk_plot_pc_grestore (GtkPlotPC *pc);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody><tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr></tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_clip ()"> <a name="gtk-plot-pc-clip"></a><h3>gtk_plot_pc_clip ()</h3> <pre class="programlisting">void gtk_plot_pc_clip (GtkPlotPC *pc, GdkRectangle *area);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>area</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_clip_mask ()"> <a name="gtk-plot-pc-clip-mask"></a><h3>gtk_plot_pc_clip_mask ()</h3> <pre class="programlisting">void gtk_plot_pc_clip_mask (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> x, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> y, GdkBitmap *mask);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_set_color ()"> <a name="gtk-plot-pc-set-color"></a><h3>gtk_plot_pc_set_color ()</h3> <pre class="programlisting">void gtk_plot_pc_set_color (GtkPlotPC *pc, GdkColor *color);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_set_lineattr ()"> <a name="gtk-plot-pc-set-lineattr"></a><h3>gtk_plot_pc_set_lineattr ()</h3> <pre class="programlisting">void gtk_plot_pc_set_lineattr (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat" >gfloat</a> line_width, GdkLineStyle line_style, GdkCapStyle cap_style, GdkJoinStyle join_style);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>line_width</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>line_style</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>cap_style</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>join_style</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_set_dash ()"> <a name="gtk-plot-pc-set-dash"></a><h3>gtk_plot_pc_set_dash ()</h3> <pre class="programlisting">void gtk_plot_pc_set_dash (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> offset_, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> *values, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> num_values);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>offset_</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>values</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>num_values</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_draw_point ()"> <a name="gtk-plot-pc-draw-point"></a><h3>gtk_plot_pc_draw_point ()</h3> <pre class="programlisting">void gtk_plot_pc_draw_point (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> x, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> y);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_draw_line ()"> <a name="gtk-plot-pc-draw-line"></a><h3>gtk_plot_pc_draw_line ()</h3> <pre class="programlisting">void gtk_plot_pc_draw_line (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> x1, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> y1, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> x2, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> y2);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>x1</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>y1</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>x2</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>y2</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_draw_lines ()"> <a name="gtk-plot-pc-draw-lines"></a><h3>gtk_plot_pc_draw_lines ()</h3> <pre class="programlisting">void gtk_plot_pc_draw_lines (GtkPlotPC *pc, <a class="link" href="gtkextra-GtkPlotPC.html#GtkPlotPoint" title="GtkPlotPoint">GtkPlotPoint</a> *points, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> numpoints);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>points</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>numpoints</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_draw_rectangle ()"> <a name="gtk-plot-pc-draw-rectangle"></a><h3>gtk_plot_pc_draw_rectangle ()</h3> <pre class="programlisting">void gtk_plot_pc_draw_rectangle (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean" >gboolean</a> filled, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> x, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> y, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> width, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> height);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>filled</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_draw_polygon ()"> <a name="gtk-plot-pc-draw-polygon"></a><h3>gtk_plot_pc_draw_polygon ()</h3> <pre class="programlisting">void gtk_plot_pc_draw_polygon (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> filled, <a class="link" href="gtkextra-GtkPlotPC.html#GtkPlotPoint" title="GtkPlotPoint">GtkPlotPoint</a> *points, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> numpoints);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>filled</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>points</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>numpoints</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_draw_ellipse ()"> <a name="gtk-plot-pc-draw-ellipse"></a><h3>gtk_plot_pc_draw_ellipse ()</h3> <pre class="programlisting">void gtk_plot_pc_draw_ellipse (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean" >gboolean</a> filled, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> x, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> y, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> width, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> height);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>filled</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_draw_circle ()"> <a name="gtk-plot-pc-draw-circle"></a><h3>gtk_plot_pc_draw_circle ()</h3> <pre class="programlisting">void gtk_plot_pc_draw_circle (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> filled, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> x, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> y, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> size);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>filled</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_set_font ()"> <a name="gtk-plot-pc-set-font"></a><h3>gtk_plot_pc_set_font ()</h3> <pre class="programlisting">void gtk_plot_pc_set_font (GtkPlotPC *pc, <a class="link" href="gtkextra-gtkpsfont.html#GtkPSFont" title="GtkPSFont">GtkPSFont</a> *psfont, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> height);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>psfont</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_draw_string ()"> <a name="gtk-plot-pc-draw-string"></a><h3>gtk_plot_pc_draw_string ()</h3> <pre class="programlisting">void gtk_plot_pc_draw_string (GtkPlotPC *pc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> x, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> y, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> angle, const GdkColor *fg, const GdkColor *bg, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean" >gboolean</a> transparent, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> border, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> border_space, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> border_width, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> shadow_width, const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar" >gchar</a> *font, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> height, GtkJustification just, const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar" >gchar</a> *text);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>angle</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>fg</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>bg</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>transparent</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>border</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>border_space</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>border_width</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>shadow_width</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>just</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_pc_draw_pixmap ()"> <a name="gtk-plot-pc-draw-pixmap"></a><h3>gtk_plot_pc_draw_pixmap ()</h3> <pre class="programlisting">void gtk_plot_pc_draw_pixmap (GtkPlotPC *pc, GdkPixmap *pixmap, GdkBitmap *mask, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> xsrc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> ysrc, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> xdest, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> ydest, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> width, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> height, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> scale_x, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble" >gdouble</a> scale_y);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>pc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>pixmap</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>xsrc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>ysrc</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>xdest</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>ydest</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>scale_x</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>scale_y</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> </div> </div> <div class="footer"> <hr> Generated by GTK-Doc V1.11</div> </body> </html>