|
STLL
0.0
Simple Text Layouting Library
|
collection of codepointAttributes for the layouter. More...
Public Member Functions | |
| AttributeIndex_c (void) | |
| create an empty index More... | |
| AttributeIndex_c (const CodepointAttributes_c &a) | |
| create an index where all entries have the same attribute More... | |
| void | set (size_t i, CodepointAttributes_c a) |
| set attributes for a single indices More... | |
| void | set (size_t start, size_t end, CodepointAttributes_c a) |
| set attributes for a range of indices More... | |
| const CodepointAttributes_c & | get (size_t i) const |
| get the attribute for given index More... | |
| bool | hasAttribute (size_t i) const |
collection of codepointAttributes for the layouter.
This class behaves a bit like a vector of codepointAttributed in that you can get an attribute for an index. The index is of type size_t
|
inline |
create an empty index
|
inline |
create an index where all entries have the same attribute
| a | the attribute that all will share |
|
inline |
get the attribute for given index
| i | the index for which the attribute is requested |
|
inline |
|
inline |
set attributes for a single indices
| i | index that will have the attribute |
| a | the attribute |
|
inline |
set attributes for a range of indices
| start | first index that should have the attribute |
| end | first index that will no longer have the attribute |
| a | the attribute |