Home
last modified time | relevance | path

Searched refs:fillType (Results 1 – 25 of 43) sorted by relevance

12

/external/skqp/src/pathops/
DSkOpBuilder.cpp39 SkPath::FillType fillType = path->getFillType(); in FixWinding() local
40 if (fillType == SkPath::kInverseEvenOdd_FillType) { in FixWinding()
41 fillType = SkPath::kInverseWinding_FillType; in FixWinding()
42 } else if (fillType == SkPath::kEvenOdd_FillType) { in FixWinding()
43 fillType = SkPath::kWinding_FillType; in FixWinding()
50 path->setFillType(fillType); in FixWinding()
88 path->setFillType(fillType); in FixWinding()
105 path->setFillType(fillType); in FixWinding()
DSkPathOpsSimplify.cpp139 SkPath::FillType fillType = path.isInverseFillType() ? SkPath::kInverseEvenOdd_FillType in SimplifyDebug() local
145 result->setFillType(fillType); in SimplifyDebug()
184 result->setFillType(fillType); in SimplifyDebug()
209 result->setFillType(fillType); in SimplifyDebug()
DSkPathOpsOp.cpp236 SkPath::FillType fillType = gOutInverse[op][one.isInverseFillType()][two.isInverseFillType()] in OpDebug() local
275 result->setFillType(fillType); in OpDebug()
301 result->setFillType(fillType); in OpDebug()
/external/skia/src/pathops/
DSkOpBuilder.cpp39 SkPath::FillType fillType = path->getFillType(); in FixWinding() local
40 if (fillType == SkPath::kInverseEvenOdd_FillType) { in FixWinding()
41 fillType = SkPath::kInverseWinding_FillType; in FixWinding()
42 } else if (fillType == SkPath::kEvenOdd_FillType) { in FixWinding()
43 fillType = SkPath::kWinding_FillType; in FixWinding()
50 path->setFillType(fillType); in FixWinding()
88 path->setFillType(fillType); in FixWinding()
105 path->setFillType(fillType); in FixWinding()
DSkPathOpsSimplify.cpp139 SkPath::FillType fillType = path.isInverseFillType() ? SkPath::kInverseEvenOdd_FillType in SimplifyDebug() local
145 result->setFillType(fillType); in SimplifyDebug()
184 result->setFillType(fillType); in SimplifyDebug()
209 result->setFillType(fillType); in SimplifyDebug()
DSkPathOpsOp.cpp236 SkPath::FillType fillType = gOutInverse[op][one.isInverseFillType()][two.isInverseFillType()] in OpDebug() local
275 result->setFillType(fillType); in OpDebug()
301 result->setFillType(fillType); in OpDebug()
/external/skqp/src/gpu/ops/
DGrStencilPathOp.h24 GrPathRendering::FillType fillType, in Make() argument
29 return std::unique_ptr<GrOp>(new GrStencilPathOp(viewMatrix, useHWAA, fillType, in Make()
45 GrPathRendering::FillType fillType, in GrStencilPathOp() argument
52 , fFillType(fillType) in GrStencilPathOp()
DGrDrawPathOp.cpp57 GrPathRendering::FillType fillType, GrStencilSettings* stencil) { in init_stencil_pass_settings() argument
60 stencil->reset(GrPathRendering::GetStencilPassSettings(fillType), stencilClip, in init_stencil_pass_settings()
72 init_stencil_pass_settings(*state, this->fillType(), &stencil); in onExecute()
147 if (GrPathRendering::kWinding_FillType != this->fillType() || in onCombineIfPossible()
148 GrPathRendering::kWinding_FillType != that->fillType()) { in onCombineIfPossible()
183 init_stencil_pass_settings(*state, this->fillType(), &stencil); in onExecute()
/external/skia/src/gpu/ops/
DGrStencilPathOp.h24 GrPathRendering::FillType fillType, in Make() argument
29 return std::unique_ptr<GrOp>(new GrStencilPathOp(viewMatrix, useHWAA, fillType, in Make()
45 GrPathRendering::FillType fillType, in GrStencilPathOp() argument
52 , fFillType(fillType) in GrStencilPathOp()
DGrDrawPathOp.cpp57 GrPathRendering::FillType fillType, GrStencilSettings* stencil) { in init_stencil_pass_settings() argument
60 stencil->reset(GrPathRendering::GetStencilPassSettings(fillType), stencilClip, in init_stencil_pass_settings()
72 init_stencil_pass_settings(*state, this->fillType(), &stencil); in onExecute()
147 if (GrPathRendering::kWinding_FillType != this->fillType() || in onCombineIfPossible()
148 GrPathRendering::kWinding_FillType != that->fillType()) { in onCombineIfPossible()
183 init_stencil_pass_settings(*state, this->fillType(), &stencil); in onExecute()
/external/skqp/experimental/svg/model/
DSkSVGShape.cpp14 const auto fillType = ctx.presentationContext().fInherited.fFillRule.get()->asFillType(); in onRender() local
18 this->onDraw(ctx.canvas(), ctx.lengthContext(), *fillPaint, fillType); in onRender()
22 this->onDraw(ctx.canvas(), ctx.lengthContext(), *strokePaint, fillType); in onRender()
DSkSVGPath.cpp29 SkPath::FillType fillType) const { in onDraw()
31 fPath.setFillType(fillType); in onDraw()
DSkSVGPoly.cpp36 SkPath::FillType fillType) const { in onDraw()
38 fPath.setFillType(fillType); in onDraw()
/external/skia/experimental/svg/model/
DSkSVGShape.cpp14 const auto fillType = ctx.presentationContext().fInherited.fFillRule.get()->asFillType(); in onRender() local
18 this->onDraw(ctx.canvas(), ctx.lengthContext(), *fillPaint, fillType); in onRender()
22 this->onDraw(ctx.canvas(), ctx.lengthContext(), *strokePaint, fillType); in onRender()
DSkSVGPath.cpp29 SkPath::FillType fillType) const { in onDraw()
31 fPath.setFillType(fillType); in onDraw()
DSkSVGPoly.cpp36 SkPath::FillType fillType) const { in onDraw()
38 fPath.setFillType(fillType); in onDraw()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowVectorDrawable.java66 int fillType; field in ShadowVectorDrawable.Path
112 propertiesBB.putInt(FILL_TYPE_INDEX * 4, path.fillType); in nGetFullPathProperties()
121 int strokeLineJoin, int fillType) { in nUpdateFullPathProperties() argument
134 path.fillType = fillType; in nUpdateFullPathProperties()
/external/skia/fuzz/
DFuzzCommon.h30 uint8_t fillType; in fuzz_path() local
31 fuzz->nextRange(&fillType, 0, (uint8_t)SkPath::kInverseEvenOdd_FillType); in fuzz_path()
32 path->setFillType((SkPath::FillType)fillType); in fuzz_path()
/external/skqp/fuzz/
DFuzzCommon.h30 uint8_t fillType; in fuzz_path() local
31 fuzz->nextRange(&fillType, 0, (uint8_t)SkPath::kInverseEvenOdd_FillType); in fuzz_path()
32 path->setFillType((SkPath::FillType)fillType); in fuzz_path()
/external/skqp/src/gpu/ccpr/
DGrCCPathProcessor.cpp83 sk_sp<GrTextureProxy> atlas, SkPath::FillType fillType) in GrCCPathProcessor() argument
85 , fFillType(fillType) in GrCCPathProcessor()
226 if (SkPath::kWinding_FillType == proc.fillType()) { in onEmitCode()
229 SkASSERT(SkPath::kEvenOdd_FillType == proc.fillType()); in onEmitCode()
/external/skia/src/gpu/ccpr/
DGrCCPathProcessor.cpp83 sk_sp<GrTextureProxy> atlas, SkPath::FillType fillType) in GrCCPathProcessor() argument
85 , fFillType(fillType) in GrCCPathProcessor()
228 if (SkPath::kWinding_FillType == proc.fillType()) { in onEmitCode()
231 SkASSERT(SkPath::kEvenOdd_FillType == proc.fillType()); in onEmitCode()
DGrCCPathProcessor.h66 SkPath::FillType fillType() const { return fFillType; } in fillType() function
/external/skia/src/core/
DSkPath_serial.cpp165 FillType fillType = extract_filltype(packed); in readAsRRect() local
188 this->setFillType(fillType); in readAsRRect()
290 FillType fillType = extract_filltype(packed); in readFromMemory_LE3() local
313 fFillType = fillType; in readFromMemory_LE3()
/external/skqp/src/gpu/
DGrTessellator.cpp820 inline bool apply_fill_type(SkPath::FillType fillType, int winding) { in apply_fill_type() argument
821 switch (fillType) { in apply_fill_type()
836 inline bool apply_fill_type(SkPath::FillType fillType, Poly* poly) { in apply_fill_type() argument
837 return poly && apply_fill_type(fillType, poly->fWinding); in apply_fill_type()
1628 void remove_non_boundary_edges(const VertexList& mesh, SkPath::FillType fillType, in remove_non_boundary_edges() argument
1640 apply_fill_type(fillType, leftEnclosingEdge->fWinding); in remove_non_boundary_edges()
1644 bool filled = apply_fill_type(fillType, e->fWinding); in remove_non_boundary_edges()
2095 void extract_boundary(EdgeList* boundary, Edge* e, SkPath::FillType fillType, SkArenaAlloc& alloc) { in extract_boundary() argument
2097 bool down = apply_fill_type(fillType, e->fWinding); in extract_boundary()
2133 VertexList* outerVertices, SkPath::FillType fillType, in extract_boundaries() argument
[all …]
/external/skia/src/gpu/
DGrTessellator.cpp820 inline bool apply_fill_type(SkPath::FillType fillType, int winding) { in apply_fill_type() argument
821 switch (fillType) { in apply_fill_type()
836 inline bool apply_fill_type(SkPath::FillType fillType, Poly* poly) { in apply_fill_type() argument
837 return poly && apply_fill_type(fillType, poly->fWinding); in apply_fill_type()
1628 void remove_non_boundary_edges(const VertexList& mesh, SkPath::FillType fillType, in remove_non_boundary_edges() argument
1640 apply_fill_type(fillType, leftEnclosingEdge->fWinding); in remove_non_boundary_edges()
1644 bool filled = apply_fill_type(fillType, e->fWinding); in remove_non_boundary_edges()
2095 void extract_boundary(EdgeList* boundary, Edge* e, SkPath::FillType fillType, SkArenaAlloc& alloc) { in extract_boundary() argument
2097 bool down = apply_fill_type(fillType, e->fWinding); in extract_boundary()
2133 VertexList* outerVertices, SkPath::FillType fillType, in extract_boundaries() argument
[all …]

12