OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:srcPts
(Results
1 - 8
of
8
) sorted by null
/external/skia/src/core/
SkQuadClipper.cpp
51
bool SkQuadClipper::clipQuad(const SkPoint
srcPts
[3], SkPoint dst[3]) {
55
if (
srcPts
[0].fY >
srcPts
[2].fY) {
56
dst[0] =
srcPts
[2];
57
dst[1] =
srcPts
[1];
58
dst[2] =
srcPts
[0];
61
memcpy(dst,
srcPts
, 3 * sizeof(SkPoint));
SkCubicClipper.cpp
107
bool SkCubicClipper::clipCubic(const SkPoint
srcPts
[4], SkPoint dst[4]) {
111
if (
srcPts
[0].fY >
srcPts
[3].fY) {
112
dst[0] =
srcPts
[3];
113
dst[1] =
srcPts
[2];
114
dst[2] =
srcPts
[1];
115
dst[3] =
srcPts
[0];
118
memcpy(dst,
srcPts
, 4 * sizeof(SkPoint));
SkEdgeClipper.h
41
void clipMonoQuad(const SkPoint
srcPts
[3], const SkRect& clip);
42
void clipMonoCubic(const SkPoint
srcPts
[4], const SkRect& clip);
SkQuadClipper.h
54
void clipMonoQuad(const SkPoint
srcPts
[3], const SkRect& clip);
55
void clipMonoCubic(const SkPoint
srcPts
[4], const SkRect& clip);
SkPathRef.cpp
684
const SkPoint*
srcPts
= fPts;
688
pts[0] =
srcPts
[0];
689
srcPts
+= 1;
692
pts[0] =
srcPts
[-1];
693
pts[1] =
srcPts
[0];
694
srcPts
+= 1;
700
pts[0] =
srcPts
[-1];
701
pts[1] =
srcPts
[0];
702
pts[2] =
srcPts
[1];
703
srcPts
+= 2
[
all
...]
SkEdgeClipper.cpp
141
//
srcPts
[] must be monotonic in X and Y
142
void SkEdgeClipper::clipMonoQuad(const SkPoint
srcPts
[3], const SkRect& clip) {
144
bool reverse = sort_increasing_Y(pts,
srcPts
, 3);
216
bool SkEdgeClipper::clipQuad(const SkPoint
srcPts
[3], const SkRect& clip) {
221
bounds.set(
srcPts
, 3);
225
int countY = SkChopQuadAtYExtrema(
srcPts
, monoY);
331
//
srcPts
[] must be monotonic in X and Y
411
bool SkEdgeClipper::clipCubic(const SkPoint
srcPts
[4], const SkRect& clip) {
415
const SkRect bounds = compute_cubic_bounds(
srcPts
);
425
return this->clipLine(
srcPts
[0], srcPts[3], clip)
[
all
...]
SkPath.cpp
[
all
...]
/external/skia/tests/
PathTest.cpp
[
all
...]
Completed in 3223 milliseconds