Layers: factor out repeated code and remove redundancies


Simplify by
- Moving transform parsing to QLayer, since all subclasses need it

- Remove "maskProperties" parsing: It is not supported, and the
  parsing does not match the lottie documentation anyway

- Remove "trim" and "shapes" parsing from image layer: Per Lottie
  documentation, image layers can not contain such properties.

- Move the main part of the render() code to QLayer, so subclasses can
  reuse it instead of repeating.

Change-Id: I386430dca9eb23cba0ca26bdb3e060057c295759
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit002790b3b0599e90ee52ac91bc86e359802852a9
parent43f49248e5f665dd3b3bbee423e126c85c295428
authorEirik Aavitsland <eirik.aavitsland@qt.io>
committerEirik Aavitsland <eirik.aavitsland@qt.io>
commit timeThu, 27 Mar 2025 15:58:35 +0100