Donner 0.5.1
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::svg::compositor::DualPathVerifier::VerifyResult Struct Reference

Result of a dual-path verification pass. More...

#include "donner/svg/compositor/DualPathVerifier.h"

Public Member Functions

bool isExact () const
 Returns true if the outputs are identical.
bool isWithinTolerance (uint8_t tolerance) const
 Returns true if the outputs match within the given per-channel tolerance.

Public Attributes

size_t mismatchCount = 0
 Number of pixels that differ between compositor and reference output.
uint8_t maxChannelDiff = 0
 Maximum per-channel difference across all pixels (0-255).
size_t totalPixels = 0
 Total number of pixels compared.
bool dimensionsMatch = true
 Whether the two bitmaps have the same dimensions.

Detailed Description

Result of a dual-path verification pass.


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