Public Attributes

Celartem::DjVu::TextSearcher::Match Struct Reference

#include <djv_text.h>

List of all members.

Public Attributes

size_t a
 Indicates where the matched pattern starts on the first TextZone instance.
size_t b
 Indicates where the matched pattern ends on the last TextZone instance.
SimpleArray< AutoPtr< TextZone > > zones
 TextZone instances which forms the matched pattern.
Rect rect
 The union of the rectangles of TextZone instances.

Detailed Description

This structure represents a series of TextZone instances which forms the matched pattern.


Member Data Documentation

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.

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.

The union of the rectangles of TextZone instances.

This roughly indicates where the matched pattern is found.

TextZone instances which forms the matched pattern.


The documentation for this struct was generated from the following file:

This document is made with doxygen 1.7.1 at Thu Feb 17 2011 15:40:21.
Caminova Logo