gerber.h File Reference


Detailed Description

Header info for the RS274X parsing functions.

Definition in file gerber.h.

Go to the source code of this file.

Functions

gerbv_image_tparse_gerb (gerb_file_t *fd, gchar *directoryPath)
gboolean gerber_is_rs274x_p (gerb_file_t *fd, gboolean *returnFoundBinary)
gboolean gerber_is_rs274d_p (gerb_file_t *fd)


Function Documentation

gboolean gerber_is_rs274d_p ( gerb_file_t *  fd  ) 

Checks for signs that this is a RS-274D file Returns TRUE if it is, FALSE if not.

Definition at line 799 of file gerber.c.

gboolean gerber_is_rs274x_p ( gerb_file_t *  fd,
gboolean *  returnFoundBinary 
)

Checks for signs that this is a RS-274X file Returns TRUE if it is, FALSE if not.

Definition at line 696 of file gerber.c.

gerbv_image_t* parse_gerb ( gerb_file_t *  fd,
gchar *  directoryPath 
)

This is a wrapper which gets called from top level. It does some initialization and pre-processing, and then calls gerber_parse_file_segment which processes the actual file. Then it does final modifications to the image created.

Definition at line 626 of file gerber.c.

References gerbv_stats_t::error_list, gerber_parse_file_segment(), gerbv_create_image(), GERBV_LAYERTYPE_RS274X, GERBV_MESSAGE_ERROR, gerbv_image_t::gerbv_stats, gerbv_stats_new(), gerbv_net::layer, gerbv_image_t::layers, gerbv_image_t::layertype, gerbv_image_t::netlist, gerbv_net::state, and gerbv_image_t::states.

Referenced by gerbv_create_rs274x_image_from_filename().


Generated on Tue Aug 19 00:14:50 2008 for gerbv by  doxygen 1.5.6