gerbv  2.10.1-dev~93f1b5
gerbv_project_t Struct Reference

#include <gerbv.h>

Data Fields

GdkColor background
 
int max_files
 
gerbv_fileinfo_t ** file
 
int curr_index
 
int last_loaded
 
int renderType
 
gboolean check_before_delete
 
gboolean show_invisible_selection
 
gchar * path
 
gchar * execpath
 
gchar * execname
 
gchar * project
 

Detailed Description

The top-level structure used in libgerbv. A gerbv_project_t groups together any number of layers, while keeping track of other basic paramters needed for rendering

Examples
example1.c, example3.c, and example6.c.

Definition at line 760 of file gerbv.h.

Field Documentation

◆ background

GdkColor gerbv_project_t::background

the background color used for rendering

Definition at line 761 of file gerbv.h.

◆ check_before_delete

gboolean gerbv_project_t::check_before_delete

TRUE to ask before deleting objects

Definition at line 767 of file gerbv.h.

Referenced by gerbv_create_project().

◆ curr_index

int gerbv_project_t::curr_index

the index of the currently active fileinfo

Definition at line 764 of file gerbv.h.

◆ execname

gchar* gerbv_project_t::execname

the path plus executible name for Gerbv

Definition at line 771 of file gerbv.h.

Referenced by gerbv_destroy_project().

◆ execpath

gchar* gerbv_project_t::execpath

the path to executed version of Gerbv

Definition at line 770 of file gerbv.h.

Referenced by gerbv_destroy_project().

◆ file

gerbv_fileinfo_t** gerbv_project_t::file

◆ last_loaded

int gerbv_project_t::last_loaded

◆ max_files

int gerbv_project_t::max_files

the current number of fileinfos in the file array

Definition at line 762 of file gerbv.h.

Referenced by gerbv_create_project().

◆ path

gchar* gerbv_project_t::path

the default path to load new files from

Definition at line 769 of file gerbv.h.

Referenced by gerbv_create_project(), gerbv_destroy_project(), and open_project().

◆ project

gchar* gerbv_project_t::project

the default name for the private project file

Definition at line 772 of file gerbv.h.

Referenced by gerbv_destroy_project().

◆ renderType

int gerbv_project_t::renderType

the type of renderer to use

Definition at line 766 of file gerbv.h.

◆ show_invisible_selection

gboolean gerbv_project_t::show_invisible_selection

TRUE to show selected objects on invisible files

Definition at line 768 of file gerbv.h.


The documentation for this struct was generated from the following file: