Flutter Windows Embedder
flutter::Point Class Reference

#include <geometry.h>

Public Member Functions

 Point ()=default
 
 Point (double x, double y)
 
 Point (const Point &point)=default
 
Pointoperator= (const Point &other)=default
 
double x () const
 
double y () const
 
bool operator== (const Point &other) const
 

Detailed Description

Definition at line 13 of file geometry.h.

Constructor & Destructor Documentation

◆ Point() [1/3]

flutter::Point::Point ( )
default

◆ Point() [2/3]

flutter::Point::Point ( double  x,
double  y 
)
inline

Definition at line 16 of file geometry.h.

16 : x_(x), y_(y) {}

◆ Point() [3/3]

flutter::Point::Point ( const Point point)
default

Member Function Documentation

◆ operator=()

Point& flutter::Point::operator= ( const Point other)
default

◆ operator==()

bool flutter::Point::operator== ( const Point other) const
inline

Definition at line 23 of file geometry.h.

23  {
24  return x_ == other.x_ && y_ == other.y_;
25  }

◆ x()

double flutter::Point::x ( ) const
inline

Definition at line 20 of file geometry.h.

20 { return x_; }

Referenced by flutter::Rect::left(), flutter::Rect::right(), and flutter::TEST().

◆ y()

double flutter::Point::y ( ) const
inline

Definition at line 21 of file geometry.h.

21 { return y_; }

Referenced by flutter::Rect::bottom(), flutter::TEST(), and flutter::Rect::top().


The documentation for this class was generated from the following file:
flutter::Point::x
double x() const
Definition: geometry.h:20
flutter::Point::y
double y() const
Definition: geometry.h:21