Lines Matching refs:rshape
82 const RenderShape* rshape = nullptr; member
91 …return strokeWidth < 2.0f || rshape->stroke->dashCnt > 0 || rshape->stroke->strokeFirst || rshape-… in antialiasing()
96 if (!rshape->stroke) return 0.0f; in validStrokeWidth()
98 auto width = rshape->stroke->width; in validStrokeWidth()
101 … if (!rshape->stroke->fill && (MULTIPLY(rshape->stroke->color[3], opacity) == 0)) return 0.0f; in validStrokeWidth()
102 if (tvg::zero(rshape->stroke->trim.begin - rshape->stroke->trim.end)) return 0.0f; in validStrokeWidth()
135 rshape->fillColor(nullptr, nullptr, nullptr, &alpha); in run()
137 visibleFill = (alpha > 0 || rshape->fill); in run()
140 …if (!shapePrepare(&shape, rshape, transform, bbox, renderRegion, mpool, tid, clips.count > 0 ? tru… in run()
149 if (!shapeGenRle(&shape, rshape, antialiasing(strokeWidth))) goto err; in run()
151 if (auto fill = rshape->fill) { in run()
162 shapeResetStroke(&shape, rshape, transform); in run()
164 … if (!shapeGenStrokeRle(&shape, rshape, transform, bbox, renderRegion, mpool, tid)) goto err; in run()
165 if (auto fill = rshape->strokeFill()) { in run()
277 if (auto fill = task->rshape->fill) { in _renderFill()
280 task->rshape->fillColor(&r, &g, &b, &a); in _renderFill()
289 if (auto strokeFill = task->rshape->strokeFill()) { in _renderStroke()
292 if (task->rshape->strokeColor(&r, &g, &b, &a)) { in _renderStroke()
436 if (task->rshape->stroke && task->rshape->stroke->strokeFirst) { in renderShape()
742 RenderData SwRenderer::prepare(const RenderShape& rshape, RenderData data, const Matrix& transform,… in prepare() argument
749 task->rshape = &rshape; in prepare()