Flutter Engine
flutter::Point Class Reference

#include <test_codec_extensions.h>

Public Member Functions

 Point (int x, int y)
 
 ~Point ()=default
 
int x () const
 
int y () const
 
bool operator== (const Point &other) const
 

Detailed Description

Definition at line 14 of file test_codec_extensions.h.

Constructor & Destructor Documentation

◆ Point()

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

Definition at line 16 of file test_codec_extensions.h.

References ~Point().

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

◆ ~Point()

flutter::Point::~Point ( )
default

Referenced by Point().

Member Function Documentation

◆ operator==()

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

Definition at line 22 of file test_codec_extensions.h.

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

◆ x()

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

Definition at line 19 of file test_codec_extensions.h.

Referenced by flutter::PointExtensionSerializer::WriteValue().

19 { return x_; }

◆ y()

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

Definition at line 20 of file test_codec_extensions.h.

Referenced by flutter::PointExtensionSerializer::WriteValue().

20 { return y_; }

The documentation for this class was generated from the following file: