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

Hit-test checkpoint captured at mouse-down time. More...

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

Public Attributes

std::string id
 id attribute of the hit element, or empty if none.
std::string tag
 Tag name of the hit element, or empty if none.
int docOrderIndex = -1
 Document-order index of the hit element, or -1 if unspecified.
bool empty = false
 True when the click landed on empty space.

Friends

bool operator== (const ReproHit &lhs, const ReproHit &rhs)=default
 Compare two recorded hit-test checkpoints.

Detailed Description

Hit-test checkpoint captured at mouse-down time.

◆ operator==

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

Compare two recorded hit-test checkpoints.

Parameters
lhsFirst checkpoint.
rhsSecond checkpoint.
Returns
True when every recorded field matches.

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