compareAttributes method

bool compareAttributes(
  1. Attr attr1,
  2. Attr attr2
)

Implementation

bool compareAttributes(Attr attr1, Attr attr2){
  return attr1.x == attr2.x && attr1.y == attr2.y && attr1.h == attr2.h && attr1.w == attr2.w;
}