GSoC Weekly Update: Replacing Slideshow Metafile Rendering with Primitives

Shardul Vikram Singh shardulvikrm at gmail.com
Mon Jun 23 10:51:32 UTC 2025


Hi all,
Here’s a quick summary of what I worked on last week:

I was working on rendering sprites on the screen using the primitives
renderer.

After some debugging I figured out the right transformation to make the
shape render at the right location with the right size.
After this change there were a few issues with some animation effects
like
- the shape not staying at the end position after the animation ends
- rotation was not proper
- when the shape changed its size during animation it would not render at
the center and so on...
I have fixed most of these issues
Then, I compared rendering using both the metafile and the primitives
approach to make sure the shapes overlapped perfectly and were consistent
with the older rendering method.

There are still a few effects involving attribute changes which will
require special handling in the renderer.

Next step would be to fix the remaining stuff and move the sprites logic
out of the canvas

That's it for now.
Best,
Shardul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20250623/d034b385/attachment.htm>


More information about the LibreOffice mailing list