HomeSort by relevance Sort by last modified time
    Searched refs:SkPath (Results 1 - 25 of 462) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/skia/include/utils/
SkParsePath.h 13 #include "SkPath.h"
19 static bool FromSVGString(const char str[], SkPath*);
20 static void ToSVGString(const SkPath&, SkString*);
SkCullPoints.h 46 class SkPath;
51 from lineTo, and automatically builds a SkPath with the result(s).
56 SkCullPointsPath(const SkIRect& r, SkPath* dst);
58 void reset(const SkIRect& r, SkPath* dst);
65 SkPath* fPath;
68 bool SkHitTestPath(const SkPath&, SkRect& target, bool hires);
69 bool SkHitTestPath(const SkPath&, SkScalar x, SkScalar y, bool hires);
  /external/skia/tests/
PathOpsInverseTest.cpp 10 SkPath one, two;
12 for (int oneFill = SkPath::kWinding_FillType; oneFill <= SkPath::kInverseEvenOdd_FillType;
14 for (int oneDir = SkPath::kCW_Direction; oneDir != SkPath::kCCW_Direction; ++oneDir) {
16 one.setFillType((SkPath::FillType) oneFill);
17 one.addRect(0, 0, 6, 6, (SkPath::Direction) oneDir);
18 for (int twoFill = SkPath::kWinding_FillType;
19 twoFill <= SkPath::kInverseEvenOdd_FillType; ++twoFill) {
20 for (int twoDir = SkPath::kCW_Direction; twoDir != SkPath::kCCW_Direction
    [all...]
PathOpsExtendedTest.h 12 #include "SkPath.h"
29 //extern int comparePaths(const SkPath& one, const SkPath& two);
31 const SkPath& one, const SkPath& two, SkBitmap& bitmap);
32 extern bool drawAsciiPaths(const SkPath& one, const SkPath& two, bool drawPaths);
34 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
36 extern bool testPathOpCheck(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b
    [all...]
PathOpsSimplifyTest.cpp 12 SkPath path;
21 SkPath path;
22 path.setFillType(SkPath::kEvenOdd_FillType);
30 static void addInnerCWTriangle(SkPath& path) {
37 static void addInnerCCWTriangle(SkPath& path) {
44 static void addOuterCWTriangle(SkPath& path) {
51 static void addOuterCCWTriangle(SkPath& path) {
59 SkPath path;
66 SkPath path;
67 path.setFillType(SkPath::kEvenOdd_FillType)
    [all...]
PathOpsTestCommon.h 15 void CubicPathToQuads(const SkPath& cubicPath, SkPath* quadPath);
16 void CubicPathToSimple(const SkPath& cubicPath, SkPath* simplePath);
PathOpsOpCircleThreadedTest.cpp 23 for (int e = SkPath::kWinding_FillType ; e <= SkPath::kEvenOdd_FillType; ++e) {
24 for (int f = SkPath::kWinding_FillType ; f <= SkPath::kEvenOdd_FillType; ++f) {
25 SkPath pathA, pathB;
31 str += sprintf(str, " SkPath path, pathB;\n");
32 str += sprintf(str, " path.setFillType(SkPath::k%s_FillType);\n",
33 e == SkPath::kWinding_FillType ? "Winding" : e == SkPath::kEvenOdd_FillType
36 state.fC, state.fD ? "SkPath::kCW_Direction" : "SkPath::kCCW_Direction")
    [all...]
  /external/skia/include/pathops/
SkPathOps.h 14 class SkPath;
23 // FIXME: move everything below into the SkPath class
59 bool SK_API Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result);
73 bool SK_API Simplify(const SkPath& path, SkPath* result);
81 bool SK_API TightBounds(const SkPath& path, SkRect* result);
93 void add(const SkPath& path, SkPathOp _operator);
101 bool resolve(SkPath* result)
    [all...]
  /external/skia/src/effects/
SkArcToPathEffect.cpp 9 #include "SkPath.h"
16 bool SkArcToPathEffect::filterPath(SkPath* dst, const SkPath& src,
18 SkPath::Iter iter(src, false);
19 SkPath::Verb verb;
23 SkPath::Verb prevVerb = SkPath::kMove_Verb;
27 case SkPath::kMove_Verb:
28 if (SkPath::kLine_Verb == prevVerb) {
33 case SkPath::kLine_Verb
    [all...]
  /external/skia/src/gpu/
GrDefaultPathRenderer.h 25 const SkPath&,
33 const SkPath&,
40 const SkPath&,
47 const SkPath&,
54 const SkPath&,
GrDashLinePathRenderer.h 22 const SkPath&,
29 const SkPath&,
38 const SkPath&,
GrSoftwarePathRenderer.h 29 const SkPath&,
35 const SkPath&,
42 const SkPath&,
GrTessellatingPathRenderer.h 24 const SkPath&,
31 const SkPath&,
38 const SkPath&,
GrStencilAndCoverPathRenderer.h 31 const SkPath&,
38 const SkPath&,
45 const SkPath&,
52 const SkPath&,
GrAAConvexPathRenderer.h 21 const SkPath&,
30 const SkPath&,
  /external/skia/include/effects/
Sk2DPathEffect.h 11 #include "SkPath.h"
17 bool filterPath(SkPath*, const SkPath&, SkStrokeRec*, const SkRect*) const override;
26 virtual void begin(const SkIRect& uvBounds, SkPath* dst) const;
27 virtual void next(const SkPoint& loc, int u, int v, SkPath* dst) const;
28 virtual void end(SkPath* dst) const;
34 virtual void nextSpan(int u, int v, int ucount, SkPath* dst) const;
62 virtual bool filterPath(SkPath* dst, const SkPath& src,
73 void nextSpan(int u, int v, int ucount, SkPath*) const override
    [all...]
Sk1DPathEffect.h 12 #include "SkPath.h"
19 virtual bool filterPath(SkPath* dst, const SkPath& src,
32 virtual SkScalar next(SkPath* dst, SkScalar dist, SkPathMeasure&) const = 0;
59 static SkPath1DPathEffect* Create(const SkPath& path, SkScalar advance, SkScalar phase,
64 virtual bool filterPath(SkPath*, const SkPath&,
71 SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, Style);
76 SkScalar next(SkPath*, SkScalar, SkPathMeasure&) const override;
79 SkPath fPath; // copied from constructo
    [all...]
  /external/skia/gm/
strokefill.cpp 10 #include "SkPath.h"
57 SkPath path;
58 path.setFillType(SkPath::kWinding_FillType);
59 path.addCircle(x, y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCW_Direction);
60 path.addCircle(x, y + SkIntToScalar(200), SkIntToScalar(40), SkPath::kCCW_Direction);
63 SkPath path2;
64 path2.setFillType(SkPath::kWinding_FillType);
65 path2.addCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Direction);
66 path2.addCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(40), SkPath::kCW_Direction);
70 path2.addCircle(x + SkIntToScalar(240), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Direction)
    [all...]
  /external/skia/experimental/SkV8Example/
Path2D.h 15 #include "SkPath.h"
20 // Path2D bridges between JS and SkPath.
23 Path2D(SkPath* path);
34 SkPath* path() {
42 SkPath* path_;
  /external/skia/src/pathops/
SkOpEdgeBuilder.cpp 20 void SkOpEdgeBuilder::addOperand(const SkPath& path) {
21 SkASSERT(fPathVerbs.count() > 0 && fPathVerbs.end()[-1] == SkPath::kDone_Verb);
53 *fPathVerbs.append() = SkPath::kLine_Verb;
58 *fPathVerbs.append() = SkPath::kClose_Verb;
76 SkPath::RawIter iter(*fPath);
80 SkPath::Verb verb;
85 case SkPath::kMove_Verb:
95 case SkPath::kLine_Verb:
99 if (lastVerb != SkPath::kLine_Verb && lastVerb != SkPath::kMove_Verb)
    [all...]
  /external/skia/src/utils/
SkDashPathPriv.h 24 bool FilterDashPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*,
28 bool FilterDashPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*,
  /external/skia/src/core/
SkEdgeBuilder.cpp 9 #include "SkPath.h"
54 SkPath::Verb verb;
56 while ((verb = clipper->next(pts)) != SkPath::kDone_Verb) {
58 case SkPath::kLine_Verb:
61 case SkPath::kQuad_Verb:
64 case SkPath::kCubic_Verb:
82 int SkEdgeBuilder::buildPoly(const SkPath& path, const SkIRect* iclip, int shiftUp,
84 SkPath::Iter iter(path, true);
86 SkPath::Verb verb;
109 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb)
    [all...]
  /external/skia/experimental/AndroidPathRenderer/
GrAndroidPathRenderer.h 16 virtual bool canDrawPath(const SkPath& path,
22 virtual bool onDrawPath(const SkPath& path,
  /external/skia/experimental/StrokePathRenderer/
GrStrokePathRenderer.h 20 virtual bool canDrawPath(const SkPath& path,
26 virtual bool onDrawPath(const SkPath& path,
  /external/skia/src/gpu/gl/
GrGLPath.h 27 const SkPath&,
30 GrGLPath(GrGLGpu* gpu, const SkPath& path, const SkStrokeRec& stroke);

Completed in 1459 milliseconds

1 2 3 4 5 6 7 8 91011>>