Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions
rect.h File Reference
#include <cmath>
#include <iosfwd>
#include <string>
#include "ax_build/build_config.h"
#include "base/logging.h"
#include "base/numerics/safe_conversions.h"
#include "point.h"
#include "size.h"
#include "vector2d.h"

Go to the source code of this file.

Classes

class  gfx::Rect
 

Namespaces

namespace  gfx
 

Functions

bool gfx::operator== (const Rect &lhs, const Rect &rhs)
 
bool gfx::operator!= (const Rect &lhs, const Rect &rhs)
 
Rect gfx::operator+ (const Rect &lhs, const Vector2d &rhs)
 
Rect gfx::operator- (const Rect &lhs, const Vector2d &rhs)
 
Rect gfx::operator+ (const Vector2d &lhs, const Rect &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)
 
Rect gfx::ScaleToEnclosingRect (const Rect &rect, float x_scale, float y_scale)
 
Rect gfx::ScaleToEnclosingRect (const Rect &rect, float scale)
 
Rect gfx::ScaleToEnclosingRectSafe (const Rect &rect, float x_scale, float y_scale)
 
Rect gfx::ScaleToEnclosingRectSafe (const Rect &rect, float scale)
 
Rect gfx::ScaleToEnclosedRect (const Rect &rect, float x_scale, float y_scale)
 
Rect gfx::ScaleToEnclosedRect (const Rect &rect, float scale)
 
Rect gfx::ScaleToRoundedRect (const Rect &rect, float x_scale, float y_scale)
 
Rect gfx::ScaleToRoundedRect (const Rect &rect, float scale)
 
void gfx::PrintTo (const Rect &rect, ::std::ostream *os)