Searched refs:SkPath (Results 1 - 25 of 885) sorted by relevance

1234567891011>>

/external/skia/include/pathops/
H A DSkPathOps.h12 class SkPath;
14 // FIXME: move everything below into the SkPath class
41 bool SK_API Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result);
55 bool SK_API Simplify(const SkPath& path, SkPath* result);
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DEdgeWalkerPolygons_Mismatches.cpp13 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
[all...]
H A DShapeOps.h7 #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);
H A DEdgeWalker_Test.h14 //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
[all...]
H A DSimplifyNew_Test.cpp15 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 pat
[all...]
/external/skia/experimental/Intersection/
H A DEdgeWalkerPolygons_Mismatches.cpp13 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
[all...]
H A DShapeOps.h7 #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);
H A DEdgeWalker_Test.h14 //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
[all...]
H A DSimplifyNew_Test.cpp15 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 pat
[all...]
/external/chromium_org/third_party/skia/include/pathops/
H A DSkPathOps.h12 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/tests/
H A DPathOpsInverseTest.cpp10 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
[all...]
H A DPathOpsExtendedTest.h12 #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
[all...]
/external/skia/tests/
H A DPathOpsInverseTest.cpp10 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
[all...]
H A DPathOpsExtendedTest.h11 #include "SkPath.h"
25 //extern int comparePaths(const SkPath& one, const SkPath& two);
26 extern int comparePaths(const SkPath& one, const SkPath& two, SkBitmap& bitmap);
27 extern bool drawAsciiPaths(const SkPath& one, const SkPath& two, bool drawPaths);
29 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
31 extern bool testPathFailOp(skiatest::Reporter* reporter, const SkPath
[all...]
/external/chromium_org/third_party/skia/include/utils/
H A DSkParsePath.h13 #include "SkPath.h"
19 static bool FromSVGString(const char str[], SkPath*);
20 static void ToSVGString(const SkPath&, SkString*);
H A DSkPathUtils.h12 #include "SkPath.h"
27 static void BitsToPath_Path(SkPath* path, const char* bitmap,
35 static void BitsToPath_Region(SkPath* path, const char* bitmap,
/external/skia/include/utils/
H A DSkParsePath.h13 #include "SkPath.h"
19 static bool FromSVGString(const char str[], SkPath*);
20 static void ToSVGString(const SkPath&, SkString*);
H A DSkPathUtils.h12 #include "SkPath.h"
27 static void BitsToPath_Path(SkPath* path, const char* bitmap,
35 static void BitsToPath_Region(SkPath* path, const char* bitmap,
/external/chromium_org/third_party/skia/src/core/
H A DSkPathHeap.cpp9 #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** sto
[all...]
H A DSkPathHeap.h15 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);
/external/skia/src/core/
H A DSkPathHeap.cpp9 #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** sto
[all...]
H A DSkPathHeap.h15 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);
/external/chromium_org/ui/gfx/
H A Dpath_win.h12 class SkPath;
23 GFX_EXPORT HRGN CreateHRGNFromSkPath(const SkPath& path);
H A Dpath_x11.h10 class SkPath;
23 GFX_EXPORT REGION* CreateRegionFromSkPath(const SkPath& path);
/external/skia/src/pathops/
H A DSkOpEdgeBuilder.cpp20 void SkOpEdgeBuilder::addOperand(const SkPath& path) {
21 SkASSERT(fPathVerbs.count() > 0 && fPathVerbs.end()[-1] == SkPath::kDone_Verb);
42 fPathVerbs.push_back(SkPath::kLine_Verb);
47 fPathVerbs.push_back(SkPath::kClose_Verb);
57 SkPath::RawIter iter(*fPath);
61 SkPath::Verb verb;
66 case SkPath::kMove_Verb:
75 case SkPath::kLine_Verb:
78 if (lastVerb != SkPath::kLine_Verb && lastVerb != SkPath
[all...]

Completed in 722 milliseconds

1234567891011>>