#include <SkPathOpsRect.h>
Definition at line 21 of file SkPathOpsRect.h.
◆ add()
void SkDRect::add |
( |
const SkDPoint & |
pt | ) |
|
|
inline |
Definition at line 24 of file SkPathOpsRect.h.
24 {
29 }
static float max(float r, float g, float b)
static float min(float r, float g, float b)
◆ contains()
bool SkDRect::contains |
( |
const SkDPoint & |
pt | ) |
const |
|
inline |
Definition at line 31 of file SkPathOpsRect.h.
31 {
34 }
bool approximately_between(double a, double b, double c)
◆ debugInit()
void SkDRect::debugInit |
( |
| ) |
|
◆ height()
double SkDRect::height |
( |
| ) |
const |
|
inline |
◆ intersects()
bool SkDRect::intersects |
( |
const SkDRect & |
r | ) |
const |
|
inline |
◆ set()
void SkDRect::set |
( |
const SkDPoint & |
pt | ) |
|
|
inline |
◆ setBounds() [1/7]
void SkDRect::setBounds |
( |
const SkDConic & |
curve | ) |
|
|
inline |
Definition at line 59 of file SkPathOpsRect.h.
59 {
61 }
void setBounds(const SkDConic &curve)
◆ setBounds() [2/7]
void SkDRect::setBounds |
( |
const SkDConic & |
curve, |
|
|
const SkDConic & |
sub, |
|
|
double |
tStart, |
|
|
double |
tEnd |
|
) |
| |
Definition at line 31 of file SkPathOpsRect.cpp.
31 {
34 double tValues[2];
38 }
41 }
42 for (
int index = 0; index <
roots; ++index) {
43 double t = startT + (endT - startT) * tValues[index];
45 }
46}
SkDPoint ptAtT(double t) const
static int FindExtrema(const double src[], SkScalar weight, double tValue[1])
bool monotonicInY() const
bool monotonicInX() const
void add(const SkDPoint &pt)
void set(const SkDPoint &pt)
◆ setBounds() [3/7]
void SkDRect::setBounds |
( |
const SkDCubic & |
curve | ) |
|
|
inline |
◆ setBounds() [4/7]
void SkDRect::setBounds |
( |
const SkDCubic & |
curve, |
|
|
const SkDCubic & |
sub, |
|
|
double |
tStart, |
|
|
double |
tEnd |
|
) |
| |
Definition at line 48 of file SkPathOpsRect.cpp.
48 {
51 double tValues[4];
55 }
58 }
59 for (
int index = 0; index <
roots; ++index) {
60 double t = startT + (endT - startT) * tValues[index];
62 }
63}
bool monotonicInX() const
bool monotonicInY() const
static int FindExtrema(const double src[], double tValue[2])
SkDPoint ptAtT(double t) const
◆ setBounds() [5/7]
void SkDRect::setBounds |
( |
const SkDQuad & |
curve | ) |
|
|
inline |
◆ setBounds() [6/7]
void SkDRect::setBounds |
( |
const SkDQuad & |
curve, |
|
|
const SkDQuad & |
sub, |
|
|
double |
tStart, |
|
|
double |
tEnd |
|
) |
| |
Definition at line 14 of file SkPathOpsRect.cpp.
14 {
17 double tValues[2];
21 }
24 }
25 for (
int index = 0; index <
roots; ++index) {
26 double t = startT + (endT - startT) * tValues[index];
28 }
29}
bool monotonicInY() const
bool monotonicInX() const
static int FindExtrema(const double src[], double tValue[1])
SkDPoint ptAtT(double t) const
◆ setBounds() [7/7]
void SkDRect::setBounds |
( |
const SkTCurve & |
curve | ) |
|
Definition at line 65 of file SkPathOpsRect.cpp.
65 {
67}
virtual void setBounds(SkDRect *) const =0
◆ valid()
bool SkDRect::valid |
( |
| ) |
const |
|
inline |
◆ width()
double SkDRect::width |
( |
| ) |
const |
|
inline |
◆ fBottom
◆ fLeft
◆ fRight
◆ fTop
The documentation for this struct was generated from the following files: