upipe-freetype/uprobe_freetype.h header reference
Members [link]
Types [link]
- enum uprobe_freetype_alignment
- enum uprobe_freetype_justify
- struct uprobe_freetype_margin
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.
| Identifier | Value | Description |
|---|---|---|
| UPROBE_FREETYPE_ALIGNMENT_TOP | 0 | align text to the top of the box |
| UPROBE_FREETYPE_ALIGNMENT_CENTER | 1 | align text to the center of the box |
| UPROBE_FREETYPE_ALIGNMENT_BOTTOM | 2 | align 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.
| Identifier | Value | Description |
|---|---|---|
| UPROBE_FREETYPE_JUSTIFY_LEFT | 0 | justify text to the left of the box |
| UPROBE_FREETYPE_JUSTIFY_RIGHT | 1 | justify text to the right of the box |
| UPROBE_FREETYPE_JUSTIFY_CENTER | 2 | justify 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.