Flutter Engine
The Flutter Engine
|
Classes | |
class | Insets |
class | InsetsF |
class | Point |
class | PointF |
class | Range |
class | Rect |
class | RectF |
class | Size |
class | SizeF |
class | Transform |
class | Vector2d |
class | Vector2dF |
Typedefs | |
typedef struct _UnimplementedNativeViewAccessible | UnimplementedNativeViewAccessible |
typedef UnimplementedNativeViewAccessible * | NativeViewAccessible |
typedef intptr_t | NativeViewId |
Functions | |
Insets | operator+ (Insets lhs, const Insets &rhs) |
Insets | operator- (Insets lhs, const Insets &rhs) |
InsetsF | operator+ (InsetsF lhs, const InsetsF &rhs) |
InsetsF | operator- (InsetsF lhs, const InsetsF &rhs) |
Point | ScaleToCeiledPoint (const Point &point, float x_scale, float y_scale) |
Point | ScaleToCeiledPoint (const Point &point, float scale) |
Point | ScaleToFlooredPoint (const Point &point, float x_scale, float y_scale) |
Point | ScaleToFlooredPoint (const Point &point, float scale) |
Point | ScaleToRoundedPoint (const Point &point, float x_scale, float y_scale) |
Point | ScaleToRoundedPoint (const Point &point, float scale) |
bool | operator== (const Point &lhs, const Point &rhs) |
bool | operator!= (const Point &lhs, const Point &rhs) |
Point | operator+ (const Point &lhs, const Vector2d &rhs) |
Point | operator- (const Point &lhs, const Vector2d &rhs) |
Vector2d | operator- (const Point &lhs, const Point &rhs) |
Point | PointAtOffsetFromOrigin (const Vector2d &offset_from_origin) |
void | PrintTo (const Point &point, ::std::ostream *os) |
Point | ToFlooredPoint (const PointF &point) |
Point | ToCeiledPoint (const PointF &point) |
Point | ToRoundedPoint (const PointF &point) |
PointF | ScalePoint (const PointF &p, float x_scale, float y_scale) |
bool | operator== (const PointF &lhs, const PointF &rhs) |
bool | operator!= (const PointF &lhs, const PointF &rhs) |
PointF | operator+ (const PointF &lhs, const Vector2dF &rhs) |
PointF | operator- (const PointF &lhs, const Vector2dF &rhs) |
Vector2dF | operator- (const PointF &lhs, const PointF &rhs) |
PointF | PointAtOffsetFromOrigin (const Vector2dF &offset_from_origin) |
PointF | ScalePoint (const PointF &p, float scale) |
void | PrintTo (const PointF &point, ::std::ostream *os) |
TEST (PointTest, ToPointF) | |
TEST (PointTest, IsOrigin) | |
TEST (PointTest, VectorArithmetic) | |
TEST (PointTest, OffsetFromPoint) | |
TEST (PointTest, ToRoundedPoint) | |
TEST (PointTest, Scale) | |
TEST (PointTest, ClampPoint) | |
TEST (PointTest, ClampPointF) | |
TEST (PointTest, Offset) | |
TEST (PointTest, VectorMath) | |
TEST (PointTest, IntegerOverflow) | |
void | AdjustAlongAxis (int dst_origin, int dst_size, int *origin, int *size) |
static void | SaturatedClampRange (int min, int max, int *origin, int *span) |
Rect | operator+ (const Rect &lhs, const Vector2d &rhs) |
Rect | operator- (const Rect &lhs, const Vector2d &rhs) |
Rect | IntersectRects (const Rect &a, const Rect &b) |
Rect | UnionRects (const Rect &a, const Rect &b) |
Rect | SubtractRects (const Rect &a, const Rect &b) |
Rect | BoundingRect (const Point &p1, const Point &p2) |
bool | operator== (const Rect &lhs, const Rect &rhs) |
bool | operator!= (const Rect &lhs, const Rect &rhs) |
Rect | operator+ (const Vector2d &lhs, const Rect &rhs) |
Rect | ScaleToEnclosingRect (const Rect &rect, float x_scale, float y_scale) |
Rect | ScaleToEnclosingRect (const Rect &rect, float scale) |
Rect | ScaleToEnclosingRectSafe (const Rect &rect, float x_scale, float y_scale) |
Rect | ScaleToEnclosingRectSafe (const Rect &rect, float scale) |
Rect | ScaleToEnclosedRect (const Rect &rect, float x_scale, float y_scale) |
Rect | ScaleToEnclosedRect (const Rect &rect, float scale) |
Rect | ScaleToRoundedRect (const Rect &rect, float x_scale, float y_scale) |
Rect | ScaleToRoundedRect (const Rect &rect, float scale) |
void | PrintTo (const Rect &rect, ::std::ostream *os) |
Rect | ToEnclosingRect (const RectF &r) |
Rect | ToEnclosingRectIgnoringError (const RectF &r, float error) |
Rect | ToEnclosedRect (const RectF &rect) |
Rect | ToEnclosedRectIgnoringError (const RectF &r, float error) |
Rect | ToNearestRect (const RectF &rect) |
bool | IsNearestRectWithinDistance (const gfx::RectF &rect, float distance) |
gfx::Rect | ToRoundedRect (const gfx::RectF &rect) |
Rect | ToFlooredRectDeprecated (const RectF &rect) |
static void | AdjustAlongAxis (float dst_origin, float dst_size, float *origin, float *size) |
RectF | IntersectRects (const RectF &a, const RectF &b) |
RectF | UnionRects (const RectF &a, const RectF &b) |
RectF | SubtractRects (const RectF &a, const RectF &b) |
RectF | BoundingRect (const PointF &p1, const PointF &p2) |
bool | operator== (const RectF &lhs, const RectF &rhs) |
bool | operator!= (const RectF &lhs, const RectF &rhs) |
RectF | operator+ (const RectF &lhs, const Vector2dF &rhs) |
RectF | operator- (const RectF &lhs, const Vector2dF &rhs) |
RectF | operator+ (const Vector2dF &lhs, const RectF &rhs) |
RectF | ScaleRect (const RectF &r, float x_scale, float y_scale) |
RectF | ScaleRect (const RectF &r, float scale) |
void | PrintTo (const RectF &rect, ::std::ostream *os) |
template<typename T , size_t N> | |
constexpr size_t | size (const T(&array)[N]) noexcept |
TEST (RectTest, Contains) | |
TEST (RectTest, Intersects) | |
TEST (RectTest, Intersect) | |
TEST (RectTest, Union) | |
TEST (RectTest, Equals) | |
TEST (RectTest, AdjustToFit) | |
TEST (RectTest, Subtract) | |
TEST (RectTest, IsEmpty) | |
TEST (RectTest, SplitVertically) | |
TEST (RectTest, CenterPoint) | |
TEST (RectTest, CenterPointF) | |
TEST (RectTest, SharesEdgeWith) | |
TEST (RectTest, ScaleRect) | |
TEST (RectTest, ToEnclosedRect) | |
TEST (RectTest, ToEnclosingRect) | |
TEST (RectTest, ToEnclosingRectIgnoringError) | |
TEST (RectTest, ToNearestRect) | |
TEST (RectTest, ToFlooredRect) | |
TEST (RectTest, ScaleToEnclosedRect) | |
TEST (RectTest, ScaleToEnclosingRect) | |
TEST (RectTest, ToRectF) | |
TEST (RectTest, BoundingRect) | |
TEST (RectTest, IsExpressibleAsRect) | |
TEST (RectTest, Offset) | |
TEST (RectTest, Corners) | |
TEST (RectTest, Centers) | |
TEST (RectTest, Transpose) | |
TEST (RectTest, ManhattanDistanceToPoint) | |
TEST (RectTest, ManhattanInternalDistance) | |
TEST (RectTest, IntegerOverflow) | |
TEST (RectTest, ScaleToEnclosingRectSafe) | |
Size | ScaleToCeiledSize (const Size &size, float x_scale, float y_scale) |
Size | ScaleToCeiledSize (const Size &size, float scale) |
Size | ScaleToFlooredSize (const Size &size, float x_scale, float y_scale) |
Size | ScaleToFlooredSize (const Size &size, float scale) |
Size | ScaleToRoundedSize (const Size &size, float x_scale, float y_scale) |
Size | ScaleToRoundedSize (const Size &size, float scale) |
bool | operator== (const Size &lhs, const Size &rhs) |
bool | operator!= (const Size &lhs, const Size &rhs) |
Size | operator+ (Size lhs, const Size &rhs) |
Size | operator- (Size lhs, const Size &rhs) |
void | PrintTo (const Size &size, ::std::ostream *os) |
Size | ToFlooredSize (const SizeF &size) |
Size | ToCeiledSize (const SizeF &size) |
Size | ToRoundedSize (const SizeF &size) |
SizeF | ScaleSize (const SizeF &s, float x_scale, float y_scale) |
bool | operator== (const SizeF &lhs, const SizeF &rhs) |
bool | operator!= (const SizeF &lhs, const SizeF &rhs) |
SizeF | ScaleSize (const SizeF &p, float scale) |
void | PrintTo (const SizeF &size, ::std::ostream *os) |
TEST (SizeTest, ToSizeF) | |
TEST (SizeTest, ToFlooredSize) | |
TEST (SizeTest, ToCeiledSize) | |
TEST (SizeTest, ToRoundedSize) | |
TEST (SizeTest, ClampSize) | |
TEST (SizeTest, ClampSizeF) | |
TEST (SizeTest, Enlarge) | |
TEST (SizeTest, IntegerOverflow) | |
TEST (SizeTest, TrivialDimensionTests) | |
TEST (SizeTest, ClampsToZero) | |
TEST (SizeTest, ConsistentClamping) | |
TEST (SizeTest, StaysSmall) | |
TEST (SizeTest, OperatorAddSub) | |
TEST (SizeTest, OperatorAddOverflow) | |
TEST (SizeTest, OperatorSubClampAtZero) | |
TEST (SizeTest, OperatorCompare) | |
constexpr Vector2d | operator- (const Vector2d &v) |
Vector2d | operator+ (const Vector2d &lhs, const Vector2d &rhs) |
Vector2d | operator- (const Vector2d &lhs, const Vector2d &rhs) |
void | PrintTo (const Vector2d &vector, ::std::ostream *os) |
Vector2d | ToFlooredVector2d (const Vector2dF &vector2d) |
Vector2d | ToCeiledVector2d (const Vector2dF &vector2d) |
Vector2d | ToRoundedVector2d (const Vector2dF &vector2d) |
double | CrossProduct (const Vector2dF &lhs, const Vector2dF &rhs) |
double | DotProduct (const Vector2dF &lhs, const Vector2dF &rhs) |
Vector2dF | ScaleVector2d (const Vector2dF &v, float x_scale, float y_scale) |
constexpr bool | operator== (const Vector2dF &lhs, const Vector2dF &rhs) |
constexpr bool | operator!= (const Vector2dF &lhs, const Vector2dF &rhs) |
constexpr Vector2dF | operator- (const Vector2dF &v) |
Vector2dF | operator+ (const Vector2dF &lhs, const Vector2dF &rhs) |
Vector2dF | operator- (const Vector2dF &lhs, const Vector2dF &rhs) |
Vector2dF | ScaleVector2d (const Vector2dF &v, float scale) |
void | PrintTo (const Vector2dF &vector, ::std::ostream *os) |
TEST (Vector2dTest, ConversionToFloat) | |
TEST (Vector2dTest, IsZero) | |
TEST (Vector2dTest, Add) | |
TEST (Vector2dTest, Negative) | |
TEST (Vector2dTest, Scale) | |
TEST (Vector2dTest, Length) | |
TEST (Vector2dTest, ClampVector2d) | |
TEST (Vector2dTest, ClampVector2dF) | |
TEST (Vector2dTest, IntegerOverflow) | |
GFX_EXPORT NSRect | ScreenRectToNSRect (const Rect &rect) |
GFX_EXPORT Rect | ScreenRectFromNSRect (const NSRect &point) |
GFX_EXPORT NSPoint | ScreenPointToNSPoint (const Point &point) |
GFX_EXPORT Point | ScreenPointFromNSPoint (const NSPoint &point) |
std::ostream & | operator<< (std::ostream &os, const Range &range) |
::testing::AssertionResult | AssertPointFloatEqual (const char *lhs_expr, const char *rhs_expr, const PointF &lhs, const PointF &rhs) |
::testing::AssertionResult | AssertRectFloatEqual (const char *lhs_expr, const char *rhs_expr, const RectF &lhs, const RectF &rhs) |
::testing::AssertionResult | AssertSizeFFloatEqual (const char *lhs_expr, const char *rhs_expr, const SizeF &lhs, const SizeF &rhs) |
void | PrintTo (const Transform &transform, ::std::ostream *os) |
::testing::AssertionResult | AssertAxisTransform2dFloatEqual (const char *lhs_expr, const char *rhs_expr, const AxisTransform2d &lhs, const AxisTransform2d &rhs) |
::testing::AssertionResult | AssertBoxFloatEqual (const char *lhs_expr, const char *rhs_expr, const BoxF &lhs, const BoxF &rhs) |
Variables | |
const gfx::NativeCursor | kNullCursor = static_cast<gfx::NativeCursor>(nullptr) |
Definition at line 225 of file native_widget_types.h.
typedef intptr_t gfx::NativeViewId |
Definition at line 241 of file native_widget_types.h.
typedef struct _UnimplementedNativeViewAccessible gfx::UnimplementedNativeViewAccessible |
Definition at line 224 of file native_widget_types.h.
|
static |
::testing::AssertionResult gfx::AssertAxisTransform2dFloatEqual | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const AxisTransform2d & | lhs, | ||
const AxisTransform2d & | rhs | ||
) |
::testing::AssertionResult gfx::AssertBoxFloatEqual | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const BoxF & | lhs, | ||
const BoxF & | rhs | ||
) |
testing::AssertionResult gfx::AssertPointFloatEqual | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const PointF & | lhs, | ||
const PointF & | rhs | ||
) |
Definition at line 33 of file gfx_util.cc.
testing::AssertionResult gfx::AssertRectFloatEqual | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const RectF & | lhs, | ||
const RectF & | rhs | ||
) |
Definition at line 46 of file gfx_util.cc.
testing::AssertionResult gfx::AssertSizeFFloatEqual | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const SizeF & | lhs, | ||
const SizeF & | rhs | ||
) |
Definition at line 61 of file gfx_util.cc.
GFX_EXPORT Rect gfx::BoundingRect | ( | const Point & | p1, |
const Point & | p2 | ||
) |
GFX_EXPORT RectF gfx::BoundingRect | ( | const PointF & | p1, |
const PointF & | p2 | ||
) |
GFX_EXPORT double gfx::CrossProduct | ( | const Vector2dF & | lhs, |
const Vector2dF & | rhs | ||
) |
Definition at line 44 of file vector2d_f.cc.
GFX_EXPORT double gfx::DotProduct | ( | const Vector2dF & | lhs, |
const Vector2dF & | rhs | ||
) |
GFX_EXPORT Rect gfx::IntersectRects | ( | const Rect & | a, |
const Rect & | b | ||
) |
GFX_EXPORT RectF gfx::IntersectRects | ( | const RectF & | a, |
const RectF & | b | ||
) |
GFX_EXPORT bool gfx::IsNearestRectWithinDistance | ( | const gfx::RectF & | rect, |
float | distance | ||
) |
Definition at line 94 of file rect_conversions.cc.
Definition at line 75 of file vector2d_f.h.
GFX_EXPORT Rect gfx::operator+ | ( | const Rect & | lhs, |
const Vector2d & | rhs | ||
) |
Definition at line 79 of file vector2d.h.
Definition at line 83 of file vector2d_f.h.
Definition at line 91 of file insets_f.h.
GFX_EXPORT Rect gfx::operator- | ( | const Rect & | lhs, |
const Vector2d & | rhs | ||
) |
Definition at line 75 of file vector2d.h.
Definition at line 79 of file vector2d_f.h.
Definition at line 96 of file insets_f.h.
GFX_RANGE_EXPORT std::ostream & gfx::operator<< | ( | std::ostream & | os, |
const Range & | range | ||
) |
void gfx::PrintTo | ( | const Point & | point, |
::std::ostream * | os | ||
) |
Definition at line 74 of file gfx_util.cc.
void gfx::PrintTo | ( | const PointF & | point, |
::std::ostream * | os | ||
) |
Definition at line 78 of file gfx_util.cc.
void gfx::PrintTo | ( | const Rect & | rect, |
::std::ostream * | os | ||
) |
Definition at line 82 of file gfx_util.cc.
void gfx::PrintTo | ( | const RectF & | rect, |
::std::ostream * | os | ||
) |
Definition at line 86 of file gfx_util.cc.
void gfx::PrintTo | ( | const Size & | size, |
::std::ostream * | os | ||
) |
Definition at line 90 of file gfx_util.cc.
void gfx::PrintTo | ( | const SizeF & | size, |
::std::ostream * | os | ||
) |
Definition at line 94 of file gfx_util.cc.
void gfx::PrintTo | ( | const Transform & | transform, |
::std::ostream * | os | ||
) |
Definition at line 98 of file gfx_util.cc.
void gfx::PrintTo | ( | const Vector2d & | vector, |
::std::ostream * | os | ||
) |
Definition at line 102 of file gfx_util.cc.
void gfx::PrintTo | ( | const Vector2dF & | vector, |
::std::ostream * | os | ||
) |
Definition at line 106 of file gfx_util.cc.
Definition at line 63 of file rect.cc.
GFX_EXPORT PointF gfx::ScalePoint | ( | const PointF & | p, |
float | x_scale, | ||
float | y_scale | ||
) |
Definition at line 25 of file point_f.cc.
GFX_EXPORT SizeF gfx::ScaleSize | ( | const SizeF & | s, |
float | x_scale, | ||
float | y_scale | ||
) |
Definition at line 33 of file size_f.cc.
GFX_EXPORT Point gfx::ScaleToCeiledPoint | ( | const Point & | point, |
float | scale | ||
) |
GFX_EXPORT Point gfx::ScaleToCeiledPoint | ( | const Point & | point, |
float | x_scale, | ||
float | y_scale | ||
) |
GFX_EXPORT Size gfx::ScaleToCeiledSize | ( | const Size & | size, |
float | scale | ||
) |
GFX_EXPORT Size gfx::ScaleToCeiledSize | ( | const Size & | size, |
float | x_scale, | ||
float | y_scale | ||
) |
Definition at line 323 of file rect.h.
Definition at line 309 of file rect.h.
Definition at line 287 of file rect.h.
Definition at line 269 of file rect.h.
Definition at line 305 of file rect.h.
GFX_EXPORT Point gfx::ScaleToFlooredPoint | ( | const Point & | point, |
float | scale | ||
) |
GFX_EXPORT Point gfx::ScaleToFlooredPoint | ( | const Point & | point, |
float | x_scale, | ||
float | y_scale | ||
) |
GFX_EXPORT Size gfx::ScaleToFlooredSize | ( | const Size & | size, |
float | scale | ||
) |
GFX_EXPORT Size gfx::ScaleToFlooredSize | ( | const Size & | size, |
float | x_scale, | ||
float | y_scale | ||
) |
GFX_EXPORT Point gfx::ScaleToRoundedPoint | ( | const Point & | point, |
float | scale | ||
) |
GFX_EXPORT Point gfx::ScaleToRoundedPoint | ( | const Point & | point, |
float | x_scale, | ||
float | y_scale | ||
) |
Definition at line 350 of file rect.h.
Definition at line 333 of file rect.h.
GFX_EXPORT Size gfx::ScaleToRoundedSize | ( | const Size & | size, |
float | scale | ||
) |
GFX_EXPORT Size gfx::ScaleToRoundedSize | ( | const Size & | size, |
float | x_scale, | ||
float | y_scale | ||
) |
Definition at line 108 of file vector2d_f.h.
GFX_EXPORT Vector2dF gfx::ScaleVector2d | ( | const Vector2dF & | v, |
float | x_scale, | ||
float | y_scale | ||
) |
Definition at line 54 of file vector2d_f.cc.
Point gfx::ScreenPointFromNSPoint | ( | const NSPoint & | point | ) |
Definition at line 38 of file coordinate_conversion.mm.
NSPoint gfx::ScreenPointToNSPoint | ( | const Point & | point | ) |
Definition at line 34 of file coordinate_conversion.mm.
Rect gfx::ScreenRectFromNSRect | ( | const NSRect & | point | ) |
Definition at line 29 of file coordinate_conversion.mm.
NSRect gfx::ScreenRectToNSRect | ( | const Rect & | rect | ) |
Definition at line 24 of file coordinate_conversion.mm.
Definition at line 21 of file rect_unittest.cc.
GFX_EXPORT Rect gfx::SubtractRects | ( | const Rect & | a, |
const Rect & | b | ||
) |
GFX_EXPORT RectF gfx::SubtractRects | ( | const RectF & | a, |
const RectF & | b | ||
) |
gfx::TEST | ( | PointTest | , |
ClampPoint | |||
) |
Definition at line 108 of file point_unittest.cc.
gfx::TEST | ( | PointTest | , |
ClampPointF | |||
) |
Definition at line 134 of file point_unittest.cc.
gfx::TEST | ( | PointTest | , |
IntegerOverflow | |||
) |
Definition at line 176 of file point_unittest.cc.
gfx::TEST | ( | PointTest | , |
IsOrigin | |||
) |
Definition at line 23 of file point_unittest.cc.
gfx::TEST | ( | PointTest | , |
Offset | |||
) |
gfx::TEST | ( | PointTest | , |
OffsetFromPoint | |||
) |
gfx::TEST | ( | PointTest | , |
Scale | |||
) |
gfx::TEST | ( | PointTest | , |
ToPointF | |||
) |
Definition at line 14 of file point_unittest.cc.
gfx::TEST | ( | PointTest | , |
ToRoundedPoint | |||
) |
Definition at line 67 of file point_unittest.cc.
gfx::TEST | ( | PointTest | , |
VectorArithmetic | |||
) |
Definition at line 41 of file point_unittest.cc.
gfx::TEST | ( | PointTest | , |
VectorMath | |||
) |
gfx::TEST | ( | RectTest | , |
AdjustToFit | |||
) |
Definition at line 164 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
BoundingRect | |||
) |
Definition at line 760 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
CenterPoint | |||
) |
Definition at line 297 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
CenterPointF | |||
) |
Definition at line 327 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
Centers | |||
) |
Definition at line 883 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
Contains | |||
) |
Definition at line 25 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
Corners | |||
) |
Definition at line 868 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
Equals | |||
) |
Definition at line 155 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
IntegerOverflow | |||
) |
Definition at line 971 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
Intersect | |||
) |
Definition at line 82 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
Intersects | |||
) |
Definition at line 53 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
IsEmpty | |||
) |
Definition at line 262 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
IsExpressibleAsRect | |||
) |
Definition at line 817 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
ManhattanDistanceToPoint | |||
) |
Definition at line 908 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
ManhattanInternalDistance | |||
) |
Definition at line 936 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
Offset | |||
) |
Definition at line 847 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
ScaleRect | |||
) |
Definition at line 399 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
ScaleToEnclosedRect | |||
) |
Definition at line 643 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
ScaleToEnclosingRect | |||
) |
Definition at line 691 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
ScaleToEnclosingRectSafe | |||
) |
Definition at line 1132 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
SharesEdgeWith | |||
) |
Definition at line 357 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
SplitVertically | |||
) |
Definition at line 273 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
Subtract | |||
) |
Definition at line 196 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
ToEnclosedRect | |||
) |
Definition at line 434 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
ToEnclosingRect | |||
) |
Definition at line 493 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
ToEnclosingRectIgnoringError | |||
) |
Definition at line 556 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
ToFlooredRect | |||
) |
Definition at line 614 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
ToNearestRect | |||
) |
Definition at line 603 of file rect_unittest.cc.
gfx::TEST | ( | RectTest | , |
ToRectF | |||
) |
gfx::TEST | ( | RectTest | , |
Transpose | |||
) |
gfx::TEST | ( | RectTest | , |
Union | |||
) |
Definition at line 120 of file rect_unittest.cc.
gfx::TEST | ( | SizeTest | , |
ClampSize | |||
) |
Definition at line 75 of file size_unittest.cc.
gfx::TEST | ( | SizeTest | , |
ClampSizeF | |||
) |
Definition at line 101 of file size_unittest.cc.
gfx::TEST | ( | SizeTest | , |
ClampsToZero | |||
) |
Definition at line 203 of file size_unittest.cc.
gfx::TEST | ( | SizeTest | , |
ConsistentClamping | |||
) |
gfx::TEST | ( | SizeTest | , |
Enlarge | |||
) |
gfx::TEST | ( | SizeTest | , |
IntegerOverflow | |||
) |
Definition at line 133 of file size_unittest.cc.
gfx::TEST | ( | SizeTest | , |
OperatorAddOverflow | |||
) |
Definition at line 271 of file size_unittest.cc.
gfx::TEST | ( | SizeTest | , |
OperatorAddSub | |||
) |
Definition at line 253 of file size_unittest.cc.
gfx::TEST | ( | SizeTest | , |
OperatorCompare | |||
) |
Definition at line 290 of file size_unittest.cc.
gfx::TEST | ( | SizeTest | , |
OperatorSubClampAtZero | |||
) |
gfx::TEST | ( | SizeTest | , |
StaysSmall | |||
) |
Definition at line 249 of file size_unittest.cc.
gfx::TEST | ( | SizeTest | , |
ToCeiledSize | |||
) |
Definition at line 47 of file size_unittest.cc.
gfx::TEST | ( | SizeTest | , |
ToFlooredSize | |||
) |
Definition at line 33 of file size_unittest.cc.
gfx::TEST | ( | SizeTest | , |
ToRoundedSize | |||
) |
Definition at line 61 of file size_unittest.cc.
gfx::TEST | ( | SizeTest | , |
ToSizeF | |||
) |
Definition at line 22 of file size_unittest.cc.
gfx::TEST | ( | SizeTest | , |
TrivialDimensionTests | |||
) |
Definition at line 159 of file size_unittest.cc.
gfx::TEST | ( | Vector2dTest | , |
Add | |||
) |
Definition at line 38 of file vector2d_unittest.cc.
gfx::TEST | ( | Vector2dTest | , |
ClampVector2d | |||
) |
Definition at line 176 of file vector2d_unittest.cc.
gfx::TEST | ( | Vector2dTest | , |
ClampVector2dF | |||
) |
Definition at line 202 of file vector2d_unittest.cc.
gfx::TEST | ( | Vector2dTest | , |
ConversionToFloat | |||
) |
Definition at line 20 of file vector2d_unittest.cc.
gfx::TEST | ( | Vector2dTest | , |
IntegerOverflow | |||
) |
Definition at line 228 of file vector2d_unittest.cc.
gfx::TEST | ( | Vector2dTest | , |
IsZero | |||
) |
Definition at line 26 of file vector2d_unittest.cc.
gfx::TEST | ( | Vector2dTest | , |
Length | |||
) |
Definition at line 135 of file vector2d_unittest.cc.
gfx::TEST | ( | Vector2dTest | , |
Negative | |||
) |
Definition at line 68 of file vector2d_unittest.cc.
gfx::TEST | ( | Vector2dTest | , |
Scale | |||
) |
Definition at line 95 of file vector2d_unittest.cc.
GFX_EXPORT Point gfx::ToCeiledPoint | ( | const PointF & | point | ) |
Definition at line 15 of file point_conversions.cc.
GFX_EXPORT Size gfx::ToCeiledSize | ( | const SizeF & | size | ) |
Definition at line 15 of file size_conversions.cc.
GFX_EXPORT Vector2d gfx::ToCeiledVector2d | ( | const Vector2dF & | vector2d | ) |
Definition at line 16 of file vector2d_conversions.cc.
GFX_EXPORT Rect gfx::ToEnclosedRect | ( | const RectF & | rect | ) |
Definition at line 51 of file rect_conversions.cc.
GFX_EXPORT Rect gfx::ToEnclosedRectIgnoringError | ( | const RectF & | r, |
float | error | ||
) |
Definition at line 59 of file rect_conversions.cc.
GFX_EXPORT Rect gfx::ToEnclosingRect | ( | const RectF & | r | ) |
Definition at line 29 of file rect_conversions.cc.
GFX_EXPORT Rect gfx::ToEnclosingRectIgnoringError | ( | const RectF & | r, |
float | error | ||
) |
Definition at line 40 of file rect_conversions.cc.
GFX_EXPORT Point gfx::ToFlooredPoint | ( | const PointF & | point | ) |
Definition at line 11 of file point_conversions.cc.
GFX_EXPORT Rect gfx::ToFlooredRectDeprecated | ( | const RectF & | rect | ) |
Definition at line 121 of file rect_conversions.cc.
GFX_EXPORT Size gfx::ToFlooredSize | ( | const SizeF & | size | ) |
Definition at line 11 of file size_conversions.cc.
GFX_EXPORT Vector2d gfx::ToFlooredVector2d | ( | const Vector2dF & | vector2d | ) |
Definition at line 11 of file vector2d_conversions.cc.
GFX_EXPORT Rect gfx::ToNearestRect | ( | const RectF & | rect | ) |
Definition at line 70 of file rect_conversions.cc.
GFX_EXPORT Point gfx::ToRoundedPoint | ( | const PointF & | point | ) |
Definition at line 19 of file point_conversions.cc.
GFX_EXPORT gfx::Rect gfx::ToRoundedRect | ( | const gfx::RectF & | rect | ) |
Definition at line 111 of file rect_conversions.cc.
GFX_EXPORT Size gfx::ToRoundedSize | ( | const SizeF & | size | ) |
Definition at line 19 of file size_conversions.cc.
GFX_EXPORT Vector2d gfx::ToRoundedVector2d | ( | const Vector2dF & | vector2d | ) |
Definition at line 20 of file vector2d_conversions.cc.
GFX_EXPORT Rect gfx::UnionRects | ( | const Rect & | a, |
const Rect & | b | ||
) |
GFX_EXPORT RectF gfx::UnionRects | ( | const RectF & | a, |
const RectF & | b | ||
) |
const gfx::NativeCursor gfx::kNullCursor = static_cast<gfx::NativeCursor>(nullptr) |
Definition at line 233 of file native_widget_types.h.