Inheritance diagram for cwidget::_sequence_fragment:
Public Member Functions | |
_sequence_fragment (const vector< fragment * > &_contents) | |
fragment_contents | layout (size_t firstw, const size_t restw, const style &st) |
Return all the lines of this fragment, given the "shape" of the fragment. | |
size_t | calc_max_width (size_t first_indent, size_t rest_indent) const |
Actually calculate the maximum width. | |
size_t | calc_trailing_width (size_t first_indent, size_t rest_indent) const |
Actually calculate the trailing width. | |
bool | calc_final_newline () const |
Actually calculate the final-nl status. |
|
Return all the lines of this fragment, given the "shape" of the fragment. Note that some fragments ignore the given widths, so the caller is expected to either put everything in a formatting box (one that forces its contents to stay "in bounds") or manually clip the return value.
Implements cwidget::fragment. |