gCAD3D 2.40
gui_gtk3/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)
 
GtkWidget * do_printing (GtkWidget *do_widget)
 
int do_print1 ()
 

Variables

GtkWidget * 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
GtkWidget* do_printing ( GtkWidget *  do_widget)
int do_print1 ( )

Variable Documentation

GtkWidget* win