gerbv  2.10.1-dev~93f1b5
export-rs274x.c File Reference

Go to the source code of this file.

Functions

gboolean gerbv_export_rs274x_file_from_image (const gchar *filename, gerbv_image_t *inputImage, gerbv_user_transformation_t *transform)
 

Detailed Description

Functions to export an image to a RS274X file.

Definition in file export-rs274x.c.

Function Documentation

◆ gerbv_export_rs274x_file_from_image()

gboolean gerbv_export_rs274x_file_from_image ( const gchar *  filename,
gerbv_image_t image,
gerbv_user_transformation_t transform 
)

Export an image to a new file in RS274X 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
Examples
example1.c, example2.c, example4.c, and example5.c.

Definition at line 190 of file export-rs274x.c.

References gerbv_image_duplicate_image(), GERBV_POLARITY_CLEAR, gerbv_image_t::info, and gerbv_user_transformation_t::rotation.