gCAD3D 2.40
gui_gtk2/gtk_printer.c File Reference
#include <math.h>
#include <gtk/gtk.h>

Data Structures

struct  PrintData
 

Macros

#define HEADER_HEIGHT   (10*72/25.4)
 
#define HEADER_GAP   (3*72/25.4)
 

Functions

static void begin_print (GtkPrintOperation *operation, GtkPrintContext *context, gpointer user_data)
 
static void draw_page (GtkPrintOperation *operation, GtkPrintContext *context, gint page_nr, gpointer user_data)
 
static void end_print (GtkPrintOperation *operation, GtkPrintContext *context, gpointer user_data)
 
int GUI_printer__ (char *fnam)
 

Variables

static GtkWidget * PRI_win
 

Macro Definition Documentation

#define HEADER_HEIGHT   (10*72/25.4)
#define HEADER_GAP   (3*72/25.4)

Function Documentation

static void begin_print ( GtkPrintOperation *  operation,
GtkPrintContext *  context,
gpointer  user_data 
)
static
static void draw_page ( GtkPrintOperation *  operation,
GtkPrintContext *  context,
gint  page_nr,
gpointer  user_data 
)
static
static void end_print ( GtkPrintOperation *  operation,
GtkPrintContext *  context,
gpointer  user_data 
)
static
int GUI_printer__ ( char *  fnam)

Variable Documentation

GtkWidget* PRI_win
static