Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

engrave_file.h File Reference

Engrave_File object functions. Contains all of the functions related to the Engrave file object. More...

Go to the source code of this file.

Data Structures

struct  _Engrave_File
 Structure to hold the file information. More...


Typedefs

typedef _Engrave_File Engrave_File
 The Engrave_File typedef.


Functions

Engrave_Fileengrave_file_new (void)
 engrave_file_new - create a new Engrave_File object

void engrave_file_free (Engrave_File *ef)
 engrave_file_free - free the file object

void engrave_file_image_dir_set (Engrave_File *ef, const char *dir)
 engrave_file_image_dir_set - set the image directory for the file

void engrave_file_font_dir_set (Engrave_File *ef, const char *dir)
 engrave_file_font_dir_set - set the font dir for the file

const char * engrave_file_image_dir_get (Engrave_File *ef)
 engrave_file_image_dir_get - get the image directory

const char * engrave_file_font_dir_get (Engrave_File *ef)
 engrave_file_font_dir_get - get the font directory

void engrave_file_font_add (Engrave_File *e, Engrave_Font *ef)
 engrave_file_font_add - add the font to the engrave file.

void engrave_file_image_add (Engrave_File *ef, Engrave_Image *ei)
 engrave_file_image_add - add the image to the engrave file.

void engrave_file_data_add (Engrave_File *ef, Engrave_Data *ed)
 engrave_file_data_add - add the data to the engrave file.

void engrave_file_group_add (Engrave_File *ef, Engrave_Group *eg)
 engrave_file_group_add - add the group to the given file

Engrave_Groupengrave_file_group_last_get (Engrave_File *ef)
 engrave_file_group_last_get - returns the last group in the file

Engrave_Groupengrave_file_group_by_name_find (Engrave_File *ef, const char *name)
 engrave_file_group_by_name_find - returns the Engrave_Group with the given name.

Engrave_Fontengrave_file_font_by_name_find (Engrave_File *ef, const char *name)
 engrave_file_font_by_name_find - find the Engrave_Font by name

Engrave_Imageengrave_file_image_by_name_find (Engrave_File *ef, const char *name)
 engrave_file_image_by_name_find - returns the Engrave_Image with the given name.

int engrave_file_images_count (Engrave_File *ef)
 engrave_file_images_count - get the number of images

int engrave_file_data_count (Engrave_File *ef)
 engrave_file_data_count - count data blocks in file

int engrave_file_groups_count (Engrave_File *ef)
 engrave_file_groups_count - count the groups in the file

int engrave_file_fonts_count (Engrave_File *ef)
 engrave_file_fonts_count - count the fonts in the file

Engrave_Dataengrave_file_data_by_key_find (Engrave_File *ef, const char *key)
 engrave_file_data_by_key_find - find the Engrave_Data by key


Detailed Description

Engrave_File object functions. Contains all of the functions related to the Engrave file object.