[Gnome-print] information about printing a grid



hi !
please can someone explain me how to draw a table width gnome-print API?


int gnome_print_newpath (GnomePrintContext *pc);
int gnome_print_moveto (GnomePrintContext *pc, double x, double y);
int gnome_print_lineto (GnomePrintContext *pc, double x, double y);
int gnome_print_curveto (GnomePrintContext *pc, double x1, double y1, 
double x2, double y2, double x3, double y3);
int gnome_print_closepath (GnomePrintContext *pc);
int gnome_print_strokepath (GnomePrintContext *pc);
void gnome_print_vpath (GnomePrintContext * gpc, ArtVpath * vpath, 
gboolean append);
void gnome_print_bpath (GnomePrintContext * gpc, ArtBpath * bpath, 
gboolean append);

/* Graphic state manipulation */

int gnome_print_setrgbcolor (GnomePrintContext *pc, double r, double g, 
double b);
int gnome_print_setopacity (GnomePrintContext *pc, double opacity);
int gnome_print_setlinewidth (GnomePrintContext *pc, double width);
int gnome_print_setmiterlimit (GnomePrintContext *pc, double limit);
int gnome_print_setlinejoin (GnomePrintContext *pc, int jointype);
int gnome_print_setlinecap (GnomePrintContext *pc, int captype);
int gnome_print_setdash (GnomePrintContext *pc, int n_values, const 
double *values, double offset);
int gnome_print_setfont (GnomePrintContext *pc, GnomeFont *font);
int gnome_print_clip (GnomePrintContext *pc);
int gnome_print_eoclip (GnomePrintContext *pc);

/* CTM manipulation */

int gnome_print_concat (GnomePrintContext *pc, const double matrix[6]);
int gnome_print_scale (GnomePrintContext *pc, double sx, double sy);
int gnome_print_rotate (GnomePrintContext *pc, double theta_in_degrees);
int gnome_print_translate (GnomePrintContext *pc, double x, double y);

/* Stack */
i simply don't know what most of this functions is supose to do and how 
they work?
I get a printing function with text formatted and  with font of my 
choice. Now i want to Draw a grid to show information inside can someone 
tellme how can i do this because I'm no wizard to guess wich function to 
use and how to use it is there any kind of documentation that i could use?
thanks





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]