Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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
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 Fri Apr 26 2024 06:20:35 for Flutter Engine by
1.9.8