class Point2F
Defined at line 18 of file ../../src/ui/scenic/lib/types/point2_f.h
Public Methods
void Point2F (const Point2F & )
Defined at line 46 of file ../../src/ui/scenic/lib/types/point2_f.h
void Point2F (Point2F && )
Defined at line 47 of file ../../src/ui/scenic/lib/types/point2_f.h
Point2F & operator= (const Point2F & )
Defined at line 48 of file ../../src/ui/scenic/lib/types/point2_f.h
Point2F & operator= (Point2F && )
Defined at line 49 of file ../../src/ui/scenic/lib/types/point2_f.h
void ~Point2F ()
Defined at line 50 of file ../../src/ui/scenic/lib/types/point2_f.h
float x ()
Defined at line 58 of file ../../src/ui/scenic/lib/types/point2_f.h
float y ()
Defined at line 59 of file ../../src/ui/scenic/lib/types/point2_f.h
bool IsOrigin ()
Defined at line 60 of file ../../src/ui/scenic/lib/types/point2_f.h
bool IsValid (float x, float y, bool should_assert)
Returns true iff the args can be used to construct a valid Point2F.
If `should_assert` is true, invalid args will trigger a FX_DCHECK.
Validity constraints:
- x and y MUST be finite.
Defined at line 68 of file ../../src/ui/scenic/lib/types/point2_f.h
bool IsValid (const fuchsia_math::VecF & fidl_vec, bool should_assert)
static
Defined at line 81 of file ../../src/ui/scenic/lib/types/point2_f.h
bool IsValid (const fuchsia_math::wire::VecF & fidl_vec, bool should_assert)
static
Defined at line 86 of file ../../src/ui/scenic/lib/types/point2_f.h
Point2F From (const fuchsia_math::VecF & fidl_vec)
Constructors. All arguments must be valid; use `IsValid()` to validate if you're not sure.
Defined at line 95 of file ../../src/ui/scenic/lib/types/point2_f.h
Point2F From (const fuchsia_math::wire::VecF & fidl_vec)
static
Defined at line 101 of file ../../src/ui/scenic/lib/types/point2_f.h
void Point2F (const ConstructorArgs & args)
Constructor that enables the designated initializer syntax.
NOLINTNEXTLINE(google-explicit-constructor)
Defined at line 90 of file ../../src/ui/scenic/lib/types/point2_f.h
fuchsia_math::VecF ToFidl ()
Defined at line 112 of file ../../src/ui/scenic/lib/types/point2_f.h
fuchsia_math::wire::VecF ToWire ()
Defined at line 114 of file ../../src/ui/scenic/lib/types/point2_f.h
Records
Friends
bool Point2F (const Point2F & lhs, const Point2F & rhs)
bool Point2F (const Point2F & lhsconst Point2F & rhs)