Searched refs:SkPoint (Results 1 - 25 of 925) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/src/pathops/
H A DSkPathWriter.h16 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3);
17 void deferredLine(const SkPoint& pt);
18 void deferredMove(const SkPoint& pt);
19 void deferredMoveLine(const SkPoint& pt);
27 void quadTo(const SkPoint& pt1, const SkPoint& pt2);
31 bool changedSlopes(const SkPoint& pt) const;
35 SkPoint fDefe
[all...]
H A DSkReduceOrder.h26 static SkPath::Verb Cubic(const SkPoint pts[4], SkPoint* reducePts);
27 static SkPath::Verb Quad(const SkPoint pts[3], SkPoint* reducePts);
/external/skia/src/pathops/
H A DSkPathWriter.h16 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3);
17 void deferredLine(const SkPoint& pt);
18 void deferredMove(const SkPoint& pt);
19 void deferredMoveLine(const SkPoint& pt);
27 void quadTo(const SkPoint& pt1, const SkPoint& pt2);
31 bool changedSlopes(const SkPoint& pt) const;
35 SkPoint fDefe
[all...]
H A DSkReduceOrder.h26 static SkPath::Verb Cubic(const SkPoint pts[4], SkPoint* reducePts);
27 static SkPath::Verb Quad(const SkPoint pts[3], SkPoint* reducePts);
/external/chromium_org/third_party/skia/src/core/
H A DSkGeometry.h19 typedef SkPoint SkXRay;
27 bool SkXRayCrossesLine(const SkXRay& pt, const SkPoint pts[2],
40 void SkEvalQuadAt(const SkPoint src[3], SkScalar t, SkPoint* pt,
42 void SkEvalQuadAtHalf(const SkPoint src[3], SkPoint* pt,
49 void SkChopQuadAt(const SkPoint src[3], SkPoint dst[5], SkScalar t);
54 void SkChopQuadAtHalf(const SkPoint src[3], SkPoint ds
[all...]
H A DSkEdgeClipper.h20 bool clipQuad(const SkPoint pts[3], const SkRect& clip);
21 bool clipCubic(const SkPoint pts[4], const SkRect& clip);
23 SkPath::Verb next(SkPoint pts[]);
26 SkPoint* fCurrPoint;
33 SkPoint fPoints[kMaxPoints];
36 void clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip);
37 void clipMonoCubic(const SkPoint srcPts[4], const SkRect& clip);
39 void appendQuad(const SkPoint pts[3], bool reverse);
40 void appendCubic(const SkPoint pts[4], bool reverse);
44 void sk_assert_monotonic_x(const SkPoint pt
[all...]
H A DSkLineClipper.h12 #include "SkPoint.h"
32 static int ClipLine(const SkPoint pts[2], const SkRect& clip,
33 SkPoint lines[kMaxPoints]);
43 static bool IntersectLine(const SkPoint src[2], const SkRect& clip,
44 SkPoint dst[2]);
H A DSkQuadClipper.h27 bool clipQuad(const SkPoint src[3], SkPoint dst[3]);
39 bool clipQuad(const SkPoint pts[3], const SkRect& clip);
40 bool clipCubic(const SkPoint pts[4], const SkRect& clip);
42 SkPath::Verb next(SkPoint pts[]);
45 SkPoint* fCurrPoint;
52 SkPoint fPoints[kMaxPoints];
55 void clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip);
56 void clipMonoCubic(const SkPoint srcPts[4], const SkRect& clip);
58 void appendQuad(const SkPoint pt
[all...]
H A DSkCubicClipper.h13 #include "SkPoint.h"
28 bool clipCubic(const SkPoint src[4], SkPoint dst[4]);
H A DSkMatrixUtils.h50 SkPoint* rotation1,
51 SkPoint* scale,
52 SkPoint* rotation2);
H A DSkPoint.cpp11 #include "SkPoint.h"
33 void SkPoint::setIRectFan(int l, int t, int r, int b, size_t stride) {
34 SkASSERT(stride >= sizeof(SkPoint));
36 ((SkPoint*)((intptr_t)this + 0 * stride))->set(SkIntToScalar(l),
38 ((SkPoint*)((intptr_t)this + 1 * stride))->set(SkIntToScalar(l),
40 ((SkPoint*)((intptr_t)this + 2 * stride))->set(SkIntToScalar(r),
42 ((SkPoint*)((intptr_t)this + 3 * stride))->set(SkIntToScalar(r),
46 void SkPoint::setRectFan(SkScalar l, SkScalar t, SkScalar r, SkScalar b,
48 SkASSERT(stride >= sizeof(SkPoint));
50 ((SkPoint*)((intptr_
[all...]
/external/skia/src/core/
H A DSkGeometry.h19 typedef SkPoint SkXRay;
27 bool SkXRayCrossesLine(const SkXRay& pt, const SkPoint pts[2],
40 void SkEvalQuadAt(const SkPoint src[3], SkScalar t, SkPoint* pt,
42 void SkEvalQuadAtHalf(const SkPoint src[3], SkPoint* pt,
49 void SkChopQuadAt(const SkPoint src[3], SkPoint dst[5], SkScalar t);
54 void SkChopQuadAtHalf(const SkPoint src[3], SkPoint ds
[all...]
H A DSkEdgeClipper.h20 bool clipQuad(const SkPoint pts[3], const SkRect& clip);
21 bool clipCubic(const SkPoint pts[4], const SkRect& clip);
23 SkPath::Verb next(SkPoint pts[]);
26 SkPoint* fCurrPoint;
33 SkPoint fPoints[kMaxPoints];
36 void clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip);
37 void clipMonoCubic(const SkPoint srcPts[4], const SkRect& clip);
39 void appendQuad(const SkPoint pts[3], bool reverse);
40 void appendCubic(const SkPoint pts[4], bool reverse);
44 void sk_assert_monotonic_x(const SkPoint pt
[all...]
H A DSkLineClipper.h12 #include "SkPoint.h"
32 static int ClipLine(const SkPoint pts[2], const SkRect& clip,
33 SkPoint lines[kMaxPoints]);
43 static bool IntersectLine(const SkPoint src[2], const SkRect& clip,
44 SkPoint dst[2]);
H A DSkQuadClipper.h27 bool clipQuad(const SkPoint src[3], SkPoint dst[3]);
39 bool clipQuad(const SkPoint pts[3], const SkRect& clip);
40 bool clipCubic(const SkPoint pts[4], const SkRect& clip);
42 SkPath::Verb next(SkPoint pts[]);
45 SkPoint* fCurrPoint;
52 SkPoint fPoints[kMaxPoints];
55 void clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip);
56 void clipMonoCubic(const SkPoint srcPts[4], const SkRect& clip);
58 void appendQuad(const SkPoint pt
[all...]
H A DSkCubicClipper.h13 #include "SkPoint.h"
28 bool clipCubic(const SkPoint src[4], SkPoint dst[4]);
H A DSkMatrixUtils.h50 SkPoint* rotation1,
51 SkPoint* scale,
52 SkPoint* rotation2);
/external/chromium_org/third_party/skia/src/utils/
H A DSkPatchUtils.h24 SkPoint* fPoints;
25 SkPoint* fTexCoords;
85 static SkISize GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix);
90 static void getTopCubic(const SkPoint cubics[12], SkPoint points[4]);
95 static void getBottomCubic(const SkPoint cubics[12], SkPoint points[4]);
100 static void getLeftCubic(const SkPoint cubics[12], SkPoint points[4]);
105 static void getRightCubic(const SkPoint cubic
[all...]
H A DSkPatchGrid.h102 bool setPatch(int x, int y, const SkPoint cubics[12], const SkColor colors[4],
103 const SkPoint texCoords[4]);
111 bool getPatch(int x, int y, SkPoint cubics[12], SkColor colors[4], SkPoint texCoords[4]) const;
135 SkPoint* fCornerPts;
137 SkPoint* fTexCoords;
138 SkPoint* fHrzCtrlPts;
139 SkPoint* fVrtCtrlPts;
/external/chromium_org/third_party/skia/src/gpu/
H A DGrPathUtils.h33 uint32_t quadraticPointCount(const SkPoint points[], SkScalar tol);
35 uint32_t generateQuadraticPoints(const SkPoint& p0,
36 const SkPoint& p1,
37 const SkPoint& p2,
39 SkPoint** points,
44 uint32_t cubicPointCount(const SkPoint points[], SkScalar tol);
46 uint32_t generateCubicPoints(const SkPoint& p0,
47 const SkPoint& p1,
48 const SkPoint& p2,
49 const SkPoint
[all...]
/external/skia/src/gpu/
H A DGrPathUtils.h33 uint32_t quadraticPointCount(const SkPoint points[], SkScalar tol);
35 uint32_t generateQuadraticPoints(const SkPoint& p0,
36 const SkPoint& p1,
37 const SkPoint& p2,
39 SkPoint** points,
44 uint32_t cubicPointCount(const SkPoint points[], SkScalar tol);
46 uint32_t generateCubicPoints(const SkPoint& p0,
47 const SkPoint& p1,
48 const SkPoint& p2,
49 const SkPoint
[all...]
/external/chromium_org/third_party/skia/include/utils/
H A DSkBoundaryPatch.h11 #include "SkPoint.h"
26 virtual SkPoint eval(Edge, SkScalar unitInterval) = 0;
40 SkPoint eval(SkScalar unitU, SkScalar unitV);
41 bool evalPatch(SkPoint verts[], int rows, int cols);
51 SkPoint fPts[4];
54 virtual SkPoint eval(Edge, SkScalar);
60 SkPoint fPts[13];
63 virtual SkPoint eval(Edge, SkScalar);
/external/skia/include/utils/
H A DSkBoundaryPatch.h11 #include "SkPoint.h"
26 virtual SkPoint eval(Edge, SkScalar unitInterval) = 0;
40 SkPoint eval(SkScalar unitU, SkScalar unitV);
41 bool evalPatch(SkPoint verts[], int rows, int cols);
51 SkPoint fPts[4];
54 virtual SkPoint eval(Edge, SkScalar);
60 SkPoint fPts[13];
63 virtual SkPoint eval(Edge, SkScalar);
/external/chromium_org/third_party/skia/gm/
H A Ddegeneratesegments.cpp35 typedef SkPoint (*AddSegmentFunc)(SkPath&, SkPoint&);
40 static SkPoint AddMove(SkPath& path, SkPoint& startPt) {
41 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1);
46 static SkPoint AddMoveClose(SkPath& path, SkPoint& startPt) {
47 SkPoint moveToPt = startPt + SkPoint
[all...]
/external/skia/gm/
H A Ddegeneratesegments.cpp35 typedef SkPoint (*AddSegmentFunc)(SkPath&, SkPoint&);
40 static SkPoint AddMove(SkPath& path, SkPoint& startPt) {
41 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1);
46 static SkPoint AddMoveClose(SkPath& path, SkPoint& startPt) {
47 SkPoint moveToPt = startPt + SkPoint
[all...]

Completed in 2490 milliseconds

1234567891011>>