Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Functions
rect.cc File Reference
#include "rect.h"
#include <algorithm>
#include "ax_build/build_config.h"
#include "base/logging.h"
#include "base/numerics/clamped_math.h"
#include "base/string_utils.h"
#include "insets.h"

Go to the source code of this file.

Namespaces

namespace  gfx
 

Functions

void gfx::AdjustAlongAxis (int dst_origin, int dst_size, int *origin, int *size)
 
static void gfx::SaturatedClampRange (int min, int max, int *origin, int *span)
 
Rect gfx::operator+ (const Rect &lhs, const Vector2d &rhs)
 
Rect gfx::operator- (const Rect &lhs, const Vector2d &rhs)
 
Rect gfx::IntersectRects (const Rect &a, const Rect &b)
 
Rect gfx::UnionRects (const Rect &a, const Rect &b)
 
Rect gfx::SubtractRects (const Rect &a, const Rect &b)
 
Rect gfx::BoundingRect (const Point &p1, const Point &p2)