Started work on the keyframe engine to tie everything together!

This commit is contained in:
Robert committed 2020-01-08 14:35:29 +01:00
1 parent 7a3b5dec3e
commit acdb90897e
28 files changed
+339 -107

No files matched your search

@@ -1,4 +1,5 @@
using Artemis.Storage.Entities.Profile;
using SkiaSharp;
namespace Artemis.Core.Models.Profile.LayerShapes
{
@@ -12,8 +13,9 @@ namespace Artemis.Core.Models.Profile.LayerShapes
{
}
public override void CalculateRenderProperties()
public override void CalculateRenderProperties(SKPoint shapePosition, SKSize shapeSize)
{
// TODO: Scale the path? Not sure if desirable
RenderPath = Layer.Path;
RenderRectangle = Layer.Path.GetRect();
}