TPDFVisualRect
Data types, document comparison, rendering
Description
TPDFVisualRect is a pixel rectangle with a top-left origin. Right and Bottom are exclusive, so the covered columns are Left through Right - 1.
The same record describes ignored areas, the changed bounding box and the bounds of a changed region.
Syntax
Delphi
TPDFVisualRect = record
Left, Top, Right, Bottom: Integer;
end;Fields
| Left | First covered column |
|---|---|
| Top | First covered row |
| Right | Column just past the covered area |
| Bottom | Row just past the covered area |
Remarks
An empty rectangle has Left greater than or equal to Right or Top greater than or equal to Bottom; ignore rectangles in that state are skipped.
Coordinates are clamped to the bitmap when an ignore rectangle extends past an edge.
See also
TPDFVisualRectArray, TPDFVisualRegion, TPDFVisualCompareOptions