#include <types.h>
◆ _baseline_type
Enumerator |
---|
baseline_type_none | |
baseline_type_top | |
baseline_type_bottom | |
◆ baseline() [1/2]
litehtml::baseline::baseline |
( |
| ) |
|
|
inline |
◆ baseline() [2/2]
◆ calc()
void litehtml::baseline::calc |
( |
int |
top, |
|
|
int |
bottom |
|
) |
| |
|
inline |
Calculate baseline by top and bottom positions of element aligned by baseline == 0
- Parameters
-
top | - top of the aligned element |
bottom | - bottom of the aligned element |
◆ get_offset_from_bottom()
int litehtml::baseline::get_offset_from_bottom |
( |
int |
height | ) |
const |
|
inline |
Get baseline offset from bottom of element with specified height
- Parameters
-
- Returns
- baseline offset
◆ get_offset_from_top()
int litehtml::baseline::get_offset_from_top |
( |
int |
height | ) |
const |
|
inline |
Get baseline offset from top of element with specified height
- Parameters
-
- Returns
- baseline offset
◆ operator int()
litehtml::baseline::operator int |
( |
| ) |
const |
|
inline |
◆ operator=()
baseline & litehtml::baseline::operator= |
( |
int |
_value | ) |
|
|
inline |
◆ set()
◆ type() [1/2]
◆ type() [2/2]
◆ value() [1/2]
int litehtml::baseline::value |
( |
| ) |
const |
|
inline |
◆ value() [2/2]
void litehtml::baseline::value |
( |
int |
_value | ) |
|
|
inline |
◆ m_type
◆ m_value
int litehtml::baseline::m_value |
|
private |
The documentation for this class was generated from the following file:
- vendor/litehtml/include/litehtml/types.h