Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::repro::ReproExpectedCrop Struct Reference

Optional pixel crop attached to a replay expectation. More...

#include "donner/editor/repro/ReproFile.h"

Public Attributes

int x = 0
 Left edge in the expectation crop mode's pixel coordinate space.
int y = 0
 Top edge in the expectation crop mode's pixel coordinate space.
int width = 0
 Width in pixels.
int height = 0
 Height in pixels.

Friends

bool operator== (const ReproExpectedCrop &lhs, const ReproExpectedCrop &rhs)=default
 Compare two recorded crop rectangles.

Detailed Description

Optional pixel crop attached to a replay expectation.

◆ operator==

bool operator== ( const ReproExpectedCrop & lhs,
const ReproExpectedCrop & rhs )
friend

Compare two recorded crop rectangles.

Parameters
lhsFirst crop.
rhsSecond crop.
Returns
True when all four crop fields match.

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