Searched refs:SkPath (Results 51 - 75 of 585) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/src/core/
H A DSkStrokerPriv.h24 typedef void (*CapProc)(SkPath* path,
28 SkPath* otherPath);
30 typedef void (*JoinProc)(SkPath* outer, SkPath* inner,
H A DSkPathRef.cpp10 #include "SkPath.h"
132 segmentMask = (oldPacked >> SkPath::kOldSegmentMask_SerializationShift) & 0xF;
133 isOval = (oldPacked >> SkPath::kOldIsOval_SerializationShift) & 1;
291 SkPoint* SkPathRef::growForRepeatedVerb(int /*SkPath::Verb*/ verb,
303 case SkPath::kMove_Verb:
307 case SkPath::kLine_Verb:
308 fSegmentMask |= SkPath::kLine_SegmentMask;
311 case SkPath::kQuad_Verb:
312 fSegmentMask |= SkPath::kQuad_SegmentMask;
315 case SkPath
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DGrPath.h13 #include "SkPath.h"
21 GrPath(GrGpu* gpu, bool isWrapped, const SkPath& skPath, const SkStrokeRec& stroke)
28 static GrResourceKey ComputeKey(const SkPath& path, const SkStrokeRec& stroke);
30 bool isEqualTo(const SkPath& path, const SkStrokeRec& stroke) {
39 SkPath fSkPath;
H A DGrPathRenderer.h20 class SkPath;
84 StencilSupport getStencilSupport(const SkPath& path,
103 virtual bool canDrawPath(const SkPath& path,
116 bool drawPath(const SkPath& path,
135 void stencilPath(const SkPath& path, const SkStrokeRec& stroke, GrDrawTarget* target) {
159 virtual StencilSupport onGetStencilSupport(const SkPath&, argument
168 virtual bool onDrawPath(const SkPath& path,
177 virtual void onStencilPath(const SkPath& path, const SkStrokeRec& stroke, GrDrawTarget* target) {
194 static void GetPathDevBounds(const SkPath& path,
201 static void GetPathDevBounds(const SkPath
[all...]
/external/skia/src/core/
H A DSkStrokerPriv.h24 typedef void (*CapProc)(SkPath* path,
28 SkPath* otherPath);
30 typedef void (*JoinProc)(SkPath* outer, SkPath* inner,
H A DSkPathRef.cpp10 #include "SkPath.h"
132 segmentMask = (oldPacked >> SkPath::kOldSegmentMask_SerializationShift) & 0xF;
133 isOval = (oldPacked >> SkPath::kOldIsOval_SerializationShift) & 1;
291 SkPoint* SkPathRef::growForRepeatedVerb(int /*SkPath::Verb*/ verb,
303 case SkPath::kMove_Verb:
307 case SkPath::kLine_Verb:
308 fSegmentMask |= SkPath::kLine_SegmentMask;
311 case SkPath::kQuad_Verb:
312 fSegmentMask |= SkPath::kQuad_SegmentMask;
315 case SkPath
[all...]
/external/skia/src/gpu/
H A DGrPath.h13 #include "SkPath.h"
21 GrPath(GrGpu* gpu, bool isWrapped, const SkPath& skPath, const SkStrokeRec& stroke)
28 static GrResourceKey ComputeKey(const SkPath& path, const SkStrokeRec& stroke);
30 bool isEqualTo(const SkPath& path, const SkStrokeRec& stroke) {
39 SkPath fSkPath;
H A DGrPathRenderer.h20 class SkPath;
84 StencilSupport getStencilSupport(const SkPath& path,
103 virtual bool canDrawPath(const SkPath& path,
116 bool drawPath(const SkPath& path,
135 void stencilPath(const SkPath& path, const SkStrokeRec& stroke, GrDrawTarget* target) {
159 virtual StencilSupport onGetStencilSupport(const SkPath&, argument
168 virtual bool onDrawPath(const SkPath& path,
177 virtual void onStencilPath(const SkPath& path, const SkStrokeRec& stroke, GrDrawTarget* target) {
194 static void GetPathDevBounds(const SkPath& path,
201 static void GetPathDevBounds(const SkPath
[all...]
/external/chromium_org/skia/ext/
H A Dplatform_device_mac.cc11 #include "third_party/skia/include/core/SkPath.h"
40 const SkPath& path) {
46 SkPath::Iter iter(path, false);
47 for (SkPath::Verb verb = iter.next(points); verb != SkPath::kDone_Verb;
50 case SkPath::kMove_Verb: { // iter.next returns 1 point
54 case SkPath::kLine_Verb: { // iter.next returns 2 points
58 case SkPath::kQuad_Verb: { // iter.next returns 3 points
63 case SkPath::kCubic_Verb: { // iter.next returns 4 points
69 case SkPath
[all...]
/external/chromium_org/third_party/skia/include/core/
H A DSkPathEffect.h14 #include "SkPath.h"
20 class SkPath;
51 virtual bool filterPath(SkPath* dst, const SkPath& src,
95 SkPath fPath; // 'stamp' to be used at each point (if kUsePath is set)
97 SkPath fFirst; // If not empty, contains geometry for first point
98 SkPath fLast; // If not empty, contains geometry for last point
105 virtual bool asPoints(PointData* results, const SkPath& src,
159 virtual bool filterPath(SkPath* dst, const SkPath
[all...]
H A DSkPathMeasure.h11 #include "SkPath.h"
22 SkPathMeasure(const SkPath& path, bool forceClosed);
30 void setPath(const SkPath*, bool forceClosed);
65 bool getSegment(SkScalar startD, SkScalar stopD, SkPath* dst, bool startWithMoveTo);
81 SkPath::Iter fIter;
82 const SkPath* fPath;
/external/skia/include/core/
H A DSkPathEffect.h14 #include "SkPath.h"
20 class SkPath;
51 virtual bool filterPath(SkPath* dst, const SkPath& src,
95 SkPath fPath; // 'stamp' to be used at each point (if kUsePath is set)
97 SkPath fFirst; // If not empty, contains geometry for first point
98 SkPath fLast; // If not empty, contains geometry for last point
105 virtual bool asPoints(PointData* results, const SkPath& src,
159 virtual bool filterPath(SkPath* dst, const SkPath
[all...]
/external/chromium_org/third_party/skia/include/effects/
H A DSkCornerPathEffect.h26 virtual bool filterPath(SkPath* dst, const SkPath& src,
H A DSkDiscretePathEffect.h25 virtual bool filterPath(SkPath* dst, const SkPath& src,
/external/chromium_org/third_party/skia/include/gpu/
H A DGrFontScaler.h14 class SkPath;
32 virtual bool getGlyphPath(uint16_t glyphID, SkPath*) = 0;
/external/chromium_org/third_party/skia/src/pathops/
H A DSkReduceOrder.h10 #include "SkPath.h"
26 static SkPath::Verb Cubic(const SkPoint pts[4], SkPoint* reducePts);
27 static SkPath::Verb Quad(const SkPoint pts[3], SkPoint* reducePts);
/external/skia/include/effects/
H A DSkCornerPathEffect.h26 virtual bool filterPath(SkPath* dst, const SkPath& src,
H A DSkDiscretePathEffect.h25 virtual bool filterPath(SkPath* dst, const SkPath& src,
/external/skia/include/gpu/
H A DGrFontScaler.h14 class SkPath;
32 virtual bool getGlyphPath(uint16_t glyphID, SkPath*) = 0;
/external/skia/src/pathops/
H A DSkReduceOrder.h10 #include "SkPath.h"
26 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/gpu/gl/
H A DGrGLPath.cpp18 inline GrGLubyte verb_to_gl_path_cmd(SkPath::Verb verb) {
27 GR_STATIC_ASSERT(0 == SkPath::kMove_Verb);
28 GR_STATIC_ASSERT(1 == SkPath::kLine_Verb);
29 GR_STATIC_ASSERT(2 == SkPath::kQuad_Verb);
30 GR_STATIC_ASSERT(4 == SkPath::kCubic_Verb);
31 GR_STATIC_ASSERT(5 == SkPath::kClose_Verb);
38 inline int num_pts(SkPath::Verb verb) {
47 GR_STATIC_ASSERT(0 == SkPath::kMove_Verb);
48 GR_STATIC_ASSERT(1 == SkPath::kLine_Verb);
49 GR_STATIC_ASSERT(2 == SkPath
[all...]
/external/skia/src/gpu/gl/
H A DGrGLPath.cpp18 inline GrGLubyte verb_to_gl_path_cmd(SkPath::Verb verb) {
27 GR_STATIC_ASSERT(0 == SkPath::kMove_Verb);
28 GR_STATIC_ASSERT(1 == SkPath::kLine_Verb);
29 GR_STATIC_ASSERT(2 == SkPath::kQuad_Verb);
30 GR_STATIC_ASSERT(4 == SkPath::kCubic_Verb);
31 GR_STATIC_ASSERT(5 == SkPath::kClose_Verb);
38 inline int num_pts(SkPath::Verb verb) {
47 GR_STATIC_ASSERT(0 == SkPath::kMove_Verb);
48 GR_STATIC_ASSERT(1 == SkPath::kLine_Verb);
49 GR_STATIC_ASSERT(2 == SkPath
[all...]
/external/skia/tests/
H A DPathOpsOpRectThreadedTest.cpp30 for (int e = SkPath::kWinding_FillType ; e <= SkPath::kEvenOdd_FillType; ++e) {
31 for (int f = SkPath::kWinding_FillType ; f <= SkPath::kEvenOdd_FillType; ++f) {
34 str += sprintf(str, " path.setFillType(SkPath::k%s_FillType);\n",
35 e == SkPath::kWinding_FillType ? "Winding" : e == SkPath::kEvenOdd_FillType
38 " SkPath::kCW_Direction);\n", state.fA, state.fA, state.fB, state.fB);
40 " SkPath::kCW_Direction);\n", state.fC, state.fC, state.fD, state.fD);
41 str += sprintf(str, " pathB.setFillType(SkPath
[all...]
/external/skia/gm/
H A Dpathinterior.cpp36 void show(SkCanvas* canvas, const SkPath& path) {
73 SkPath path;
74 path.setFillType(doEvenOdd ? SkPath::kEvenOdd_FillType : SkPath::kWinding_FillType);
75 SkPath::Direction outerDir = outerCW ? SkPath::kCW_Direction : SkPath::kCCW_Direction;
76 SkPath::Direction innerDir = innerCW ? SkPath::kCW_Direction : SkPath
[all...]
H A Dinversepaths.cpp10 #include "SkPath.h"
14 static SkPath generate_square(SkScalar cx, SkScalar cy, SkScalar w) {
16 SkPath path;
21 static SkPath generate_rect_line(SkScalar cx, SkScalar cy, SkScalar l) {
23 SkPath path;
28 static SkPath generate_circle(SkScalar cx, SkScalar cy, SkScalar d) {
29 SkPath path;
30 path.addCircle(cx, cy, d/2, SkPath::kCW_Direction);
34 static SkPath generate_line(SkScalar cx, SkScalar cy, SkScalar l) {
35 SkPath pat
[all...]

Completed in 448 milliseconds

1234567891011>>