gerbv  2.6A
gerbv_fileinfo_t Struct Reference

#include <gerbv.h>

Data Fields

gerbv_image_timage
GdkColor color
guint16 alpha
gboolean isVisible
gpointer privateRenderData
gchar * fullPathname
gchar * name
gerbv_user_transformation_t transform
gboolean layer_dirty

Detailed Description

Holds information related to an individual layer that is part of a project

Definition at line 600 of file gerbv.h.

Field Documentation

guint16 gerbv_fileinfo_t::alpha

the transparency to render this layer with

Definition at line 603 of file gerbv.h.

Referenced by gerbv_open_layer_from_filename_with_color().

GdkColor gerbv_fileinfo_t::color

the color to render this layer with

Examples:
example3.c.

Definition at line 602 of file gerbv.h.

Referenced by gerbv_open_layer_from_filename_with_color().

gchar* gerbv_fileinfo_t::fullPathname

this full pathname to the file

Definition at line 606 of file gerbv.h.

Referenced by gerbv_destroy_fileinfo().

gerbv_image_t* gerbv_fileinfo_t::image

the image holding all the geometry of the layer

Examples:
example1.c.

Definition at line 601 of file gerbv.h.

Referenced by generate_drill_analysis(), generate_gerber_analysis(), gerbv_destroy_fileinfo(), and merge_images().

gboolean gerbv_fileinfo_t::isVisible

TRUE if this layer should be rendered with the project

Definition at line 604 of file gerbv.h.

Referenced by callbacks_toggle_layer_visibility_activate(), generate_drill_analysis(), generate_gerber_analysis(), and merge_images().

gboolean gerbv_fileinfo_t::layer_dirty

True if layer has been modified since last save

Definition at line 609 of file gerbv.h.

Referenced by callbacks_quit_activate(), gerbv_open_layer_from_filename(), and gerbv_open_layer_from_filename_with_color().

gchar* gerbv_fileinfo_t::name

the name used when referring to this layer (e.g. in a layer selection menu)

Definition at line 607 of file gerbv.h.

Referenced by gerbv_destroy_fileinfo(), and merge_images().

gpointer gerbv_fileinfo_t::privateRenderData

private data holder for the rendering backend

Definition at line 605 of file gerbv.h.

Referenced by gerbv_destroy_fileinfo().

gerbv_user_transformation_t gerbv_fileinfo_t::transform

user-specified transformation for this layer (mirroring, translating, etc)

Examples:
example3.c.

Definition at line 608 of file gerbv.h.

Referenced by merge_images().


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