TPDFVisualRegion
Data types, document comparison, rendering
Description
TPDFVisualRegion describes one connected cluster of changed tiles produced by a page comparison.
The bounds follow the changed pixels inside the tiles, while ChangedPixels counts the changed pixels in the whole cluster.
Syntax
Delphi
TPDFVisualRegion = record
Bounds: TPDFVisualRect;
ChangedPixels: Int64;
end;Fields
| Bounds | Union of the changed pixels in the connected tiles |
|---|---|
| ChangedPixels | Number of changed pixels in the cluster |
Remarks
Tiles touch when they share an edge, so diagonally adjacent tiles form separate regions.
The region list is empty when no pixel changed.
See also
TPDFVisualRegionArray, TPDFVisualCompareResult, TPDFVisualRect