Functions

text_style.c File Reference

Include dependency graph for text_style.c:

Functions

text_style_ttext_style_New (void)
 Create a default text style.
text_style_ttext_style_Copy (text_style_t *p_dst, const text_style_t *p_src)
 Copy a text style into another.
text_style_ttext_style_Duplicate (const text_style_t *p_src)
 Duplicate a text style.
void text_style_Delete (text_style_t *p_style)
 Delete a text style created by text_style_New or text_style_Duplicate.

Function Documentation

text_style_t* text_style_Copy ( text_style_t p_dst,
const text_style_t p_src 
)

Copy a text style into another.

References text_style_t::psz_fontname, and strdup().

Referenced by text_style_Duplicate().

void text_style_Delete ( text_style_t p_style  ) 

Delete a text style created by text_style_New or text_style_Duplicate.

References text_style_t::psz_fontname.

Referenced by subpicture_region_Delete().

text_style_t* text_style_Duplicate ( const text_style_t p_src  ) 

Duplicate a text style.

References text_style_Copy().

text_style_t* text_style_New ( void   ) 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines