StripPlan class

The strip batches of one full binning walk, tagged with the geometry they were binned for. Only valid for a device with the exact same pageToDevice matrix, viewport, and tolerance; the consuming device verifies totalFlushPoints and full batch consumption at finish and falls back to local binning on any mismatch.

Constructors

StripPlan({required int totalFlushPoints, required int deviceWidth, required int deviceHeight, required PdfMatrix pageToDevice, required double tolerance, required List<StripBatchData> batches, bool slugGlyphs = false, List<SlugBatchData> slugBatches = const [], int slugQuadCount = 0, int slugFallbackOutlineRuns = 0, List<int> slugFallbackOrdinals = const []})

Properties

batches → List<StripBatchData>
Non-empty batches ordered by StripBatchData.flushOrdinal.
final
deviceHeight → int
final
deviceWidth → int
final
hashCode → int
The hash code for this object.
no setterinherited
pageToDevice → PdfMatrix
Page space -> device pixels, exactly as the consuming device will be constructed (the six coefficients round-trip bit-exactly).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slugBatches → List<SlugBatchData>
final
slugFallbackOrdinals → List<int>
final
slugFallbackOutlineRuns → int
final
slugGlyphs → bool
Whether outline text was routed into worker-built Slug batches.
final
slugQuadCount → int
final
tolerance → double
The flatten tolerance the strips were binned at (stripFlattenTolerance everywhere today; carried for the guard).
final
totalFlushPoints → int
Flush points the binning walk counted (empty ones included) - must equal the consuming device's own count for the plan to be valid.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited