Jump to content
Sign in to follow this  
mvisser

Skia for Delphi: drawing Lottie animation in CustomDraw event of TVirtualStringTree (VCL)

Recommended Posts

Hey everyone 🙂

 

I've been looking into the Skia for Delphi library and it looks pretty nifty! There's one thing, however, I cannot figure out: I want to draw a Lottie animation in a CustomDraw-event of the TVirtualStringTree component. This CustomDraw-event, of course, works with a regular VCL TCanvas and I can't figure out how to achieve this.

 

Bit of context: the TVirtualStringTree will be populate with nodes which represent background tasks. Depending on the status of a background task, the node will display a static image when the task is idle or a Lottie animation for as long as the task is busy.

 

Any pointers are greatly appreciated!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×