Flutter Engine
The Flutter Engine
Classes
|
Functions
contour Namespace Reference
Classes
class
Contour
class
Contours
struct
Point
Functions
static
SkIRect
extend_rect
(
SkIRect
r,
Point
p)
Function Documentation
◆
extend_rect()
static
SkIRect
contour::extend_rect
(
SkIRect
r
,
Point
p
)
static
Definition at line
62
of file
Contour.cpp
.
62
{
63
int32_t
left
=
std::min
(
p
.x, r.
fLeft
),
64
top =
std::min
(
p
.y, r.
fTop
),
65
right
=
std::max
(
p
.x, r.
fRight
),
66
bottom =
std::max
(
p
.y, r.
fBottom
);
67
return
{
left
, top,
right
, bottom};
68
}
left
static bool left(const SkPoint &p0, const SkPoint &p1)
Definition:
SkPolyUtils.cpp:527
right
static bool right(const SkPoint &p0, const SkPoint &p1)
Definition:
SkPolyUtils.cpp:532
max
static float max(float r, float g, float b)
Definition:
hsl.cpp:49
min
static float min(float r, float g, float b)
Definition:
hsl.cpp:48
dart_profiler_symbols.p
p
Definition:
dart_profiler_symbols.py:55
SkIRect::fBottom
int32_t fBottom
larger y-axis bounds
Definition:
SkRect.h:36
SkIRect::fTop
int32_t fTop
smaller y-axis bounds
Definition:
SkRect.h:34
SkIRect::fLeft
int32_t fLeft
smaller x-axis bounds
Definition:
SkRect.h:33
SkIRect::fRight
int32_t fRight
larger x-axis bounds
Definition:
SkRect.h:35
Generated on Sun Jun 23 2024 21:58:29 for Flutter Engine by
1.9.4