mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
![]() Implemented support for clipping shapes and images using a render region bounding box at render time. This allows partial drawing of content, laying the groundwork for upcoming partial rendering functionality. for fast access of the drawing region from the linear rle data, we introduced the binary search for begin/end of rle instead of additional y index buffer. There is a reason for not using a y-index buffer: the shapes in the RLE are not single, continuous shapes but multiple shapes scattered across the space. which means that we need a double-associated data structure per shapes for y indexing, and this data preparation wouldn't be cheaper enough than realtime binary search especially animated data. This also helps for current clipping performance by utilizing the introduced fast-clipping region access. issue: https://github.com/thorvg/thorvg/issues/1747 |
||
---|---|---|
.. | ||
bindings | ||
common | ||
loaders | ||
renderer | ||
savers | ||
meson.build |