5#ifndef FLUTTER_SHELL_GEOMETRY_GEOMETRY_H_
6#define FLUTTER_SHELL_GEOMETRY_GEOMETRY_H_
22 double x()
const {
return x_; }
23 double y()
const {
return y_; }
26 return x_ == other.x_ && y_ == other.y_;
44 double width()
const {
return width_; }
45 double height()
const {
return height_; }
63 double left()
const {
return origin_.
x(); }
64 double top()
const {
return origin_.
y(); }
73 return origin_ == other.origin_ && size_ == other.size_;
87 const std::optional<Size>&
biggest)
91 std::numeric_limits<double>::infinity()))) {}
105 Size biggest_ =
Size(std::numeric_limits<double>::infinity(),
106 std::numeric_limits<double>::infinity());
BoxConstraints(const BoxConstraints &other)=default
BoxConstraints(const std::optional< Size > &smallest, const std::optional< Size > &biggest)
bool IsSatisfiedBy(Size size)
bool operator==(const Point &other) const
Point & operator=(const Point &other)=default
Point(double x, double y)
Point(const Point &point)=default
Rect & operator=(const Rect &other)=default
Rect(const Point &origin, const Size &size)
Rect(const Rect &rect)=default
bool operator==(const Rect &other) const
bool operator==(const Size &other) const =default
Size(const Size &size)=default
Size(double width, double height)
Size & operator=(const Size &other)=default
it will be possible to load the file into Perfetto s trace viewer use test Running tests that layout and measure text will not yield consistent results across various platforms Enabling this option will make font resolution default to the Ahem test font on all disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size