LiVES  3.0.2
Data Structures | Typedefs | Enumerations | Functions
pangotext.h File Reference

Go to the source code of this file.

Data Structures

struct  lives_subtitle_style_t
 
struct  lives_subtitle_t
 
struct  lives_subtitles_t
 

Typedefs

typedef struct _lives_subtitle_t xlives_subtitle_t
 

Enumerations

enum  lives_subtitle_type_t { SUBTITLE_TYPE_NONE = 0, SUBTITLE_TYPE_SRT, SUBTITLE_TYPE_SUB }
 
enum  lives_text_mode_t { LIVES_TEXT_MODE_FOREGROUND_ONLY, LIVES_TEXT_MODE_FOREGROUND_AND_BACKGROUND, LIVES_TEXT_MODE_BACKGROUND_ONLY }
 

Functions

char ** get_font_list (void)
 
weed_plant_t * render_text_to_layer (weed_plant_t *layer, const char *text, const char *fontname, double size, lives_text_mode_t mode, lives_colRGBA64_t *fg_col, lives_colRGBA64_t *bg_col, boolean center, boolean rising, double top)
 
LingoLayout * render_text_to_cr (LiVESWidget *widget, lives_painter_t *, const char *text, const char *fontname, double size, lives_text_mode_t mode, lives_colRGBA64_t *fg_col, lives_colRGBA64_t *bg_col, boolean center, boolean rising, double top, int start, double dwidth, double dheight)
 
void layout_to_lives_painter (LingoLayout *layout, lives_painter_t *cr, lives_text_mode_t mode, lives_colRGBA64_t *fg, lives_colRGBA64_t *bg, int dwidth, int dheight, double x_bg, double y_bg, double x_text, double y_text)
 
LingoLayout * layout_nth_message_at_bottom (int n, int width, int height, LiVESWidget *widget, int *linecount)
 

Typedef Documentation

◆ xlives_subtitle_t

typedef struct _lives_subtitle_t xlives_subtitle_t

Enumeration Type Documentation

◆ lives_subtitle_type_t

Enumerator
SUBTITLE_TYPE_NONE 
SUBTITLE_TYPE_SRT 
SUBTITLE_TYPE_SUB 

◆ lives_text_mode_t

Enumerator
LIVES_TEXT_MODE_FOREGROUND_ONLY 
LIVES_TEXT_MODE_FOREGROUND_AND_BACKGROUND 
LIVES_TEXT_MODE_BACKGROUND_ONLY 

Function Documentation

◆ get_font_list()

char** get_font_list ( void  )

◆ layout_nth_message_at_bottom()

LingoLayout* layout_nth_message_at_bottom ( int  n,
int  width,
int  height,
LiVESWidget *  widget,
int *  linecount 
)

◆ layout_to_lives_painter()

void layout_to_lives_painter ( LingoLayout *  layout,
lives_painter_t *  cr,
lives_text_mode_t  mode,
lives_colRGBA64_t fg,
lives_colRGBA64_t bg,
int  dwidth,
int  dheight,
double  x_bg,
double  y_bg,
double  x_text,
double  y_text 
)

◆ render_text_to_cr()

LingoLayout* render_text_to_cr ( LiVESWidget *  widget,
lives_painter_t *  ,
const char *  text,
const char *  fontname,
double  size,
lives_text_mode_t  mode,
lives_colRGBA64_t fg_col,
lives_colRGBA64_t bg_col,
boolean  center,
boolean  rising,
double  top,
int  start,
double  dwidth,
double  dheight 
)

◆ render_text_to_layer()

weed_plant_t* render_text_to_layer ( weed_plant_t *  layer,
const char *  text,
const char *  fontname,
double  size,
lives_text_mode_t  mode,
lives_colRGBA64_t fg_col,
lives_colRGBA64_t bg_col,
boolean  center,
boolean  rising,
double  top 
)

< error occured