5#ifndef FLUTTER_DISPLAY_LIST_UTILS_DL_ACCUMULATION_RECT_H_
6#define FLUTTER_DISPLAY_LIST_UTILS_DL_ACCUMULATION_RECT_H_
10#include "flutter/display_list/geometry/dl_geometry_types.h"
11#include "flutter/display_list/geometry/dl_rtree.h"
12#include "flutter/fml/logging.h"
36 bool is_empty()
const {
return min_x_ >= max_x_ || min_y_ >= max_y_; }
37 bool is_not_empty()
const {
return min_x_ < max_x_ && min_y_ < max_y_; }
51 bool overlap_detected_;
bool overlap_detected() const
void accumulate(SkPoint p)
void accumulate(SkScalar x, SkScalar y)
void record_overlapping_bounds()
bool is_not_empty() const
void accumulate(DlRect r)
void accumulate(DlPoint p)
impeller::Scalar DlScalar
const SkRect & ToSkRect(const DlRect &rect)