Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions
point.h File Reference
#include <iosfwd>
#include <string>
#include <tuple>
#include "ax_build/build_config.h"
#include "base/numerics/clamped_math.h"
#include "gfx/gfx_export.h"
#include "vector2d.h"

Go to the source code of this file.

Classes

class  gfx::Point
 

Namespaces

namespace  gfx
 

Functions

bool gfx::operator== (const Point &lhs, const Point &rhs)
 
bool gfx::operator!= (const Point &lhs, const Point &rhs)
 
Point gfx::operator+ (const Point &lhs, const Vector2d &rhs)
 
Point gfx::operator- (const Point &lhs, const Vector2d &rhs)
 
Vector2d gfx::operator- (const Point &lhs, const Point &rhs)
 
Point gfx::PointAtOffsetFromOrigin (const Vector2d &offset_from_origin)
 
void gfx::PrintTo (const Point &point, ::std::ostream *os)
 
Point gfx::ScaleToCeiledPoint (const Point &point, float x_scale, float y_scale)
 
Point gfx::ScaleToCeiledPoint (const Point &point, float scale)
 
Point gfx::ScaleToFlooredPoint (const Point &point, float x_scale, float y_scale)
 
Point gfx::ScaleToFlooredPoint (const Point &point, float scale)
 
Point gfx::ScaleToRoundedPoint (const Point &point, float x_scale, float y_scale)
 
Point gfx::ScaleToRoundedPoint (const Point &point, float scale)