#include <formatting_context.h>
|
| formatting_context () |
|
void | push_position (int x, int y) |
|
void | pop_position (int x, int y) |
|
void | add_float (const std::shared_ptr< render_item > &el, int min_width, int context) |
|
void | clear_floats (int context) |
|
int | find_next_line_top (int top, int width, int def_right) |
|
int | get_floats_height (element_float el_float=float_none) const |
|
int | get_left_floats_height () const |
|
int | get_right_floats_height () const |
|
int | get_line_left (int y) |
|
void | get_line_left_right (int y, int def_right, int &ln_left, int &ln_right) |
|
int | get_line_right (int y, int def_right) |
|
int | get_cleared_top (const std::shared_ptr< render_item > &el, int line_top) const |
|
void | update_floats (int dy, const std::shared_ptr< render_item > &parent) |
|
void | apply_relative_shift (const containing_block_context &containing_block_size) |
|
int | find_min_left (int y, int context_idx) |
|
int | find_min_right (int y, int right, int context_idx) |
|
◆ formatting_context()
litehtml::formatting_context::formatting_context |
( |
| ) |
|
|
inline |
◆ add_float()
void litehtml::formatting_context::add_float |
( |
const std::shared_ptr< render_item > & |
el, |
|
|
int |
min_width, |
|
|
int |
context |
|
) |
| |
◆ apply_relative_shift()
◆ clear_floats()
void litehtml::formatting_context::clear_floats |
( |
int |
context | ) |
|
◆ find_min_left()
int litehtml::formatting_context::find_min_left |
( |
int |
y, |
|
|
int |
context_idx |
|
) |
| |
◆ find_min_right()
int litehtml::formatting_context::find_min_right |
( |
int |
y, |
|
|
int |
right, |
|
|
int |
context_idx |
|
) |
| |
◆ find_next_line_top()
int litehtml::formatting_context::find_next_line_top |
( |
int |
top, |
|
|
int |
width, |
|
|
int |
def_right |
|
) |
| |
◆ get_cleared_top()
int litehtml::formatting_context::get_cleared_top |
( |
const std::shared_ptr< render_item > & |
el, |
|
|
int |
line_top |
|
) |
| const |
◆ get_floats_height()
◆ get_left_floats_height()
int litehtml::formatting_context::get_left_floats_height |
( |
| ) |
const |
◆ get_line_left()
int litehtml::formatting_context::get_line_left |
( |
int |
y | ) |
|
◆ get_line_left_right()
void litehtml::formatting_context::get_line_left_right |
( |
int |
y, |
|
|
int |
def_right, |
|
|
int & |
ln_left, |
|
|
int & |
ln_right |
|
) |
| |
|
inline |
◆ get_line_right()
int litehtml::formatting_context::get_line_right |
( |
int |
y, |
|
|
int |
def_right |
|
) |
| |
◆ get_right_floats_height()
int litehtml::formatting_context::get_right_floats_height |
( |
| ) |
const |
◆ pop_position()
void litehtml::formatting_context::pop_position |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
inline |
◆ push_position()
void litehtml::formatting_context::push_position |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
inline |
◆ update_floats()
void litehtml::formatting_context::update_floats |
( |
int |
dy, |
|
|
const std::shared_ptr< render_item > & |
parent |
|
) |
| |
◆ m_cache_line_left
◆ m_cache_line_right
◆ m_current_left
int litehtml::formatting_context::m_current_left |
|
private |
◆ m_current_top
int litehtml::formatting_context::m_current_top |
|
private |
◆ m_floats_left
std::list<floated_box> litehtml::formatting_context::m_floats_left |
|
private |
◆ m_floats_right
std::list<floated_box> litehtml::formatting_context::m_floats_right |
|
private |
The documentation for this class was generated from the following files: