Home
last modified time | relevance | path

Searched refs:renderRegion (Results 1 – 6 of 6) sorted by relevance

/lvgl-latest/src/libs/thorvg/
DtvgSwMath.cpp296 bool mathUpdateOutlineBBox(const SwOutline* outline, const SwBBox& clipRegion, SwBBox& renderRegion in mathUpdateOutlineBBox() argument
301 renderRegion.reset(); in mathUpdateOutlineBBox()
320 renderRegion.min.x = static_cast<SwCoord>(nearbyint(xMin / 64.0f)); in mathUpdateOutlineBBox()
321 renderRegion.max.x = static_cast<SwCoord>(nearbyint(xMax / 64.0f)); in mathUpdateOutlineBBox()
322 renderRegion.min.y = static_cast<SwCoord>(nearbyint(yMin / 64.0f)); in mathUpdateOutlineBBox()
323 renderRegion.max.y = static_cast<SwCoord>(nearbyint(yMax / 64.0f)); in mathUpdateOutlineBBox()
325 renderRegion.min.x = xMin >> 6; in mathUpdateOutlineBBox()
326 renderRegion.max.x = (xMax + 63) >> 6; in mathUpdateOutlineBBox()
327 renderRegion.min.y = yMin >> 6; in mathUpdateOutlineBBox()
328 renderRegion.max.y = (yMax + 63) >> 6; in mathUpdateOutlineBBox()
[all …]
DtvgSwImage.cpp78 …ge* image, const Matrix& transform, const SwBBox& clipRegion, SwBBox& renderRegion, SwMpool* mpool… in imagePrepare() argument
97 return mathUpdateOutlineBBox(image->outline, clipRegion, renderRegion, image->direct); in imagePrepare()
101 bool imageGenRle(SwImage* image, const SwBBox& renderRegion, bool antiAlias) in imageGenRle() argument
103 if ((image->rle = rleRender(image->rle, image->outline, renderRegion, antiAlias))) return true; in imageGenRle()
DtvgSwShape.cpp499 …* rshape, const Matrix& transform, const SwBBox& clipRegion, SwBBox& renderRegion, SwMpool* mpool… in shapePrepare() argument
502 …if (!mathUpdateOutlineBBox(shape->outline, clipRegion, renderRegion, shape->fastTrack)) return fal… in shapePrepare()
504 shape->bbox = renderRegion; in shapePrepare()
507 …if (renderRegion.max.x - renderRegion.min.x < 1 && renderRegion.max.y - renderRegion.min.y < 1) re… in shapePrepare()
510 if (renderRegion.min.x >= clipRegion.max.x || renderRegion.min.y >= clipRegion.max.y || in shapePrepare()
511renderRegion.max.x <= clipRegion.min.x || renderRegion.max.y <= clipRegion.min.y) return false; in shapePrepare()
592 …e* rshape, const Matrix& transform, const SwBBox& clipRegion, SwBBox& renderRegion, SwMpool* mpool… in shapeGenStrokeRle() argument
620 if (!mathUpdateOutlineBBox(strokeOutline, clipRegion, renderRegion, false)) { in shapeGenStrokeRle()
625 shape->strokeRle = rleRender(shape->strokeRle, strokeOutline, renderRegion, true); in shapeGenStrokeRle()
DtvgSwRenderer.cpp125 SwBBox renderRegion{}; in run() local
140 …if (!shapePrepare(&shape, rshape, transform, bbox, renderRegion, mpool, tid, clips.count > 0 ? tru… in run()
142 renderRegion.reset(); in run()
164 … if (!shapeGenStrokeRle(&shape, rshape, transform, bbox, renderRegion, mpool, tid)) goto err; in run()
189 bbox = renderRegion; //sync in run()
DtvgSwCommon.h500 bool mathUpdateOutlineBBox(const SwOutline* outline, const SwBBox& clipRegion, SwBBox& renderRegion
504 …e* rshape, const Matrix& transform, const SwBBox& clipRegion, SwBBox& renderRegion, SwMpool* mpool…
509 …e* rshape, const Matrix& transform, const SwBBox& clipRegion, SwBBox& renderRegion, SwMpool* mpool…
524 …ge* image, const Matrix& transform, const SwBBox& clipRegion, SwBBox& renderRegion, SwMpool* mpool…
525 bool imageGenRle(SwImage* image, const SwBBox& renderRegion, bool antiAlias);
548 SwRle* rleRender(SwRle* rle, const SwOutline* outline, const SwBBox& renderRegion, bool antiAlias);
DtvgSwRle.cpp855 SwRle* rleRender(SwRle* rle, const SwOutline* outline, const SwBBox& renderRegion, bool antiAlias) in rleRender() argument
874 rw.cellMin = renderRegion.min; in rleRender()
875 rw.cellMax = renderRegion.max; in rleRender()