News

Documentation

Engrave_Font: Functions to work with engrave font objects


Data Structures

struct  _Engrave_Font
 Stores the needed font information. More...

Typedefs

typedef _Engrave_Font Engrave_Font
 The Engrave_Font typedef.

Functions

EAPI Engrave_Fontengrave_font_new (const char *path, const char *name)
 engrave_font_new - create a new Engrave_Font object.
EAPI void engrave_font_free (Engrave_Font *ef)
 engrave_font_free - free the memory
EAPI void engrave_font_parent_set (Engrave_Font *font, void *ef)
 engrave_font_parent_set - set the parent of the font node
EAPI void * engrave_font_parent_get (Engrave_Font *ef)
 engrave_font_parent_get - get the parent pointer
EAPI const char * engrave_font_name_get (Engrave_Font *ef)
 engrave_font_name_get - get the font name
EAPI const char * engrave_font_path_get (Engrave_Font *ef)
 engrave_font_path_get - get the font path

Function Documentation

EAPI void engrave_font_free ( Engrave_Font ef  ) 

engrave_font_free - free the memory

Parameters:
ef,: The Engrave_Font to free
Returns:
Returns no value

EAPI const char* engrave_font_name_get ( Engrave_Font ef  ) 

engrave_font_name_get - get the font name

Parameters:
ef,: The Engrave_Font to get the name from
Returns:
Returns the name of the font on success or NULL on failure.

EAPI Engrave_Font* engrave_font_new ( const char *  path,
const char *  name 
)

engrave_font_new - create a new Engrave_Font object.

Parameters:
path,: The path to the font
name,: The name for the font
Returns:
Returns a pointer to a newly allocated Engrave_Font on success, or NULL on failure.

EAPI void* engrave_font_parent_get ( Engrave_Font ef  ) 

engrave_font_parent_get - get the parent pointer

Parameters:
ef,: The Engrave_Font to get the parent from
Returns:
Returns the pointer to the parent or NULL if none set

EAPI void engrave_font_parent_set ( Engrave_Font font,
void *  ef 
)

engrave_font_parent_set - set the parent of the font node

Parameters:
font,: The Engrave_Font to set the parent into
ef,: The Engrave_File to set as parent
Returns:
Retruns no value.

EAPI const char* engrave_font_path_get ( Engrave_Font ef  ) 

engrave_font_path_get - get the font path

Parameters:
ef,: The Engrave_Font to get the path from
Returns:
Returns the path of the font on success or NULL on failure.


Copyright © Enlightenment.org

Engrave Documentation Generated: Sat Apr 7 18:28:01 2007