$extrastylesheet
Functions | |
template<typename L > | |
component_set< L > | apply (const object_groups< L > &groups) |
template<typename L > | |
component_set< L > | apply (const object_links< L > &links) |
template<typename L > | |
object_groups< L > | from_double_link (const object_links< L > &left_link, const object_links< L > &right_link) |
template<typename L > | |
object_groups< L > | from_double_link_any (const object_links< L > &left_link, const object_links< L > &right_link) |
template<typename L , typename G > | |
object_groups< L > | from_graph (const component_set< L > &comps, const Graph< G > &g_) |
template<typename L > | |
object_groups< L > | from_single_link (const object_links< L > &links) |
template<typename L > | |
object_groups< L > | regroup_left (const component_set< L > &components, const object_groups< L > &groups, unsigned dmax) |
Namespace of primitive grouping related routines.
component_set<L> scribo::primitive::group::apply | ( | const object_groups< L > & | groups | ) |
Apply grouping in an object image.
groups | An object group structure. |
components
with grouped components. component_set<L> scribo::primitive::group::apply | ( | const object_links< L > & | links | ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
object_groups<L> scribo::primitive::group::from_double_link | ( | const object_links< L > & | left_link, |
const object_links< L > & | right_link | ||
) |
Group components from left and right links information and validate These links. A link must exist in both ways to be validated.
[in] | left_link | The left neighbor of each line of text. |
[in] | right_link | The right neighbor of each line of text. |
object_groups<L> scribo::primitive::group::from_double_link_any | ( | const object_links< L > & | left_link, |
const object_links< L > & | right_link | ||
) |
Group components from left and right links information and validate These links.
[in] | left_link | The left neighbor of each line of text. |
[in] | right_link | The right neighbor of each line of text. |
object_groups<L> scribo::primitive::group::from_graph | ( | const component_set< L > & | comps, |
const Graph< G > & | g_ | ||
) |
Group objects according to a graph of links.
[in] | comps | A component set. |
[in] | g_ | The graph of object links. |
object_groups<L> scribo::primitive::group::from_single_link | ( | const object_links< L > & | links | ) |
Link text components with their neighbor line if they have one.
[in] | links | The neighbor line of each line. |