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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/skia/include/pathops/
SkPathOps.h 12 class SkPath;
15 // FIXME: move everything below into the SkPath class
42 bool SK_API Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result);
56 bool SK_API Simplify(const SkPath& path, SkPath* result);
64 bool SK_API TightBounds(const SkPath& path, SkRect* result);
  /external/chromium_org/third_party/skia/include/utils/
SkParsePath.h 13 #include "SkPath.h"
19 static bool FromSVGString(const char str[], SkPath*);
20 static void ToSVGString(const SkPath&, SkString*);
SkPathUtils.h 12 #include "SkPath.h"
27 static void BitsToPath_Path(SkPath* path, const char* bitmap,
35 static void BitsToPath_Region(SkPath* path, const char* bitmap,
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/chromium_org/third_party/skia/experimental/Intersection/
EdgeWalkerPolygons_Mismatches.cpp 13 SkPath::FillType fType;
44 { SkPath::kWinding_FillType, 0, 3, 9, 13, 1, 2, 4, 15 },
73 { SkPath::kEvenOdd_FillType, 0, 3, 9, 13, 1, 2, 4, 15 },
102 { SkPath::kWinding_FillType, 0, 6, 9, 13, 1, 2, 4, 15 },
131 { SkPath::kEvenOdd_FillType, 0, 6, 9, 13, 1, 2, 4, 15 },
160 { SkPath::kWinding_FillType, 0, 7, 8, 13, 2, 4, 9, 12 },
189 { SkPath::kEvenOdd_FillType, 0, 7, 8, 13, 2, 4, 9, 12 },
218 { SkPath::kWinding_FillType, 0, 10, 11, 14, 1, 4, 9, 15 },
247 { SkPath::kEvenOdd_FillType, 0, 10, 11, 14, 1, 4, 9, 15 },
276 { SkPath::kEvenOdd_FillType, 1, 1, 7, 12, 1, 3, 4, 15 }
    [all...]
ShapeOps.h 7 #include "SkPath.h"
10 void contourBounds(const SkPath& path, SkTDArray<SkRect>& boundsArray);
11 void simplify(const SkPath& path, bool asFill, SkPath& simple);
32 void operate(const SkPath& one, const SkPath& two, ShapeOp op, SkPath& result);
33 void simplifyx(const SkPath& path, SkPath& simple);
EdgeWalker_Test.h 14 //extern int comparePaths(const SkPath& one, const SkPath& two);
15 extern int comparePaths(const SkPath& one, const SkPath& two, SkBitmap& bitmap);
16 extern void comparePathsTiny(const SkPath& one, const SkPath& two);
17 extern bool drawAsciiPaths(const SkPath& one, const SkPath& two,
20 extern void showPath(const SkPath& path, const char* str);
21 extern void showPath(const SkPath& path)
    [all...]
SimplifyNew_Test.cpp 15 SkPath path;
24 SkPath path;
25 path.setFillType(SkPath::kEvenOdd_FillType);
33 static void addInnerCWTriangle(SkPath& path) {
40 static void addInnerCCWTriangle(SkPath& path) {
47 static void addOuterCWTriangle(SkPath& path) {
54 static void addOuterCCWTriangle(SkPath& path) {
62 SkPath path;
63 path.setFillType(SkPath::kEvenOdd_FillType);
70 SkPath path
    [all...]
MiniSimplify_Test.cpp 8 SkPath::Verb verb;
13 {SkPath::kQuad_Verb, {{366.608826f, 151.196014f}, {378.803101f, 136.674606f}, {398.164948f, 136.674606f}}},
14 {SkPath::kLine_Verb, {{354.009216f, 208.816208f}, {393.291473f, 102.232819f}}},
15 {SkPath::kQuad_Verb, {{359.978058f, 136.581512f}, {378.315979f, 136.581512f}, {388.322723f, 149.613556f}}},
16 {SkPath::kQuad_Verb, {{364.390686f, 157.898193f}, {375.281769f, 136.674606f}, {396.039917f, 136.674606f}}},
17 {SkPath::kLine_Verb, {{396.039917f, 136.674606f}, {350, 120}}},
18 {SkPath::kDone_Verb}
22 {SkPath::kQuad_Verb, {{366.608826f, 151.196014f}, {378.803101f, 136.674606f}, {398.164948f, 136.674606f}}},
23 {SkPath::kQuad_Verb, {{359.978058f, 136.581512f}, {378.315979f, 136.581512f}, {388.322723f, 149.613556f}}},
24 {SkPath::kQuad_Verb, {{364.390686f, 157.898193f}, {375.281769f, 136.674606f}, {396.039917f, 136.674606f}}}
    [all...]
  /external/chromium_org/third_party/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"
28 //extern int comparePaths(const SkPath& one, const SkPath& two);
29 extern int comparePaths(const SkPath& one, const SkPath& two, SkBitmap& bitmap);
30 extern bool drawAsciiPaths(const SkPath& one, const SkPath& two, bool drawPaths);
32 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
34 extern bool testPathFailOp(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);
  /external/chromium_org/third_party/skia/src/core/
SkPathHeap.cpp 9 #include "SkPath.h"
18 SkPathHeap::SkPathHeap() : fHeap(kPathCount * sizeof(SkPath)) {
22 : fHeap(kPathCount * sizeof(SkPath)) {
26 SkPath** ptr = fPaths.begin();
27 SkPath* p = (SkPath*)fHeap.allocThrow(count * sizeof(SkPath));
30 new (p) SkPath;
38 SkPath** iter = fPaths.begin();
39 SkPath** stop = fPaths.end()
    [all...]
SkPathHeap.h 15 class SkPath;
31 int append(const SkPath&);
36 int insert(const SkPath&);
40 const SkPath& operator[](int index) const {
50 SkTDArray<SkPath*> fPaths;
54 LookupEntry(const SkPath& path);
64 uint32_t fGenerationID; // the SkPath's generation ID
71 SkPathHeap::LookupEntry* addIfNotPresent(const SkPath& path);
SkEdgeBuilder.h 17 class SkPath;
25 int build(const SkPath& path, const SkIRect* clip, int shiftUp);
49 int buildPoly(const SkPath& path, const SkIRect* clip, int shiftUp);
  /external/chromium_org/third_party/skia/src/gpu/
GrDefaultPathRenderer.h 22 virtual bool canDrawPath(const SkPath&,
29 virtual StencilSupport onGetStencilSupport(const SkPath&,
33 virtual bool onDrawPath(const SkPath&,
38 virtual void onStencilPath(const SkPath&,
42 bool internalDrawPath(const SkPath&,
47 bool createGeom(const SkPath&,
GrStencilAndCoverPathRenderer.h 28 virtual bool canDrawPath(const SkPath&,
34 virtual StencilSupport onGetStencilSupport(const SkPath&,
38 virtual bool onDrawPath(const SkPath&,
43 virtual void onStencilPath(const SkPath&,
GrSoftwarePathRenderer.h 27 virtual bool canDrawPath(const SkPath&,
32 virtual StencilSupport onGetStencilSupport(const SkPath&,
36 virtual bool onDrawPath(const SkPath&,
GrPath.h 13 #include "SkPath.h"
24 GrPath(GrGpu* gpu, bool isWrapped, const SkPath& skPath, const SkStrokeRec& stroke)
26 fSkPath(skPath),
28 fBounds(skPath.getBounds()) {
31 static GrResourceKey ComputeKey(const SkPath& path, const SkStrokeRec& stroke);
34 bool isEqualTo(const SkPath& path, const SkStrokeRec& stroke) {
43 SkPath fSkPath;
  /external/chromium_org/ui/gfx/
path_win.h 12 class SkPath;
23 GFX_EXPORT HRGN CreateHRGNFromSkPath(const SkPath& path);
path_x11.h 10 class SkPath;
23 GFX_EXPORT REGION* CreateRegionFromSkPath(const SkPath& path);
  /external/chromium_org/third_party/skia/include/effects/
Sk2DPathEffect.h 11 #include "SkPath.h"
17 virtual bool filterPath(SkPath*, const SkPath&, SkStrokeRec*, const SkRect*) const SK_OVERRIDE;
28 virtual void begin(const SkIRect& uvBounds, SkPath* dst) const;
29 virtual void next(const SkPoint& loc, int u, int v, SkPath* dst) const;
30 virtual void end(SkPath* dst) const;
36 virtual void nextSpan(int u, int v, int ucount, SkPath* dst) const;
65 virtual bool filterPath(SkPath* dst, const SkPath& src,
79 virtual void nextSpan(int u, int v, int ucount, SkPath*) const SK_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;
55 static SkPath1DPathEffect* Create(const SkPath& path, SkScalar advance, SkScalar phase,
60 virtual bool filterPath(SkPath*, const SkPath&,
66 SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, Style);
74 virtual SkScalar next(SkPath*, SkScalar, SkPathMeasure&) const SK_OVERRIDE;
77 SkPath fPath; // copied from constructo
    [all...]
  /external/chromium_org/third_party/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*,

Completed in 5269 milliseconds

1 2 3 4 5 6 7 8 91011>>