upipe-freetype/uprobe_freetype.h header reference

Members [link] 

Types [link] 

Function [link] 

  • struct uprobe * uprobe_freetype_alloc(struct uprobe *next, enum uprobe_freetype_justify justify, enum uprobe_freetype_alignment alignment, const struct uprobe_freetype_margin *margin)

Members detail [link] 

#define _UPIPE_FREETYPE_UPROBE_FREETYPE_H_ [link] 

This macro is declared in upipe-freetype/uprobe_freetype.h source file, line 26.

enum uprobe_freetype_alignment [link] 

This enum is declared in upipe-freetype/uprobe_freetype.h source file, line 44.

This enum enumerates the vertical alignment options.

IdentifierValueDescription
UPROBE_FREETYPE_ALIGNMENT_TOP0align text to the top of the box
UPROBE_FREETYPE_ALIGNMENT_CENTER1align text to the center of the box
UPROBE_FREETYPE_ALIGNMENT_BOTTOM2align text to the bottom of the box

struct uprobe * uprobe_freetype_alloc(struct uprobe *next, enum uprobe_freetype_justify justify, enum uprobe_freetype_alignment alignment, const struct uprobe_freetype_margin *margin) [link] 

This function is declared in upipe-freetype/uprobe_freetype.h source file, line 76.

This function allocates a freetype probe to size and position the text.

Parameter list:

  • next: next probe in the list
  • justify: text justification
  • margin: text margin in the box

The return value is an allocate probe or NULL in case of error

enum uprobe_freetype_justify [link] 

This enum is declared in upipe-freetype/uprobe_freetype.h source file, line 33.

This enum enumerates the justify options.

IdentifierValueDescription
UPROBE_FREETYPE_JUSTIFY_LEFT0justify text to the left of the box
UPROBE_FREETYPE_JUSTIFY_RIGHT1justify text to the right of the box
UPROBE_FREETYPE_JUSTIFY_CENTER2justify text to the center of the box

struct uprobe_freetype_margin [link] 

This struct is declared in upipe-freetype/uprobe_freetype.h source file, line 54.

This struct describes the text margin in the box.

FieldDescription
unsigned int left;left margin in percent
unsigned int right;right margin in percent
unsigned int top;top margin in percent
unsigned int bottom;bottom margin in percent
Valid XHTML 1.0 StrictGenerated by cmassiot on Sun Dec 14 18:31:17 2025 using MkDoc