#include <djv_text.h>
Public Attributes | |
| size_t | a |
| Indicates where the matched pattern starts on the first TextZone instance. More... | |
| size_t | b |
| Indicates where the matched pattern ends on the last TextZone instance. More... | |
| SimpleArray< AutoPtr< TextZone > > | zones |
| TextZone instances which forms the matched pattern. More... | |
| Rect | rect |
| The union of the rectangles of TextZone instances. More... | |
This structure represents a series of TextZone instances which forms the matched pattern.
| size_t Celartem::DjVu::TextSearcher::Match::a |
Indicates where the matched pattern starts on the first TextZone instance.
If the first text zone has "This" and the searched text is "is", then a is 2.
| size_t Celartem::DjVu::TextSearcher::Match::b |
Indicates where the matched pattern ends on the last TextZone instance.
If the last text zone has "theme" and the searched text is "the", then b is 3.
| Rect Celartem::DjVu::TextSearcher::Match::rect |
The union of the rectangles of TextZone instances.
This roughly indicates where the matched pattern is found.
| SimpleArray<AutoPtr<TextZone> > Celartem::DjVu::TextSearcher::Match::zones |
TextZone instances which forms the matched pattern.