gerbv  2.6A
export-drill.c File Reference

Go to the source code of this file.

Functions

gboolean gerbv_export_drill_file_from_image (gchar *filename, gerbv_image_t *inputImage, gerbv_user_transformation_t *transform)

Detailed Description

Functions for exporting gerbv images to Excellon drill files.

Definition in file export-drill.c.

Function Documentation

gboolean gerbv_export_drill_file_from_image ( gchar *  filename,
gerbv_image_t image,
gerbv_user_transformation_t transform 
)

Export an image to a new file in Excellon drill format.

Returns
TRUE if successful, or FALSE if not
Parameters
filenamethe filename for the new file
inputImagethe image to export
transformthe transformation to apply before exporting

Definition at line 42 of file export-drill.c.

References gerbv_net::aperture, gerbv_image_t::aperture, gerbv_net::aperture_state, GERBV_APERTURE_STATE_FLASH, GERBV_APERTURE_STATE_ON, GERBV_APTYPE_CIRCLE, gerbv_destroy_image(), gerbv_image_duplicate_image(), gerbv_image_t::netlist, gerbv_net::next, gerbv_net::start_x, gerbv_net::start_y, gerbv_net::stop_x, and gerbv_net::stop_y.